Can the if clause work with multiple (more than two) logical branches?
Yes! For that, you can use an additional keyword—elif. This way, you can have an unlimited number of logical branches, though it's recommended to use no more than four to five at a time.
What is the difference between for and while loops?
for loops are explicitly finite—they run for every element in a given iterable (although you can pass an infinite iterable if you need to). They are also meant to use that iterable.
while loops are explicitly infinite until certain criteria are met—so they are good if you don't know the number of iterations it would require to meet them (or want an explicitly infinite loop, which would be stopped from within the loop itself).
How can I loop through multiple (two or more) arrays of the same length? Or of different lengths?
The best...