[Solved]Desktop Deckstrdeck T Answer Ou Ngs W Ssion Surround Answer 22 Str String Answer Like C Fo Q37178358
python help 
索 -/Desktop/deckstr.deck T answer of ou ngs w ssion? Surround your answer with 22;STR;What is the string answer of (like “this”), “+”c” the following double quotes “a” “b d.”;”ab d.” + + expre c Functions load (filename, deck): This function will “load” cards from a file (in the format shown above) and put them in the provided deck of cards (an array of dictionaries). Things you’l need . You need to open, read in, and close the file Each line of the file is one string which represents a card. Use your knowledge of file VO and/or string manipulation to break each line into its component parts Take the component parts and make a card out of them .Add the card to the deck provided (this function returns None, you must manipulate the deck given) Hints/Tips . We promise the files we give you are (and will be) in the correct format for all tests. However, if you write your own, make sure you’re following the format carefully! . Remember to strip off the whitespace if you use readlines(O! . Go read the “allowed things” section for file IO and strings… make sure you know how each function mentioned works… there are some hints in what we’re allowing you to use 6 For right now the only type of card you need to worry about is STR cards tl:dr You’ll want to read this when you go to write the loadO function. Testing When you are done with this function you can try out loading a file from the “deck management” menu. See sample run below python provided our code name Welcome to the main menu! Below are your options: Get to the deck management menu. 1) Deck management. 2) Take a quiz. 3) Quit What would you like to do? 1 Welcome to the deck manager! Below are your options: 1) Create a new deck. 2) Open an existing deck. 3) Add cards to the current deck. 4) Save the current deck. 5) Display all cards in current deck. 6) Go back to the main menu Entering the deck to load here. What would you like to do? 2 Enter the name of the deck to open (without “.deck): deck str Loaded deck from “deck_str.deck”! Deck has 2 questions. You should see the number of questions loaded here. Hit enter to continue… Show transcribed image text 索 -/Desktop/deckstr.deck T answer of ou ngs w ssion? Surround your answer with 22;STR;What is the string answer of (like “this”), “+”c” the following double quotes “a” “b d.”;”ab d.” + + expre c
Functions load (filename, deck): This function will “load” cards from a file (in the format shown above) and put them in the provided deck of cards (an array of dictionaries). Things you’l need . You need to open, read in, and close the file Each line of the file is one string which represents a card. Use your knowledge of file VO and/or string manipulation to break each line into its component parts Take the component parts and make a card out of them .Add the card to the deck provided (this function returns None, you must manipulate the deck given) Hints/Tips . We promise the files we give you are (and will be) in the correct format for all tests. However, if you write your own, make sure you’re following the format carefully! . Remember to strip off the whitespace if you use readlines(O! . Go read the “allowed things” section for file IO and strings… make sure you know how each function mentioned works… there are some hints in what we’re allowing you to use 6 For right now the only type of card you need to worry about is STR cards tl:dr You’ll want to read this when you go to write the loadO function. Testing When you are done with this function you can try out loading a file from the “deck management” menu. See sample run below python provided our code name Welcome to the main menu! Below are your options: Get to the deck management menu. 1) Deck management. 2) Take a quiz. 3) Quit What would you like to do? 1 Welcome to the deck manager! Below are your options: 1) Create a new deck. 2) Open an existing deck. 3) Add cards to the current deck. 4) Save the current deck. 5) Display all cards in current deck. 6) Go back to the main menu Entering the deck to load here. What would you like to do? 2 Enter the name of the deck to open (without “.deck): deck str Loaded deck from “deck_str.deck”! Deck has 2 questions. You should see the number of questions loaded here. Hit enter to continue…
Expert Answer
Answer to 索 -/Desktop/deckstr.deck T answer of ou ngs w ssion? Surround your answer with 22;STR;What is the string answer of (li… . . .
OR

