I can not understand the difference between working:
a = int(input()) b = int(input()) i = 1 while i % a != 0 or i % b != 0: i += 1 print(i) and leaving in an infinite loop:
a = int(input()) b = int(input()) i = 2 while a % i != 0 or b % i != 0: i += 1 print(i) Logically, both cycles must lead to the same result and end with this ...
int(input())it would be better to write specific values ​​:) - gil9red