Day 1 Python Worksheet
1. Create Basic Variables
Create variables: name, age, city, salary, is_working and print them.
2. Change Values
Update the values of age and salary. Print updated values.
3. Check Data Types
Use type() to print datatypes of x=10, y=3.14, z="Hello", is_ok=True.
4. Valid & Invalid Variables
Write one valid and one invalid variable. Run and note the error.
5. Multiple Assignment
Assign a, b, c = 10, 20, 30 and print all values.
6. Swap Values
Swap x=5 and y=10 using x, y = y, x.
7. Create Your Profile Using Variables
Create variables for name, age, qualification, skills, experience_years and print a profile.
8. Simple Math Using Variables
Given num1=20, num2=6 print addition, subtraction, multiplication, division.
Bonus Task
Use input() to take user name and print greeting.