Here is my code, my issue is as the title above states, the input text does not appear and neither does the print below. I am new to Python so sorry for a simple mistake
class Horse:
colour = ''
height = ''
speed = 0
def __init__(self):
self.speed = input("Enter an integer: ")
if(self.speed != 0):
self.gallop = (3 * self.speed)
print(self.gallop)