diff options
author | Sudipto Mallick <> | 2024-01-02 03:38:10 +0000 |
---|---|---|
committer | Sudipto Mallick <> | 2024-01-02 03:38:10 +0000 |
commit | 7451edff7692e86c5238ff7bc6659825e242a84e (patch) | |
tree | 830fe25caf403869fe77df83bc44822ea6f5f11d /python/code/1/7.py | |
parent | a70e0a59817ce06a3dd23b3750ae16ee6660deaf (diff) | |
download | zadania-7451edff7692e86c5238ff7bc6659825e242a84e.tar.gz |
Quick backup, need to be rewritten
Diffstat (limited to 'python/code/1/7.py')
-rw-r--r-- | python/code/1/7.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/code/1/7.py b/python/code/1/7.py new file mode 100644 index 0000000..37ecfa3 --- /dev/null +++ b/python/code/1/7.py @@ -0,0 +1,5 @@ +a = int(input('Enter first number: ')) +b = int(input('Enter second number: ')) +q, r = a // b, a % b +q1d, r1d = q % 10, r % 10 +print(f'The one’s place digits of quotient and remainder are {"" if q1d == r1d else "not"} equal.') |