Confusing subject for a confusing problem (to a novice like me of course!)
Thx for the help in advance folks
I have (2) dictionaries:
prices = {
"banana": 4,
"apple": 2,
"orange": 1.5,
"pear": 3
}
stock = {
"banana": 6,
"apple": 0,
"orange": 32,
"pear": 15
}
Good Day all, currently writing a script that ask the user for three things;
1.Name
2.Number
3.Description
I've gotten it to do this hurah!
print "Type \"q\" or \"quit\" to quit"
while raw_input != "quit" or "q":
print ""
name = str(raw_input("Name: "))
number = str(raw_input("Num
On Thursday, April 18, 2013 12:06:59 AM UTC-4, Bradley Wright wrote:
> Good Day all, currently writing a script that ask the user for three things;
>
> 1.Name
>
> 2.Number
>
> 3.Description
>
> I've gotten it to do this hurah!
>
>
>
> print
On Thursday, April 18, 2013 12:06:59 AM UTC-4, Bradley Wright wrote:
> Good Day all, currently writing a script that ask the user for three things;
>
> 1.Name
>
> 2.Number
>
> 3.Description
>
> I've gotten it to do this hurah!
>
>
>
> print
Hey guys and gals doing this tutorial(codecademy) and needed a bit help from
the experienced.
I'm writing a function that takes a list(one they supply during runtime)
here's what my function is supposed to do
1. for each instance of the string "fizz" make a count
2. Finally return that count
he
On Sunday, May 5, 2013 9:21:33 PM UTC-4, alex23 wrote:
> On May 6, 10:59 am, Bradley Wright
>
> wrote:
>
> > def fizz_cout(x):
>
> > count = 0
>
> > for item in x:
>
> > while item == "fizz":
>
> >
On Sunday, May 5, 2013 9:24:44 PM UTC-4, Bradley Wright wrote:
> On Sunday, May 5, 2013 9:21:33 PM UTC-4, alex23 wrote:
>
> > On May 6, 10:59 am, Bradley Wright
>
> >
>
> > wrote:
>
> >
>
> > > def fizz_cout(x):
>
> >
Just to pimp my own wares:
http://github.com/bradleywright/yatcip/tree/master
A Python Twitter client.
--
http://mail.python.org/mailman/listinfo/python-list