- 1
What will happen if i do
print(" sam " ** 2)
3 Respuestas
+ 6
" sam " is a string but not a number. Therefore the result is an error.
I guess you need to print the word twice? fyi: (" sam " * 2 means " sam " ** 2) in Python.
What do you expect from the code?
+ 1
Depending on the language, the string " sam" could be type-casted into an integer.
0
thanx