Professional Documents
Culture Documents
Day 2 - AN - Module 2 - Collection
Day 2 - AN - Module 2 - Collection
1
Topics to be covered
Strings
Lists
Tuples
Dictionaries
Strings
Continue…
Continue…
Tutorials
Continue…
Continue…
Indexing and Slicing
Continue…
Continue…
Continue…
String Properties and Functions
• Concatenation or Merging
• Upper
• Lower
• Replace
• Searching/Find
• Split
• and so on.
Continue…
Concatenation or Merging
• The + operator lets you combine two or more strings in Python. This operator
is referred to as the Python string concatenation operator. The + operator
should appear between the two strings you want to merge.
Continue…
Continue…
Upper, lower, split, replace, find, and so on
Continue…
Continue…
Continue…
String Formatting for Printing
Continue…
Placeholder
Continue…
Continue…
Continue…
f-string method
Continue…
Loops and String