MCQ Single Best Answer Not Set

QIn IDLE shell, the output will be an error for one of the following statements. Which one?

ID: #3785 Python Basic MCQ 341 views
Question Info
#3785Q ID
Not SetDifficulty
Python Basic MCQTopic

Choose the Best Option

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

  • A P = 'python' * int('1')
  • B P = 'python' + 1
  • C P = 'python' + str(1)
  • D P = 'python' * 1
Correct Answer: Option B

Explanation

P = 'python' + 1

Share This Question

Challenge a friend or share with your study group.