Python Forum
Help w/ Max/Min User Input Code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help w/ Max/Min User Input Code
#1
I am trying to make a small program that prompts the user for inputs and that at the end will spit out the highest and lowest numbers entered, also to end when "done" is typed. I am not sure why my output keeps coming back as max and min = none and I can not get invalid input to print.

If you click the broken image link it should work.
Thank you.

[Image: xmTZN0z]
Reply
#2
Can not test code in a image.
Post code in code tags.
Reply
#3
If you post an image of your code, we can just look at it. If you post the text of your code, in Python tags, then we can copy and paste it into our editors, run it, play around with it, and figure out what's wrong. I'm not sure what's wrong with your code, so I want to run it, but I'm not retyping all of that.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Try,Except,Else to check that user has entered either y or n (Code block pasted) RandomNameGenerator 3 432 Jun-29-2021, 08:21 PM
Last Post: RandomNameGenerator
  Unable to access the user input value given to daterangepicker klllmmm 1 645 May-26-2021, 09:16 PM
Last Post: nilamo
  Problem restricting user input in my rock paper scissors game ashergreen 6 1,116 Mar-25-2021, 03:54 AM
Last Post: deanhystad
  LinkedList by User Input SantiagoPB 5 1,157 Mar-03-2021, 09:54 PM
Last Post: deanhystad
  User input/picking from a list AnunnakiKungFu 2 679 Feb-27-2021, 12:10 AM
Last Post: BashBedlam
  Generate Random operator, take user input and validate the user mapypy 4 860 Feb-03-2021, 08:41 PM
Last Post: nilamo
  Code giving same output no matter the input. Yort 2 646 Dec-20-2020, 05:59 AM
Last Post: buran
  Loop back through loop based on user input, keeping previous changes loop made? hbkpancakes 2 1,086 Nov-21-2020, 02:35 AM
Last Post: hbkpancakes
  Help with User Interface design code ai_masti 0 683 Nov-19-2020, 05:58 PM
Last Post: ai_masti
  Repeating lines of code by an input Josh_Albanos 3 896 Oct-15-2020, 01:04 AM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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