Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: User input only takes the last number
Post: RE: User input only takes the last number

I changed up my code to take away the extra while loop and include it in the first while statement when the user puts in a negative it works great. However, when they put in a string I receive a Value...
Austin11 Homework 16 8,050 Nov-24-2017, 11:41 PM
    Thread: User input only takes the last number
Post: RE: User input only takes the last number

Hello again, ok so I rewrote all my code in hopes that I could make it more readable to everyone. I am still battling my validation problem and now min and max won't work. Also, when the user puts in ...
Austin11 Homework 16 8,050 Nov-23-2017, 04:29 PM
    Thread: User input only takes the last number
Post: RE: User input only takes the last number

The only requirements that my teacher has given is that he wants everything in their own functions and with the min and max, we have to actually code it out and not use the shortcuts. I used them in m...
Austin11 Homework 16 8,050 Nov-22-2017, 09:36 PM
    Thread: User input only takes the last number
Post: RE: User input only takes the last number

Hello again. First off let me thank you for all your help. Now, I went back into my code and took a function out and moved some things around. I have it running again with correct validating errors. O...
Austin11 Homework 16 8,050 Nov-22-2017, 05:00 PM
    Thread: User input only takes the last number
Post: RE: User input only takes the last number

I made enhancements to my code and I have it validating every input correctly. My only thing now is that I when they input a string the code closes out nicely. That is great but is there a way to call...
Austin11 Homework 16 8,050 Nov-21-2017, 05:11 PM
    Thread: User input only takes the last number
Post: RE: User input only takes the last number

(Nov-21-2017, 03:28 AM)Prrz Wrote: (Nov-21-2017, 02:49 AM)Austin11 Wrote: Ok so I redid my code(with the help of my teacher) and now I am running into the problem with validating the user input. E...
Austin11 Homework 16 8,050 Nov-21-2017, 04:09 AM
    Thread: User input only takes the last number
Post: RE: User input only takes the last number

Ok so I redid my code(with the help of my teacher) and now I am running into the problem with validating the user input. Everything works great if they input a float number. yet if they input a string...
Austin11 Homework 16 8,050 Nov-21-2017, 02:49 AM
    Thread: User input only takes the last number
Post: RE: User input only takes the last number

Ok, I think I understand what you mean by the overwriting and I will try using an array. Could you elaborate more on me using the variable pints as two separate variables? Thank you!
Austin11 Homework 16 8,050 Nov-15-2017, 04:00 PM
    Thread: User input only takes the last number
Post: User input only takes the last number

Basically. You have 7 iterations you must enter for pints of blood, or blood donations. Then, it calculates the total, average, and the high and low amount of blood donations. This type of thing could...
Austin11 Homework 16 8,050 Nov-15-2017, 12:09 AM
    Thread: validating user input and loops
Post: RE: validating user input and loops

Thank you guys I figured out what was wrong with my code! This site and you guys are awesome. Thank you again!!
Austin11 Homework 7 6,317 Nov-03-2017, 12:24 AM
    Thread: validating user input and loops
Post: RE: validating user input and loops

After the user inputs how many bottles they returned for Monday, Tuesday etc. But if they were to input anything other than an integer for their return, it should display "Nice try, please enter a who...
Austin11 Homework 7 6,317 Nov-02-2017, 08:11 PM
    Thread: validating user input and loops
Post: RE: validating user input and loops

We haven't used the list method in class but briefly went over them. I began to attempt to use a list but I wanted to figure out why the program is running the error input code even when the user's in...
Austin11 Homework 7 6,317 Nov-02-2017, 04:51 PM
    Thread: validating user input and loops
Post: validating user input and loops

So I am new to programming and I need to create a program that will allow the user to input how many bottles they collected over seven days. ie: Monday = 1, Tuesday = 5.... and then calculate the tota...
Austin11 Homework 7 6,317 Nov-02-2017, 03:50 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020