x = float(input())
n = int(input())
If n<1 and n>3:
print("Invalid Input")
else:
print(round(x,n))
Python
Telegram - t.me/codingsolution_IT
n = int(input())
If n<1 and n>3:
print("Invalid Input")
else:
print(round(x,n))
Python
Telegram - t.me/codingsolution_IT