I have been teaching myself Python using a book. The chapter I am on currently,
covers branching, while loops and program planning. I am stuck on on of the
challenges at the end of this chapter, and I was hoping to get some help with
this. Here it is:
Write a program that flips a coin 100 times
I have been having some difficulty modifying this program to where a player has
limited number of guesses and if he fails to guess correctly within that number
he is asked to "Try Again" The original program code and the code that I
modified are given below. Thanks for your help.
Sincerely,
Raj
This email contains another modified code that I tried working with but still
doesn't do the job right, although performs closer to what i want. I have been
having some difficulty modifying this program to where a
player has limited number of guesses and if he fails to guess correctly
within that
I am looking to build a program that gets a message from the user and then
prints it backward. I 've been at it for hours now but I can't seem to figure
it out. I've been having trouble trying to index the message so I can print it
out backwards. I would've posted my code but I really haven't go
I had previously emailed y'all regarding inverting a message input by the user
of the program backwards. After much contemplation on your earlier replies I
came up with the code I have included in this email. The problem I am having
with this code is that the the first character of the message t
So I figured out the solution to the missing letter and I will post my code
here. But I still need help figuring out the other stuff (please see my
original message included in this email)! Thanks for putting up with me. Python
is slowly but surely coming to me! I am psyched since this is the fi
Hi, I need help with the code below. I am trying to pair the list in the hint
with the list of words. However, the list is not matching up correctly. Also
when the correct guess is entered the program just continues without
acknowledging the right answer. Please could y'all test this out and let
I would like to know how I could use the insert method in a List matrix eg. for
the matrix below
M=[[1,2,3], [3,2,1], [4,3,2]]
if wanted to insert the string 'pod' in list [0] before [1] in list [0] in M
using the built in method insert How would I go about doing this? I've tried
may List Comp
Thanks that works! But what if I wanted to modify 2 of the three lists in 2
different positions? Could you please let me know how I would go about doing
that?
Thanks!
-Raj
From: Ken Oliver
To: Raj Medhekar ; Python Tutor
Sent: Sunday, July 19, 2009 8:16:11
Does anyone know a good webcrawler that could be used in tandem with the
Beautiful soup parser to parse out specific elements from news sites like BBC
and CNN? Thanks!
-Raj
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/
10 matches
Mail list logo