Make a the bigger of the ints
This commit is contained in:
parent
c382ff8408
commit
a20904ef98
2 changed files with 6 additions and 0 deletions
|
@ -16,6 +16,9 @@ def main():
|
|||
a = int(input("a : "))
|
||||
b = int(input("b : "))
|
||||
|
||||
if b > a:
|
||||
a, b = b, a
|
||||
|
||||
# Initialisation
|
||||
r = ["r", a % b]
|
||||
a = ["a", a]
|
||||
|
|
|
@ -16,6 +16,9 @@ def main():
|
|||
a = int(input("a : "))
|
||||
b = int(input("b : "))
|
||||
|
||||
if b > a:
|
||||
a, b = b, a
|
||||
|
||||
# Initialisation
|
||||
r = ["r", a, b]
|
||||
u = ["u", 1, 0]
|
||||
|
|
Loading…
Reference in a new issue