In [2]:
print("hello world")


hello world
A variable holds a value. You can change the value of a variable at any point.

In [3]:
message = "Hello Python world!"
print(message)

message = "Python is my favorite language!"
print(message)


Hello Python world!
Python is my favorite language!