Question: In python please. thank you! 1. Starts with the following lines of code and continue the theme through the rest of this assignment cars =
1. Starts with the following lines of code and continue the theme through the rest of this assignment cars = ['audi', 'bmw, 'subaru, 'toyota'] for car in cars: if car == 'bmw: print(car.upper()) else: print(car.title() 2. Checks for equality and displays results (True or False). 3. Checks for inequality and displays results (True or False). 4. Checks whether a value is on the cars list and displays the results with a sentence. 5. Checks whether a value is not on the cars list and displays the results with a sentence. 6. Testes multiple conditions using an if-elif-else chain which includes multiple elif blocks. 7. Add a tuple and print it
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
