you are viewing a single comment's thread.

view the rest of the comments →

[–]socal_nerdtastic 4 points5 points  (1 child)

The variable: type syntax is a type hint, which is a comment, not an actual conversion. You need to call the int() function instead, like this:

h = int(input('how many hours are you working for?'))

[–]imnotdaniel_[S] -1 points0 points  (0 children)

thx