Cursussen
InloggenBegin met het leren van AI
Cursussen
InloggenBegin met het leren van AI
+ 1

string * string

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

python3
19th Feb 2018, 3:44 PM
Jordan
Jordan  - avatar
1 Antwoord
+ 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

Heb je vaak vragen zoals deze?

Leer efficiënter, gratis:

  • Inleiding tot Python

    7,1 miljoen leerlingen

  • Inleiding tot Java

    4,7 miljoen leerlingen

  • Inleiding tot C

    1,5 miljoen leerlingen

  • Inleiding tot HTML

    7,5 miljoen leerlingen

Bekijk alle cursussen
Populair vandaag
How to start learning Python programming?
4 Votes
Where is the bug?
3 Votes
im beginner
2 Votes
Is code generated by chat GPT plagiarism?
1 Votes
How to fix this i feel something off
1 Votes
Pointers cpp
2 Votes
Is it possible to convert .zip file to apk? If yes, how??
1 Votes
How to add two strings together in ts or css
1 Votes
I think the heart system is ridiculous, 5 hearts that refill after like 5 hours? That is really just crazy to me.
1 Votes
Why can’t I use double “ in python?
0 Votes