+ 1

What is the output of this code

× = "a" × * =3 Print (×)

2nd Nov 2020, 8:34 PM
Michael
Michael - avatar
4 Respuestas
+ 10
Michael , the code will not run, because there is at leat 1 error in each line: × = "a" # × is not the character x but the multiplication sign U215, this is not allowed as variable name × * =3 # same as above, rest should be *= 3 Print (×) # print() has to be in lower case letter, × is not the character x but the multiplication sign U215 Additionally: please do not post the same question multiple times. Thanks!
2nd Nov 2020, 9:05 PM
Lothar
Lothar - avatar
+ 4
That's 3 lines. Put them in Playground and try it out 😉
2nd Nov 2020, 8:42 PM
Coding Cat
Coding Cat - avatar
+ 3
Use playground to see the output..
2nd Nov 2020, 8:42 PM
Jayakrishna 🇮🇳
0
Try this: x = "a" x *= 3 print(x) You just added a space betweeen * and = Syntax errror
3rd Nov 2020, 12:06 AM
UNKNOWN
UNKNOWN - avatar