- 4
What want or means
Print(3×'7')
2 odpowiedzi
+ 1
what is your question / problem with this?
to be valid (not produce errors at execution), you must lowercase 'print', use '*' as multiplication operator, and convert your '7' string to number:
print(3*int(7))
anyway, if the string is not a whole number you must use float(), and if you hardcode the value, just remove the quotes:
print(3*7)
0
Thank for help