Last active
September 13, 2022 20:27
-
-
Save alex-ber/a381ad7167c9ff65bcad6d7ddfb8752a to your computer and use it in GitHub Desktop.
03_int3.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = 7 | |
b = 2 | |
c1 = a // b | |
r = a % b | |
print(f'integer division is {c1} of type {type(c1)}') | |
print(f'reminder is {r}') | |
c2 = a / b | |
print(f'division is {c2} of type {type(c2)}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment