Skip to content

Commit 67c2691

Browse files
author
TechMainul
committedOct 20, 2020
python 01.strings.py added only
1 parent 7d101cb commit 67c2691

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
 

‎chapter_02/01.strings.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# strings
2+
# collections of characters inside single quotes or double quotes
3+
print()
4+
first_name = "Akash"
5+
last_name = " Khan"
6+
7+
full_name = first_name + last_name
8+
9+
print(full_name)
10+
print(full_name + " 5")
11+
print(full_name + str(" 4"))
12+
print(full_name * 3)

0 commit comments

Comments
 (0)