Python Exercise Question: http://snag.gy/xi2vC.jpg Input: 4, 5, bad data, 7, done Desired Output should be: `Invalid input` `Maximum is 7` `Minimum is 4` What I did so far:http://snag.gy/D3aZ3.jpg I keep getting the output wrong. I also tried using max() and min() function but it doesn't work either. Please someone kindly help me. I've been doing this problem since yesterday.

At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get our expert's

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this and thousands of other questions.

A community for students.

Python Exercise Question: http://snag.gy/xi2vC.jpg Input: 4, 5, bad data, 7, done Desired Output should be: `Invalid input` `Maximum is 7` `Minimum is 4` What I did so far:http://snag.gy/D3aZ3.jpg I keep getting the output wrong. I also tried using max() and min() function but it doesn't work either. Please someone kindly help me. I've been doing this problem since yesterday.

Computer Science
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this and thousands of other questions

Your program is dealing mostly with numbers, so initializing your variable to None isn't useful. If they were initted to 0, they'd be usable immediately. Your else statement should be executed before the elif statements. Stop and think about the correct inputs that you want. Remember that raw_input() returns string data. Check your input BEFORE you try to do any work with it.
Oh I got it! Thank you so much :)
You're welcome.

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

Not the answer you are looking for?

Search for more explanations.

Ask your own question