homework confusion

2017-04-12 Thread Lauren Fugate
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

Re: Problems with scripts

2017-02-13 Thread Lauren Fugate
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

Re: Problems with scripts

2017-02-13 Thread Lauren Fugate
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