-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathex10.py
More file actions
24 lines (23 loc) · 713 Bytes
/
ex10.py
File metadata and controls
24 lines (23 loc) · 713 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
#Lem example basy escape \ dekeyn
#eme katek bekardet eger dw 2 quote y la naw string bw, lew kate python sery le tek achet helle rw edat dw 2quote le yek string,
#boye pewyste bo her kareky wa le pesh quote w nawewe / dabneyn ta rabkat w pey blle ke mn bke naw string.
tabby_cat = "\t I'm tabbed in"
persian_cat = "I'm split\non a line"
backslash_cat = "I'm \\ a \\ cat"
fat_cat = '''
I'll do a list:
\f boshay ba kedelet pesh xoy
* Cat food
* Fish\res
#\r eme wsheke 3aks akatawa.
* Catni\vp
#\v eme pyty dway xoy akata rzy xwarawa
* Grass
'''
print(tabby_cat)
print(persian_cat)
print(backslash_cat)
print(fat_cat)
print("I am 6'2\" tall.")
# escape double–quote inside string
print('I am 6\'2" tall.')