Hello! So I have a homework assignment that I can't seem to understand. The
problems are talking about classes and subclasses. My issue is that the
examples use objects as arguments and I don't know how to make that happen
without getting a name error. The question is:
Create a subclass of Open
So I tried both of these and they didn't change anything, the python shell
printed the same things...
--
https://mail.python.org/mailman/listinfo/python-list
So I changed my code to this:
print("How old are you: 17, 18, 19, or 20?")
answer = input("> ")
if int(answer) == 17 or 18 or 19 or 20:
print("Wow, you are old!")
else:
print("You just can't follow drections, can you? Choose either 17, 18, 19,
or 20.")
input("> ")
and now if I in