On Tue, 14 Feb 2017 03:30 am, lauren.sophia1...@gmail.com wrote:
> Hello! I have 2 python assignments that I just can't figure out. The first
> one returns the same thing no matter what I input and the second won't
> accept "done" to stop the program and return answers. Please help!
Hi Lauren,
B
On Mon, 13 Feb 2017 10:08:11 -0800, Lauren Fugate wrote:
> So I tried both of these and they didn't change anything, the python shell
> printed the same things...
The first assignment is overly complicated. The extra input functions are
useless. There is no loopback to check the input. Also,
On Mon, 13 Feb 2017 10:08:11 -0800, Lauren Fugate wrote:
> So I tried both of these and they didn't change anything, the python
> shell printed the same things...
No answers (answering you homework for you will not teach you anything
useful) but some hints to help you think about the problem
1)
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
On Mon, 13 Feb 2017 08:30:32 -0800, lauren.sophia1998 wrote:
> Hello! I have 2 python assignments that I just can't figure out. The first
> one returns the same thing no matter what I input and the second won't accept
> "done" to stop the program and return answers. Please help!
>
> 1)
> print
On Mon, Feb 13, 2017 at 11:30 AM, wrote:
> Hello! I have 2 python assignments that I just can't figure out. The first
> one returns the same thing no matter what I input and the second won't accept
> "done" to stop the program and return answers. Please help!
>
> 1)
> print("How old are you: 17