-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapostrophe.py
25 lines (16 loc) · 903 Bytes
/
apostrophe.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
# message_ = "one of python's strengths is its active community."
# print(message_)
# sample_name = "Eric mathias"
# print(f"Hi {sample_name}, would you like to learn some coding today?")
# print(sample_name.lower())
# print(sample_name.upper())
# print(sample_name.title())
# print('Albert Einstein once said, "Eventhough he was a loner in life, the fact that he was part of a community of people who value truth, beauty, and justice made him felt less lonely."')
famous_person = "\tAlbert \nEinstein\n"
# message_= f'{famous_person} once said, "Eventhough he was a loner in life, the fact that he was part of a community of people who value truth, beauty, and justice made him felt less lonely.'
# print(message_)
#famous_person = famous_person.lstrip()
#print(famous_person.rstrip())
#print(famous_person.strip())
sample_string = "python_notes.txt"
print(sample_string.removesuffix(".txt"))