Re: Help please, why doesn't it show the next input?

2013-09-13 Thread William Bryant
On Thursday, September 12, 2013 9:39:33 PM UTC+12, Oscar Benjamin wrote: On 12 September 2013 07:04, William Bryant gogobe...@gmail.com wrote: Thanks everyone for helping but I did listen to you :3 Sorry. This is my code, it works, I know it's not the best way to do it and it's the long

Re: Help please, why doesn't it show the next input?

2013-09-13 Thread John Gordon
In 364bcdb3-fdd5-4774-b7d2-040e2ccb4...@googlegroups.com William Bryant gogobe...@gmail.com writes: Hello, I've done this so far but why doesn't the mode function work? def mode(): global NumberOfXItems, Themode for i in List: NumberOfXItems.append(i)

Re: Help please, why doesn't it show the next input?

2013-09-13 Thread MRAB
On 13/09/2013 23:12, William Bryant wrote: On Thursday, September 12, 2013 9:39:33 PM UTC+12, Oscar Benjamin wrote: On 12 September 2013 07:04, William Bryant gogobe...@gmail.com wrote: Thanks everyone for helping but I did listen to you :3 Sorry. This is my code, it works, I know it's not

Re: Help please, why doesn't it show the next input?

2013-09-13 Thread William Bryant
Thanks for the contructive critisism - :D I'll try fix it up! -- https://mail.python.org/mailman/listinfo/python-list

Re: Help please, why doesn't it show the next input?

2013-09-12 Thread William Bryant
Thanks everyone for helping but I did listen to you :3 Sorry. This is my code, it works, I know it's not the best way to do it and it's the long way round but it is one of my first programs ever and I'm happy with it:

Re: Help please, why doesn't it show the next input?

2013-09-12 Thread Oscar Benjamin
On 12 September 2013 07:04, William Bryant gogobe...@gmail.com wrote: Thanks everyone for helping but I did listen to you :3 Sorry. This is my code, it works, I know it's not the best way to do it and it's the long way round but it is one of my first programs ever and I'm happy with it: Hi

Re: Help please, why doesn't it show the next input?

2013-09-11 Thread Jugurtha Hadjar
Hello, William On 09/11/2013 06:39 AM, William Bryant wrote: user_input1 = input(prompt) I take it you are using Python 3.x . If that's not the case, take a look at raw_input(). def NOS(): if user_input1 == String or user_input1 == string or user_input1 == STRING or user_input1 ==

Re: Help please, why doesn't it show the next input?

2013-09-11 Thread Dave Angel
On 11/9/2013 01:39, William Bryant wrote: On Wednesday, September 11, 2013 5:11:23 PM UTC+12, John Gordon wrote: In ef8de6db-5f35-4d07-8306-bcec47b1e...@googlegroups.com William Bryant gogobe...@gmail.com writes: Hey, I am very new to python, I am 13 years old. I want to be able to

Re: Help please, why doesn't it show the next input?

2013-09-11 Thread William Bryant
@Dave Angel What is .lower() ? -- https://mail.python.org/mailman/listinfo/python-list

Re: Help please, why doesn't it show the next input?

2013-09-11 Thread William Bryant
@Jugurtha Hadjar What does user_input.lower() mean/do? -- https://mail.python.org/mailman/listinfo/python-list

Re: Help please, why doesn't it show the next input?

2013-09-11 Thread John Gordon
In f7db6733-0f7a-4b18-bdcd-8d53e3644...@googlegroups.com William Bryant gogobe...@gmail.com writes: @Jugurtha Hadjar What does user_input.lower() mean/do? String objects have a number of built-in functions, lower() being one of them. It returns a copy of the string with all uppercase letters

Re: Help please, why doesn't it show the next input?

2013-09-11 Thread Dave Angel
On 11/9/2013 15:31, William Bryant wrote: @Dave Angel What is .lower() ? It is a method on the str class. You could teach yourself. At the interpreter prompt, type help(test response.lower) Or on the web: http://docs.python.org/2/library/stdtypes.html#str.lower There are lots of other

RE: Help please, why doesn't it show the next input?

2013-09-11 Thread Prasad, Ramit
William Bryant wrote: Sent: Wednesday, September 11, 2013 2:32 PM To: python-list@python.org Subject: Re: Help please, why doesn't it show the next input? @Dave Angel What is .lower() ? Thanks for bottom posting and trimming, but you should leave some content quoted for context

Re: Help please, why doesn't it show the next input?

2013-09-11 Thread Terry Reedy
On 9/11/2013 3:31 PM, William Bryant wrote: What is .lower() ? The Python docs have a pretty good index that includes 'lower() (str method)'. Learn to use it. If you know that .lower is a str method, help(str.lower) at interactive prompt prints a page. Learn to use help(ob) also. --

Re: Help please, why doesn't it show the next input?

2013-09-11 Thread Jugurtha Hadjar
On 09/11/2013 08:33 PM, William Bryant wrote: @Jugurtha Hadjar What does user_input.lower() mean/do? Hello, As did other people point out, it returns the lower case of a string. It's not user_input.lower(), it's any_string.lower() For example: Try this on your python prompt mystring =

Re: Help please, why doesn't it show the next input?

2013-09-11 Thread Jugurtha Hadjar
On 09/12/2013 02:08 AM, Jugurtha Hadjar wrote: Try this on your python prompt mystring = ThIs Is ThE wAy SoMe StUpId PeOpLe WrItE i DoN't KnOw WhY! mystring.lower() This should return: You shouldn't treat people of stupid, but I feel your pain, or let's be more realistic: this is the

Re: Help please, why doesn't it show the next input?

2013-09-10 Thread John Gordon
In ef8de6db-5f35-4d07-8306-bcec47b1e...@googlegroups.com William Bryant gogobe...@gmail.com writes: Hey, I am very new to python, I am 13 years old. I want to be able to make = a program the caculates the mean, meadian and mode. When i run the program,= an input field pops up and says 'Does

Re: Help please, why doesn't it show the next input?

2013-09-10 Thread William Bryant
On Wednesday, September 11, 2013 5:11:23 PM UTC+12, John Gordon wrote: In ef8de6db-5f35-4d07-8306-bcec47b1e...@googlegroups.com William Bryant gogobe...@gmail.com writes: Hey, I am very new to python, I am 13 years old. I want to be able to make = a program the caculates the mean,