50.8k views
3 votes
What kind of variable will be created by a line of code that reads num1 = input("Please enter your favorite

number.")?
O a string
O a float
O an integer
O a generic

User Sbodd
by
4.7k points

1 Answer

3 votes

Answer:

Since the input isn't specified, it would be string.

Step-by-step explanation:

When input isn't specified, it's a string by default.

hope this helped :D

User Janadari Ekanayaka
by
5.3k points