a=eval(input("Enter")) if type(a)==int: print("Here's your int along with double ", a, 2*a) if type(a)==float: a=int(a) print(2*a,a) print("Here's your double as an int, along with the int")
solo
a=eval(input("Enter")) if type(a)==int: print("Here's your int along with double ", a, 2*a) if type(a)==float: a=int(a) print(2*a,a) print("Here's your double as an int, along with the int")
Leave feedback in the comments!
Log in or sign up for Devpost to join the conversation.