0

What is the put of this code X="a" X*=3 print x

Can you help me with this question in python

1st Sep 2020, 8:59 PM
Mark Lome
Mark Lome - avatar
3 Antworten
+ 1
x= "a" x*=3 #means x = x*3 print(x) #output "aaa" #If x value a number, ex =5, then multiplication 5*3=15 output
1st Sep 2020, 9:03 PM
Jayakrishna 🇮🇳
+ 1
aaa
1st Sep 2020, 9:09 PM
𝓼𝓬𝓸𝓻𝓹
𝓼𝓬𝓸𝓻𝓹 - avatar
+ 1
NameError: 'x' is undefined
1st Sep 2020, 10:09 PM
Ipang