mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-19 10:48:58 +08:00
all valid python 3
This commit is contained in:
@ -5,7 +5,7 @@ What is the smallest positive number that is evenly divisible(divisible with no
|
||||
'''
|
||||
from __future__ import print_function
|
||||
|
||||
n = int(raw_input())
|
||||
n = int(input())
|
||||
i = 0
|
||||
while 1:
|
||||
i+=n*(n-1)
|
||||
@ -18,4 +18,4 @@ while 1:
|
||||
if(i==0):
|
||||
i=1
|
||||
print(i)
|
||||
break
|
||||
break
|
||||
|
Reference in New Issue
Block a user