Skip to content
Snippets Groups Projects
Commit 464a3bac authored by PRANESH  KUMAR  N's avatar PRANESH KUMAR N
Browse files

Upload New File

parent b11a5ee8
No related branches found
No related tags found
No related merge requests found
n = int(input("Enter the positive integer:"));
if (n%2==0):
n=n/2
print(n);
elif (n%5==0):
n=n/5
print(n);
else:
n=n-1
print(n);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment