212k views
5 votes
What kind of variable will be created by a line of code that reads num1 = int(input("Please enter your favorite number."))

a string
a float
an integer
a generic

User Chrissr
by
4.4k points

2 Answers

6 votes

Answer:

an integer

Step-by-step explanation:

hope that helps

User Whamsicore
by
4.8k points
3 votes

Answer:

an integer

Step-by-step explanation:

int is short for integer while programming :^)

User Hardik Vaghani
by
4.8k points