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")

Built With

Share this project:

Updates