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
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)
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
Thanks for the contructive critisism - :D I'll try fix it up!
--
https://mail.python.org/mailman/listinfo/python-list
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:
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
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 ==
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
@Dave Angel
What is .lower() ?
--
https://mail.python.org/mailman/listinfo/python-list
@Jugurtha Hadjar
What does user_input.lower() mean/do?
--
https://mail.python.org/mailman/listinfo/python-list
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
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
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
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.
--
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 =
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
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
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,
18 matches
Mail list logo