- 3
What is the answer? >>> x = " a" >>> x *= 3 Print(x)
26 Respuestas
+ 15
Sam, when you *= a string by a number, it wants you to repeat the exact string, that number of times
So
word="text"
word *=5
Outputs
texttexttexttexttext
Or "text" five times over
+ 6
I guess:
a a a
+ 3
a a a
+ 3
aaa
+ 2
" a a a" without quotes.
+ 2
The answer to your question is:
a a a
+ 1
Thanks to Kumar
+ 1
The ans is aaa
+ 1
aaa
completely correct answer
0
it's:a a a
0
aaa
0
Repeat it three times
0
aaa is the answer
0
answer is aaa
0
confused screaming
0
aaa
0
>>>X=10
>>>Y=3
>>>Print(x%y)
0
aaa
0
x = "a"
x *= 3
so a * 3
result is...
aaa
- 1
aaa