What kind of variable will be created by a line of code that reads num1 = int(input("Please enter your favorite number.")) ? Group of answer choices a string a float an integer a generic

Respuesta :

Answer:

An integer

Explanation:

Given

num1 = int(input("Please enter your favorite number."))

Required

The variable type

In Python, when an input is gotten through

var-name = data-type(input(Prompt))

The variable var-name assumes the datatype data-type

This implies that:

num1 = int(input("Please enter your favorite number."))

num1 will assume integer datatype