Thanks Chris / Mr. Angelico / whatever you prefer. I attempted to post a reply
to you before but it could not be viewed even after refreshing several times.
You've been helpful.
--
https://mail.python.org/mailman/listinfo/python-list
On Monday, January 19, 2015 at 4:21:58 PM UTC-8, Chris Angelico wrote:
> On Tue, Jan 20, 2015 at 11:12 AM, Luke Tomaneng wrote:
> > def compute_bill(food):
> > total = 0
> > for item in food:
> > if stock[item] > 0:
> > total += pri
Has anyone noticed these? There have been about three of them recently and they
don't seem to have anything to do with Python at all. Does anyone know if there
is a good reason they are here?
--
https://mail.python.org/mailman/listinfo/python-list
I have been having a bit of trouble with the things mentioned in the title. I
have written the following script for a Codecademy course:
stock = {
"banana": 6,
"apple": 0,
"orange": 32,
"pear": 15
}
prices = {
"banana": 4,
"apple": 2,
"orange": 1.5,
"pear": 3
}
Hello to all those in this forum,
My code seems to have a mind of its own. I have been writing a program to
reenact the "Twenny Wun" Vine video, and it seems to be activating functions
without me calling them. Here is the script:
def kid():
print "Cameraman: You stupid."
kid1 = raw_
On Sunday, December 14, 2014 9:27:14 AM UTC-8, Chris Warrick wrote:
> On Sun, Dec 14, 2014 at 6:16 PM, Luke Tomaneng wrote:
> > Here a very small program that I wrote for Codecademy. When I finished,
> > Codecademy acted like it was correct, but testing of this code revealed
On Sunday, December 14, 2014 9:24:54 AM UTC-8, Luke Tomaneng wrote:
> On Friday, December 12, 2014 4:40:01 AM UTC-8, Delgado Motto wrote:
> > IĀ travelĀ alot, if not just interested in things of pocketable portability,
> > and was curious if you can tell me if Python can be LEARNE
ed Codecademy at the end just in case you need to review some basic
syntax, but I'm not sure if you'll need it.
Luke Tomaneng
--
https://mail.python.org/mailman/listinfo/python-list
Here a very small program that I wrote for Codecademy. When I finished,
Codecademy acted like it was correct, but testing of this code revealed
otherwise.
--
print 'Welcome to the Pig Latin Translator!'
# Start coding here!
raw_input("Enter a word: