print()function- Data types:
str,int,float,bool - Variables
- Math operators:
+,-,*,/,//,%,** - Comparison operators:
==,!=,>,<,>=,<=
Create variables for a person's profile (name, age, height, is_student) and print them using f-strings.
Calculate a total price with tax, discount, and bill splitting using math operators.
Compare temperature values using all comparison operators and print the results.
Create variables of different types and print their type using type().
Perform all math operations (+, -, *, /, //, %, **) on two numbers and print results.
- Create your own GitHub repository (e.g.
python-125-homework) - Complete all tasks in
homework.py - Push your work to your GitHub repository
- Share the repository link with the instructor
python homework.py