Sorry I'm a beginner. But like if I had:
x = eval(input('Enter a value for x: '))
How do I make it so that if the person input a string instead of a number it would print "Enter a number"
instead of getting an error. Some type of if statement where:
if x == str():
print('Please enter a number')
else:
print('blah blah blah')