0
In practice!! Help mee :)))
print("\'hi\'" + "42 times") Why doesnt work?
4 Réponses
+ 4
Hi Winalif!
You're supposed to print hi 42 times in this practice.
"\" symbol is used for escaping characters whereas "*" does the job for this practice.
I can give you an easy example to understand what you have to do for it.
print("a"*5)
Output: 5 times a
aaaaa
+ 3
'''
The second escape character was causing the problem i think.
Was this the output you wanted?
'''
print("\'hi'" + " 42 times")
0
11.2 practice in pyhton beginer, Iam confused to make a program.
0
Help me