Re: Simplify Python

2010-04-07 Thread AlienBaby
On 6 Apr, 20:04, ja1lbr3ak wrote: > I'm trying to teach myself Python, and so have been simplifying a > calculator program that I wrote. The original was 77 lines for the > same functionality. Problem is, I've hit a wall. Can anyone help? > > loop = input("Enter 1 for the calculator, 2 for the Fib

Re: Simplify Python

2010-04-06 Thread Dave Angel
ja1lbr3ak wrote: I'm trying to teach myself Python, and so have been simplifying a calculator program that I wrote. The original was 77 lines for the same functionality. Problem is, I've hit a wall. Can anyone help? loop = input("Enter 1 for the calculator, 2 for the Fibonacci sequence, or somet

Re: Simplify Python

2010-04-06 Thread Joaquin Abian
On Apr 6, 11:04 pm, ja1lbr3ak wrote: > On Apr 6, 4:56 pm, Joaquin Abian wrote: > > > > > On Apr 6, 9:04 pm, ja1lbr3ak wrote: > > > > I'm trying to teach myself Python, and so have been simplifying a > > > calculator program that I wrote. The original was 77 lines for the > > > same functionality

Re: Simplify Python

2010-04-06 Thread ja1lbr3ak
On Apr 6, 4:56 pm, Joaquin Abian wrote: > On Apr 6, 9:04 pm, ja1lbr3ak wrote: > > > > > > > I'm trying to teach myself Python, and so have been simplifying a > > calculator program that I wrote. The original was 77 lines for the > > same functionality. Problem is, I've hit a wall. Can anyone help

Re: Simplify Python

2010-04-06 Thread Joaquin Abian
On Apr 6, 9:04 pm, ja1lbr3ak wrote: > I'm trying to teach myself Python, and so have been simplifying a > calculator program that I wrote. The original was 77 lines for the > same functionality. Problem is, I've hit a wall. Can anyone help? > > loop = input("Enter 1 for the calculator, 2 for the F

Re: Simplify Python

2010-04-06 Thread ja1lbr3ak
On Apr 6, 4:17 pm, Christopher Choi wrote: > On Tue, 06 Apr 2010 13:14:44 -0700, ja1lbr3ak wrote: > > On Apr 6, 4:06 pm, Christopher Choi wrote: > >> On Tue, 06 Apr 2010 12:04:20 -0700, ja1lbr3ak wrote: > >> > I'm trying to teach myself Python, and so have been simplifying a > >> > calculator pro

Re: Simplify Python

2010-04-06 Thread Christopher Choi
On Tue, 06 Apr 2010 13:14:44 -0700, ja1lbr3ak wrote: > On Apr 6, 4:06 pm, Christopher Choi wrote: >> On Tue, 06 Apr 2010 12:04:20 -0700, ja1lbr3ak wrote: >> > I'm trying to teach myself Python, and so have been simplifying a >> > calculator program that I wrote. The original was 77 lines for the

Re: Simplify Python

2010-04-06 Thread ja1lbr3ak
On Apr 6, 4:06 pm, Christopher Choi wrote: > On Tue, 06 Apr 2010 12:04:20 -0700, ja1lbr3ak wrote: > > I'm trying to teach myself Python, and so have been simplifying a > > calculator program that I wrote. The original was 77 lines for the same > > functionality. Problem is, I've hit a wall. Can an

Re: Simplify Python

2010-04-06 Thread Christopher Choi
On Tue, 06 Apr 2010 12:04:20 -0700, ja1lbr3ak wrote: > I'm trying to teach myself Python, and so have been simplifying a > calculator program that I wrote. The original was 77 lines for the same > functionality. Problem is, I've hit a wall. Can anyone help? > > loop = input("Enter 1 for the calcu

Simplify Python

2010-04-06 Thread ja1lbr3ak
I'm trying to teach myself Python, and so have been simplifying a calculator program that I wrote. The original was 77 lines for the same functionality. Problem is, I've hit a wall. Can anyone help? loop = input("Enter 1 for the calculator, 2 for the Fibonacci sequence, or something else to quit: