212k views
5 votes
PLEASE HURRY!!!!

Fill in the blank in order to convert the user’s response to a number without a decimal point.
>>> answer = input("How many sodas do you want? ")
How many sodas do you want? 5
>>> numberAnswer = (answer)

User Geekoder
by
4.9k points

2 Answers

7 votes

Answer:

>>> numberAnswer = int (answer)

Step-by-step explanation:

After you input this line of code, all you have to do is input the line">>>numberanswer" and you will get the number 5 back

User Shateek
by
4.5k points
6 votes

Answer:

int

Step-by-step explanation:

This pretty late from the day you asked but for anyone else that has to take this horrid online class it's int

User MahajanSagar
by
4.7k points