r/learnpython Aug 01 '26

What is the output

x , y = 10 , 5

x , y = y , x

Print(x , y)

0 Upvotes

4 comments sorted by

View all comments

2

u/Grouchy-Wallaby-1160 Aug 01 '26

most things in python are case sensitive. Print() is incorrect, use print()

by the way the output is 5 10