Python Exercises for Practice - Exercise 2
Solution of the Python problem!
Now, this is the Question-
from Python Basic: Exercises, Practice, Solution - w3resource |
Here's the Input which I did (CODE)-
So I coded this String inside the Triple Quotation Mark (''' ''') because that gives us exact value (Format of text) as we had given to print.
The Output-
Python code by Python Basic: Exercises, Practice, Solution - w3resource 👇
print("Twinkle, twinkle, little star, \n\tHow I wonder what you are! \n\t\tUp above the world so high, \n\t\tLike a diamond in the sky. \nTwinkle, twinkle, little star, \n\tHow I wonder what you are!")
Thanks;)
Comments
Post a Comment