Write a Python program to print the following string in a specific format
Twinkle, twinkle, little star,
How I wonder what you are!
Up above the world so high,
Like a diamond in the sky.
Twinkle, twinkle, little star,
How I wonder what you are
# A simple method to output formatted text is to use three single quotes
a = '''Twinkle, twinkle, little star,
How I wonder what you are! '''
b = '''Up above the world so high,
Like a diamond in the sky. '''
# separator used when printing between multiple values.
# sep=('\n') - new line
print(a,b,a,sep=('\n'))
Comments
Leave a comment