I just copied your code to my machine and it is running fine. Only in utils.py I found an error as the indentation is wrong (while should be indented). Could you please share a picture of your file system? Other than that I can not help further.
def get_input(prompt):
while True:
try:
return float(input(prompt))
except ValueError:
print("Invalid input. Please enter a number.")