x = 10#-assign the variable x the number 10 x = 20#-reassign the variable number x the number 20 print("The value of x is", x)
Standard input is empty
The value of x is 20
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!