Additional learning : https://brief-crawdad-47b.notion.site/BUS-101-Breakdown-127e92e0ac3280ff9b57faafca5bef7a?pvs=4
The syntax for slicing is: String Slicing
string[start:end:step]. #step meaning skip
text = "Clarissa"
slice1 = text[:4] # 'Clar'
slice2 = text[-3:] # 'ssa'
slice3 = text[::2] # 'Caisa' (every second character)
Assigning a value = Conditionals
and:
Both have to be True for the entire statement to be True.
or:
At least one has to be True.
IF Elif Else:
Checks a condition; if it's True, the corresponding block of code is
executed.