0
Why in python this code print ('17 * 87'*10) does not output 10 17*87 in the playground it outputs that 17*8717*...*87
For example if we write that print('1787'*10) it outputs 10 1787 but in the above code it doesn't include 17*87 and also output 8717
4 Antworten
+ 2
Khasan Anorov Actually it did.
It does not automatically print spaces between 87s and 17s, so 8717 were printed.
I tried to give a hint that:
'17 * 87' + '17 * 87'
equals:
'17 * 8717 * 87'
+ 1
Oooo yes 😄😄
You bet thanks a lot
0
What is '17 * 87' + '17 * 87' ?
0
If i am not mistaken as the rule
Print ('17*87'*10) outputs 10 17*87 but it didn't it