Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- num1 = int(input("Digite um número inteiro:"))
- num2 = int(input("Digite outro número inteiro:"))
- if num1 > num2:
- maior = num1
- else:
- maior = num2
- while True:
- if maior % num1 == 0 and maior % num2 == 0:
- print(maior)
- else:
- maior += 1
Advertisement
Add Comment
Please, Sign In to add comment