string * string | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

string * string

An error occur when print('13*'13')..

19th Feb 2018, 3:44 PM
Jordan
Jordan  - avatar
1 Answer
+ 5
I don' t think you can multiply a string with a string. You can do this: print(eval('13')*'13')
19th Feb 2018, 4:04 PM
Paul
Paul - avatar