One-String Student Card
Python
25 pts
One-String Student Card
Create a variable card that holds a three-line student card in one normal string (not triple quotes). Use \t between each label and value, and \n between lines.
Then create folder as a raw string holding C:\new\tests.
Print card, then folder. Expected output (the gaps are tabs):
Name: Abel City: Keren Age: 15 C:\new\tests
Checklist
- Create
cardin one normal string, with\tbetween each label and value and\nbetween lines. - Create
folderas a raw string holdingC:\new\tests. - Print
card, thenfolder.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
