I made a video tutorial for making a guess the number game in python. You can
check it out here: http://www.youtube.com/watch?v=0WSQb-7wMJQ
--
http://mail.python.org/mailman/listinfo/python-list
On Monday, March 18, 2013 6:57:30 PM UTC-7, NZach wrote:
> Hello everyone,
>
>
>
> i am using the MMK.py example from a SimPy tutorial, which can be found here:
> http://heather.cs.ucdavis.edu/~matloff/156/PLN/DESimIntro.pdf
>
>
>
> I have made very little changes to the code and i have uplo
Any other ideas?
--
http://mail.python.org/mailman/listinfo/python-list
I have a python program that accepts input and calculates the factorial of that
number, and i want to know if i can make it so commas get inserted in the
number.
For example: instead of 1000 it would say 1,000
--
http://mail.python.org/mailman/listinfo/python-list
On Tuesday, March 5, 2013 3:47:31 PM UTC-8, emile wrote:
> On 03/05/2013 03:33 PM, eli m wrote:
>
> > On Tuesday, March 5, 2013 3:31:13 PM UTC-8, eli m wrote:
>
> >> Hi guys, i have a program like this: (A lot of code is not included)
>
> >>
>
>
On Tuesday, March 5, 2013 3:31:13 PM UTC-8, eli m wrote:
> Hi guys, i have a program like this: (A lot of code is not included)
>
> run = 0
>
> while run == 0:
>
>raw_input("Type in a function:")
>
>if function == "Example":
Hi guys, i have a program like this: (A lot of code is not included)
run = 0
while run == 0:
raw_input("Type in a function:")
if function == "Example":
print ("Hello World!")
else:
print ("blah blah blah")
The problem is that whenever i type in example with a space after it th
So i have a variable called funds that i want to store the value of even after
the program is exited. My funds variable holds the total value of funds i have.
I add a certain number of funds each time i run the program by entering how
much i want to add. How would i store the funds variable to k
How would you find the slope, y intercept, and slope-intercept form equation
for a line in python?
--
http://mail.python.org/mailman/listinfo/python-list
Is there a way to display video (an avi) in tkinter without having to download
other modules? If not then are there any other options?
--
http://mail.python.org/mailman/listinfo/python-list
On Tuesday, February 26, 2013 4:22:10 PM UTC-8, Joshua Landau wrote:
> On 26 February 2013 22:47, eli m wrote:
>
>
>
>
>
> How hard would it be to change one file to another and would it be a
> small-medium sized program?
>
>
> How do you want to change
On Monday, February 25, 2013 10:15:24 PM UTC-8, Dave Angel wrote:
> On 02/25/2013 10:48 PM, eli m wrote:
>
> > On Friday, February 15, 2013 7:22:41 PM UTC-8, eli m wrote:
>
> >> Any small program ideas? I would prefer to stick to command line ones.
> >> Thanks.
On Friday, February 15, 2013 7:22:41 PM UTC-8, eli m wrote:
> Any small program ideas? I would prefer to stick to command line ones. Thanks.
Thank you guys for the suggestions. Any more?
--
http://mail.python.org/mailman/listinfo/python-list
How long does it take for the program to import something? I am asking this
because i have like 7 imports at the beginning of my program and i am thinking
thats the reason why it is slow to start up. Thanks in advance.
--
http://mail.python.org/mailman/listinfo/python-list
On Friday, February 15, 2013 7:52:57 PM UTC-8, Mitya Sirenef wrote:
> On 02/15/2013 10:22 PM, eli m wrote:
>
> > Any small program ideas? I would prefer to stick to command line ones.
> > Thanks.
>
>
>
> How about these two:
>
>
>
> - simulation
Any small program ideas? I would prefer to stick to command line ones. Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
On Thursday, February 14, 2013 4:09:37 PM UTC-8, Oscar Benjamin wrote:
> On 14 February 2013 23:34, eli m wrote:
>
> > I want to make a guess the number game (Which i have), but i want to make
> > the computer play the game against itself. How would i do this?
>
>
I want to make a guess the number game (Which i have), but i want to make the
computer play the game against itself. How would i do this?
--
http://mail.python.org/mailman/listinfo/python-list
How do i make something with python that will ask the user for input, and then
use the random.choice function to select a random choice from what the user
entered.
--
http://mail.python.org/mailman/listinfo/python-list
On Sunday, January 20, 2013 9:56:59 PM UTC-8, alex23 wrote:
> On Jan 21, 2:40 pm, eli m wrote:
>
> > an else statement is running when it shouldnt be. It is
>
> > on the last line. Whenever i am in the math or game
>
> > function, when i type in main, it goes b
On Sunday, January 20, 2013 8:52:12 PM UTC-8, Chris Angelico wrote:
> On Mon, Jan 21, 2013 at 3:40 PM, eli m wrote:
>
> > an else statement is running when it shouldnt be. It is on the last line.
> > Whenever i am in the math or game function, when i type in main, it goes
>
On Sunday, January 20, 2013 8:40:47 PM UTC-8, eli m wrote:
hint: Use the comments in the code to find out where my error is.
>
> Here is my code:
>
> #Cmd
>
> #Created By Eli M.
>
> #import modules
>
> import random
>
> import math
>
> gtn = 0
&
>
>
>
> Your else is lined up with while, not with if.
>
>
>
> -m
>
>
>
>
>
> --
>
> Lark's Tongue Guide to Python: http://lightbird.net/larks/
>
>
>
> When a friend succeeds, I die a little. Gore Vidal
Its lined up. It got messed up when i copied the code into the post.
--
ht
On Sunday, January 20, 2013 8:54:13 PM UTC-8, René Klačan wrote:
> You have to break while loop not to execute else branch
>
>
> Rene
>
>
>
Can you explain in more detail please.
--
http://mail.python.org/mailman/listinfo/python-list
an else statement is running when it shouldnt be. It is on the last line.
Whenever i am in the math or game function, when i type in main, it goes back
to the start of the program, but it also says not a valid function. I am
stumped!
Here is my code:
#Cmd
#Created By Eli M.
#import modules
25 matches
Mail list logo