-
Notifications
You must be signed in to change notification settings - Fork 5
/
ex1.py
45 lines (35 loc) · 1.18 KB
/
ex1.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# print statement and Intro
print("Hello World!")
print("Hello Again")
print("I Like typing this.")
print("This is fun.")
print("Yay! Printing.")
print('Yay! Printing.')
print("I'd much rather you 'not' .")
print("I'd much rather you 'not' .")
print('I "said" do not touch this.')
# ' ' inside " " are allowed !
print("'I rather say' do not touch this !")
# print ("Do u print this line")
print('I love u Bugs')
print('<3')
print('"Will you Punch me ?')
print('I love you so much !')
print('I want to"" spend rest of my life punching with you')
# print (I love u so much)
print()
# revision
print("Revision Starts here !")
print("Hello World")
print("Hello Again")
print('does it print inside a single quote \' a single quote again? ')
print('does this happens to a program anymore ? " ')
print("printing \" inside within a double quote has become so easy \" right? \"")
print("So printing ' ' inside \" \" is all right !")
# printing out a raw string like : here :
print('c:\sers\bbump\goal\nnewFolder')
# will cause a new line for new folder
"""So in order to check that,
we need to place a 'r' before the quotes"""
print(r'c:\sers\bump\goal\newFolder')
""""Pretty cool right ? Yeah ! I Know!"""