Skip to content

Commit 745d223

Browse files
Add files via upload
1 parent c4493ce commit 745d223

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

Diff for: Escape sequence characters.py

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
"""
2+
Escape sequence characters
3+
are used in strings
4+
for a special meaning
5+
"""
6+
print("today is \nWednesday")
7+
print("today is \tWednesday")
8+
print("today is \rWednesday")
9+
print("today is \bWednesday")
10+
print("today is \"Wednesday")
11+
print("today is \'Wednesday")
12+
print("these are some basic escaoe sequence character")

Diff for: Taking input from user.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
print("What is your name")
2+
name = input()
3+
print("Where are you from")
4+
place = input()
5+
print("Hi",name+" from",place+" have a good day.")

0 commit comments

Comments
 (0)