Necesito ayuda | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Necesito ayuda

No se resolver este ejercicio: print('I'm learning Python. It's easy.') He intentado muchísimas veces y no se que hacer.

3rd Mar 2022, 4:23 AM
Julio De Oro Sierra
2 Answers
+ 3
Answer: print("I'm learning Python. It's easy") or you can also do print('I\'m learning Python. It\'s easy') Explaination: Since you started your print method with ' (single quote) and then you added another ' (single quote) in the text so python thinks you closed the string but it cannot recorgnise what is the other text you have put there. I recommend you to learn escape sequence first (They are super dooper easy to learn)
3rd Mar 2022, 4:46 AM
Blank
Blank - avatar
0
print("""I'm my parents' son called "the boy" """)
3rd Mar 2022, 7:56 AM
Shadoff
Shadoff - avatar