reassign variable python

Solutions on MaxInterview for reassign variable python by the best coders in the world

showing results for - "reassign variable python"
Giovanni
08 Jan 2017
1>>> coffee_cup = 'coffee'
2>>> print ("My cup is full of", coffee_cup)
3My cup is full of coffee
4>>> coffee_cup = 'tea'
5>>> print ("My cup is full of", coffee_cup)
6My cup is full of tea
7>>>