0% found this document useful (0 votes)
9 views1 page

Intro To Python - HW - 2

Uploaded by

gogo.america2015
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

Intro To Python - HW - 2

Uploaded by

gogo.america2015
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

7/8/24

Python Beginners I
Tuesday& Thursday 6:30 to 7:30 PM
Hello Parents and Students,

Today in class, we learned about Arithmetic Operations in Python. We explored how to use code to
perform math operations such as:
 Addition (+)
 Subtraction (-)
 Multiplication (*)
 Division (/ and //)
 Remainder (%)
 Exponentiation (** or pow())
 Absolute value (abs())
We also learned how to convert numbers
between types using built-in functions like:
 float() → to get a decimal number
 int() → to get a whole number
 str() → to turn numbers into text
 round() → to round decimal numbers
We practiced writing expressions and understanding the difference between float and integer
division, and we discussed the rules for legal and illegal variable names.

📚 Homework:

1. Write 10 Python expressions using:

+, -, *, /, //, %, **, float(), int(), and str()

As always, you can send any questions to info@[Link] with "Mr. George” in
the subject line.

Regards,
Mr. George

You might also like