-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathfeb28.py
More file actions
35 lines (27 loc) · 891 Bytes
/
feb28.py
File metadata and controls
35 lines (27 loc) · 891 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
25
26
27
28
29
30
31
32
33
34
35
sentence = 'my Name is kabir, I am 15 years old.'
q1 = "Fix sentence such that when I call sentence I get 'My name is Kabir, I am 15 years old.'"
q2 = "Create two new variables name and age that hold the name and age of Kabir from the sentence such that when I call name I get 'Kabir' and when I call age I get '15'"
# Muhammad
"""Write your answer below here"""
# Kabir
"""Write your answer below here"""
# Usman
sentence = "my name is usman, i am 15 years old."
def decapitalize(sentance):
return sentance[:0].upper()+sentance[3:]
print(decapitalize("my name is usman, i am 15 years old."))
name = "Kabir"
Age = 15
name , Age = Age, name
print(Age)
name = "Kabir"
Age = 15
name , Age = Age, name
print(name)
"""Write your answer below here"""
# Kassandrah
"""Write your answer below here"""
# Amrah
"""Write your answer below here"""
# Jabir
"""Write your answer below here"""