On Mar 2, 2014, at 12:38 AM, Larry Hudson org...@yahoo.com wrote:
Another 'problem' is what you failed to mention in your post, but is apparent
from the instructions that you posted -- this assignment is NOT the complete
program, just the beginning of one. Your instructor obviously wants
On Mar 1, 2014, at 6:16 PM, Chris Angelico ros...@gmail.com wrote:
Another consideration: Susan's code is written for Python 3, but you
seemed to be using Python 2. You'll find that the code won't even run
on your version of Python.
(If you have the chance, ask if the course writer would
On Mar 2, 2014, at 6:40 PM, Scott W Dunning swdunn...@cox.net wrote:
This is what Im having trouble with now. Here are the directions I’m stuck on
and what I have so far, I’ll bold the part that’s dealing with the instructions
if anyone could help me figure out where I’m going wrong.
Scott W Dunning swdunn...@cox.net writes:
This is what Im having trouble with now.
Once again, Scott, this discussion should be happening at the Tutor
forum. Please don't continue the fragmentation of this discussion; keep
the discusson over at the Tutor forum.
--
\ “I like to fill my
On Mar 2, 2014, at 8:52 PM, Ben Finney ben+pyt...@benfinney.id.au wrote:
Once again, Scott, this discussion should be happening at the Tutor
forum. Please don't continue the fragmentation of this discussion; keep
the discusson over at the Tutor forum.
Sorry, I was just replying to replies to
Scott W Dunning swdunn...@cox.net Wrote in message:
Here are the directions Iâm stuck on and what I have so far, Iâll bold the
part
That assumes that people can see which parts of your message are
bold. Rather a poor assumption in a text list like these two
python forums. You should be
Try this
def guess1(upLimit = 100):
import random
num = random.randint(1,upLimit)
count = 0
gotIt = False
while (not gotIt):
print('Guess a number between 1 and', upLimit, ':')
guess= int(input())
count += 1
if guess == num:
On Mar 1, 2014, at 11:03 AM, Susan Aldridge susanaldridge...@gmail.com wrote:
Try this
def guess1(upLimit = 100):
import random
num = random.randint(1,upLimit)
count = 0
gotIt = False
while (not gotIt):
print('Guess a number between 1 and', upLimit, ':')
On Sun, Mar 2, 2014 at 12:11 PM, Scott W Dunning swdunn...@cox.net wrote:
print('You got it in ', count, 'guesses.')
Thanks Susan! The only problem is he wants us to do it without loops because
we haven’t learned them yet. I need to use the variables and function names
that he’s given
On Mar 1, 2014, at 9:35 AM, Dennis Lee Bieber wlfr...@ix.netcom.com wrote:
Without loops, one part of your assignment is going to be tedious,
unless the intent is to only allow for one guess per run.
No, 10 guesses per game. Yes very tedious and repetative.
from random import
On 03/01/2014 05:11 PM, Scott W Dunning wrote:
On Mar 1, 2014, at 11:03 AM, Susan Aldridge susanaldridge...@gmail.com wrote:
Try this
def guess1(upLimit = 100):
import random
num = random.randint(1,upLimit)
count = 0
gotIt = False
while (not gotIt):
print('Guess a
Hello, i am working on a project for learning python and I’m stuck. The
directions are confusing me. Please keep in mind I’m very ne to this. The
directions are long so I’ll just add the paragraphs I’m confused about and my
code if someone could help me out I’d greatly appreciate it! Also,
Scott W Dunning swdunn...@cox.net writes:
Hello, i am working on a project for learning python and I’m stuck.
The directions are confusing me. Please keep in mind I’m very ne to
this.
Scott, please default to asking these “covered in a beginner Python
course” questions at the Python tutor
13 matches
Mail list logo