string is a sequence of characters (letters, symbols, spaces, tc.) that are written within a quotes such as: "Hello" or 'world'
concatenation: combines multiple strings using +
repetition: repeats strings using *
slicing: extracts part of string using [start::end]
string methods are built in function that can change or return info, which includes:
• .upper() = convers to upper case
• .lower() = converts to lower case
• .strip() = removes extra space at the beginning or end
• .replace(old, new) = replaces part of the string
• .len() = gets length of the string
-
Notifications
You must be signed in to change notification settings - Fork 0
X-L117/string-operations
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published