Single Choice Not Set

QWhat will be the data type of y after the following statements if input entered is 50?
x = input('Enter a number: ')
y = int(x)

ID: #3427 Python Data Types MCQ 632 views
Question Info
#3427Q ID
Not SetDifficulty
Python Data Types MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Float
  • B String
  • C List
  • D Integer
Correct Answer

Explanation

Integer

Share This Question

Challenge a friend or share with your study group.