So int() is a function that takes a string and returns the integer (whole number) represented by the string . So you will use int(input()) when you want to get an input that can only be a number.
So int() is a function that takes a string and returns the integer (whole number) represented by the string . So you will use int(input()) when you want to get an input that can only be a number.