MCQ Single Best Answer Not Set

QWhat will be the output after the following statements?
x = 'Python %c or Python %c' %('2', '3')
print(x)

ID: #3607 String Formatting in Python 223 views
Question Info
#3607Q ID
Not SetDifficulty
String Formatting in PythonTopic

Choose the Best Option

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

  • A Python 3 or Python 2
  • B Python 2 or Python 3
  • C Python 2 or Python 2
  • D Python 23
Correct Answer: Option B

Explanation

Python 2 or Python 3

Share This Question

Challenge a friend or share with your study group.