The Python Intermediate course assume that attendees have mastered the content covered in the foundation course. Here are a few questions. You should only join the intermediate course if you feel comfortable that you can answer these questions, or at least have a good understanding of them. You may be asked to answer these at the start of the course.
- Print all even numbers from 1 to 20.
- Create variables of type int, float, str, and bool.
- Given a number, print “Positive”, “Negative”, or “Zero”.
- From a list of numbers, return the largest number.
- Access a value from a dictionary by key.
- Create a string and manipulate it e.g. lowercase or uppercase it.
- Create a list, access elements in a list and manipulate them e.g. append and delete elements.
- Create a f-string and use it to print out a variable.