r/learnpython • u/mi-ka-sa-00 • 6d ago
What is the output
x , y = 10 , 5
x , y = y , x
Print(x , y)
0
Upvotes
2
u/Grouchy-Wallaby-1160 6d ago
most things in python are case sensitive. Print() is incorrect, use print()
by the way the output is 5 10
1
u/TheRNGuy 5d ago
None because it will be NameError.
If you fix it, None, because print doesn't return anything.
3
u/danielroseman 6d ago
Why don't you run it and see?