Python: String Formatting with %, Part 2


I'm currently on String Formatting with %, Part 2, and I've correctly completed the assignment. My question is how do I practice this type of assignment with the Python 3.6.1 shell? It keeps saying telling me multiple statements found while compiling a single statement when I type something similar to the exercise in the Python 3.6.1 shell. If someone could answer my question, that would be great. Thank you.

Replace this line with your code.



python3 requires parentheses for print because its now a function call

for the rest, we would need to see the exact code + error of your python shell to help you further


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.