Skip to content

Commit b140bfc

Browse files
committed
Added file
1 parent aadb1c2 commit b140bfc

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Collaborative/hello.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
print ('Hello, World!')
2+
print('Bob'*3)
3+
print('hello'.upper())
4+
print('GOODBYE'.lower())
5+
print("the lord of the rings".title())
6+
7+
#add variables
8+
age=25
9+
hobby='baking'
10+
description="My age is {} and I like {}".format(age, hobby)
11+
print(description)
12+
13+
"""This is my first
14+
piece of code"""
15+
16+
#variables
17+
name='Jie Xin'
18+
favourite_food='pizza'
19+
description="My name is {} and my favourite food is {}".format(name, favourite_food)
20+
print(description)
21+

0 commit comments

Comments
 (0)