MCQ Practice Single Best Answer Topic: String Formatting in Python

Q What will be the output after the following statements?
x = 'Python %d Version' %(3)
print(x)

Question ID
#3606
Subchapter
String Formatting in Python
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A Python 3
  • B Python 3 Version
  • C 3 Version
  • D Python Version 3
Correct Answer: B

Explanation

Python 3 Version

Share This Question

Share this MCQ with your friends or study group.