What is the output of this code | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

What is the output of this code

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

2nd Nov 2020, 8:34 PM
Michael
Michael - avatar
4 Respostas
+ 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