-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTwinkle_string.py
More file actions
24 lines (20 loc) · 916 Bytes
/
Copy pathTwinkle_string.py
File metadata and controls
24 lines (20 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#Twinkle String
# A simple program to.....
#
# Max David Metelus
# Date:
'''
# Write a Python program to print the following string in a specific format (see the output). Go to the editor
# Sample String : "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"
# Output :
# 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
'''
#This isthe answeer
def main()
print("Twinkle, twinkle, little star, \n\t How I wonder what yyou are! \n\t\t Up above the world so high, \n\t\t Like a diamond in the sky. \nTwinkle Twinkle little star, \n\tHow I wonder what you are!"
main()