+ 1
Hello! Somebody can help me. please!
Fix the given Python code to generate the expected output. print('I'm learning Python!') print("A number enclosed in double quotes: "42"")
4 Respuestas
+ 2
Hint:
Check the lesson about escape character \ again! (lesson 8.1, Python Core)
+ 1
Yes i didn't noticed that. It was my first time to use this app. Anyway thanks
+ 1
print(" I'm... ")
print('... "42" ')
+ 1
Using the same quotes every where will confuse python so use single if your are using double in your sentence and vice versa, and what if you want use both then escape character is what helps you.