Re: Why does it have red squiggly lines under it if it works perfectly fine and no errors happen when I run it?

2013-09-21 Thread William Bryant
On Saturday, September 21, 2013 1:39:41 AM UTC+12, Duncan Booth wrote: William Bryant gogobe...@gmail.com wrote: Thanks a lot! I have one more question, is there any way I can make my program work on android tablets and ipads? Because I'd like to use it in school because we

Re: Why does it have red squiggly lines under it if it works perfectly fine and no errors happen when I run it?

2013-09-21 Thread William Bryant
On Saturday, September 21, 2013 1:39:41 AM UTC+12, Duncan Booth wrote: William Bryant gogobe...@gmail.com wrote: Thanks a lot! I have one more question, is there any way I can make my program work on android tablets and ipads? Because I'd like to use it in school because we

Re: Why does it have red squiggly lines under it if it works perfectly fine and no errors happen when I run it?

2013-09-20 Thread William Bryant
On Friday, September 20, 2013 11:09:03 AM UTC+12, Ian wrote: On Thu, Sep 19, 2013 at 1:22 PM, William Bryant gogobe...@gmail.com wrote: It was the other functions above it. Thanks. but I tried to do the while loop - I don't think I did it right, I am novice in python and I am 13 years

Why does it have red squiggly lines under it if it works perfectly fine and no errors happen when I run it?

2013-09-19 Thread William Bryant
the word 'def' has squiggily lines but the program works fine. It says: Syntax Error: expected an indented block. - why? def restart(): print( Cacluation DONE! ) restart = input(\nEnter yes if you want to make a new list and no if

Re: How do I calculate a mean with python?

2013-09-17 Thread William Bryant
of a list of numbers *# #* and the mode of a list of strings because that is what we are *# #* learning in math atm in school :P *# #**# #* Author: William Bryant

Re: How do I calculate a mean with python?

2013-09-17 Thread William Bryant
*# #**# #* Author: William Bryant*# #**# #* Created: 11/09/2013

Re: How do I calculate a mean with python?

2013-09-17 Thread William Bryant
Sorry guys, I didn't read anything u said. Because I just figured it out on my own :) I'll read it now. But u can check out my program I have done so far (It works but I think it needs some tidying up.) :) Thanks! -- https://mail.python.org/mailman/listinfo/python-list

Re: How do I calculate a mean with python?

2013-09-17 Thread William Bryant
Thanks to all and @Joel Goldstick, I am learning python through youtube. They explained Global and Local variables to me. :) Thanks for that critisism, it really helps. I am 13 years old and I am looking forward to studing programming in University! :DD --

How do I calculate a mean with python?

2013-09-16 Thread William Bryant
Hey I am new to python so go easy, but I wanted to know how to make a program that calculates the maen. List = [15, 6, 6, 7, 8, 9, 40] def mean(): global themean, thesum for i in List: thecount = List.count(i) thesum = sum(List) themean = thesum / thecount Why

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 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
because that is what we are *# #* learning in math atm in school :P *# #**# #* Author: William Bryant

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

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

2013-09-10 Thread William Bryant
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 your list contain, a number or a string?' like I want it to, but when I type in something that is not one

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