Number input code (Python)

#Testing TypeError message. anything = input("Enter a number:") something = int(anything)**2 #convert input to integer print(anything,"to the power of 2 is",something)

Comments

Popular posts from this blog

Operators in C language

3D printers