Skip to content

Commit

Permalink
removing the function call
Browse files Browse the repository at this point in the history
  • Loading branch information
Emanfalouji committed Jan 10, 2025
1 parent de8e75a commit c36b659
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions solutions/check_number_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,3 @@ def check_number_type(user_input: str) -> str:
return "The number is even"
else:
return "The number is odd"


if __name__ == "__main__":
user_number = input("Hi! Please enter a number: ")
try:
print(check_number_type(user_number))
except ValueError as e:
print(e)

0 comments on commit c36b659

Please sign in to comment.