Student Solution

-->

"Education is the most powerful weapon which you can use to change the world”
– Nelson Mandela

1 University

1 Course

2 Subjects

Assignment-02

Assignment-02

Q Assignment 1 ? Submit Task1.py, Task2.py, Task3.py and Task4.py from the lab assignments. ? When you define any variables, the name of each variable MUST starts with your initial. ? For example, assuming that your initial is AB, use “AB_age” or “ABage” if you need to define a variable for “age.” ? This naming requirement will be applied throughout this course.

View Related Questions

Solution Preview

# -*- coding: utf-8 -*- """ Created on Fri Feb 12 16:52:12 2021 @author: khali """ pQuality = tuple(("low","intermediate","high","excellent")) if "poor" in pQuality: print("Yes") else: print("No")