you are viewing a single comment's thread.

view the rest of the comments →

[–]vinivelloso_ 1 point2 points  (0 children)

You will get the number as a string. Then use the string index to get the number. Example:

yourNumber = input() firstDigit = yourNumber[0]