20. Python Program to Reassign a Variable
MediumHow they work
Overview
Understand how variable reassignment works.
Problem Statement
Demonstrate changing a variable's value and type.
Constraints:
- Create
x = 5and print it - Reassign
x = "hello"and print it again - All in one execution
Input
- No input required
Output
5 hello