Single Choice Not Set

QWhat will be the output after the following statements?
x = 'Python 2'
y = 'Python 3'
z = 'We can convert %s program to %s program'
print(z % (x, y))

ID: #3898 Python Basic MCQ 240 views
Question Info
#3898Q ID
Not SetDifficulty
Python Basic MCQTopic

Choose the Best Option

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

  • A We can not convert Python 2 program to Python 3 program
  • B We can not convert Python 3 program to Python 2 program
  • C We can convert Python 2 program to Python 3 program
  • D We can convert Python 3 program to Python 2 program
Correct Answer

Explanation

We can convert Python 2 program to Python 3 program

Share This Question

Challenge a friend or share with your study group.