0
In-Place Operators
What is the result of this code? >>> x = "a" >>> x *= 3 print(x)
5 Answers
+ 8
since x is assigned a
x *= 3 means x = x*3
= aaa.
+ 6
Nilesh✰ x*=3 means x = x*3
Or x = 'a'*3 or aaa
+ 6
SR (dm ❌) Oh sorry didn't see that 😅
+ 2
put it in the playground and see
+ 1
Console will show you:
aaa
Hot today
I have made a calculator in which my % (Percentage) not work correctly for 100%50 or 100%20.
0 Votes
Тренажер кода
0 Votes
Python palindrome challenge.
1 Votes
Java
0 Votes