[Solved] Part 1 Loading Str Questions File Part Learning Load Decks Save File Save Files Already Pr Q37171261
Part 1: Loading STR Questions from a File In this part we willbe learning to load decks from a save file. Save files have alreadybeen provided to you with this document (they are the files withthe .deck extension) and in this section we will specifically beworking with deck_str.deck. You can open these files with any texteditor to see what they look like, you may need to right click thefile and select “open with” in some operating systems. Below isdeck_str.deck: 1 | 1;STR;What is the answer of the followingexpression? Surround strings with double quotes (like “this”).”3″+”3″;”33″ 2 | 2;STR;What is the string answer of the followingexpression? Surround your answer with double quotes (like “this”).”a” + “b “+”c” + ” d.”;”ab c d.” Note that there are actually onlytwo lines in the file (shown in not-bold and bold above andnumbered on the side), but that due to the space in this documentthey are wrapping around. The actual file does not do this if youopen it in a program that doesn’t do line-wrapping (e.g. if youopen it with your code editor). What are you seeing? Each linerepresents ONE card, in its entirety and the different “parts” ofthe card are separated with semicolons (;). The following explainsthe parts: 1. the card’s id – the number before the first semicolon(you may assume this is an integer) 2. the card’s type – always’STR’ for now, you may assume this is always valid 3. the question– you may assume that the question does not contain any semicolons4. the answer – you may also assume that this does not contain anysemicolons either python
Expert Answer
Answer to Part 1: Loading STR Questions from a File In this part we will be learning to load decks from a save file. Save files ha… . . .
OR

