Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 1
What is the output of this code
Ć = "a" Ć * =3 Print (Ć)
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!
+ 4
That's 3 lines.
Put them in Playground and try it out š
+ 3
Use playground to see the output..
0
Try this:
x = "a"
x *= 3
print(x)
You just added a space betweeen * and =
Syntax errror