Question-78: When you run below code snippet then what would be printed?
print ("Welcome !" *5 )
- Welcome! *5
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering Python Certification Material
Answer: E
Exp:
Repeating same String
- If you want to print same string n number of times, you have to use “*” and number.
-
You can access to full explanation to question and answer from this page.