Given a positive integer, write a program to print the digit in its one's place
# the input() used to read the values
x=input()
#float(x) type casts the string to float values
# format() considers 3 decimal values
print("{:.3f}".format(float(x)))
Comments
Leave a comment