On 11/29/2013 04:31 PM, farhan...@gmail.com wrote:
It's for a school assignment. Basically, I need to roll 5 dies with 6 sides each. So basically, 6 random
numbers. That part is easy. Then I need to add it up. Ok, done that. However, I also need to say something
along the lines of "your total n
On Sat, 30 Nov 2013 01:08:28 +
Mark Lawrence wrote:
> On 30/11/2013 01:06, Tim Chase wrote:
> > On 2013-11-30 00:59, Mark Lawrence wrote:
> >> Wrong again, or at least overengineered.
> >>
> >> print "The total rolled was:", number, "
> > ^
> >>
> >
On 30/11/2013 01:06, Tim Chase wrote:
On 2013-11-30 00:59, Mark Lawrence wrote:
Wrong again, or at least overengineered.
print "The total rolled was:", number, "
^
You don't even need the spaces as print kindly does it for you :)
but you could a
On 2013-11-30 00:59, Mark Lawrence wrote:
> Wrong again, or at least overengineered.
>
> print "The total rolled was:", number, "
^
>
> You don't even need the spaces as print kindly does it for you :)
but you could at least include the missing quotati
On 30/11/2013 00:49, Johannes Findeisen wrote:
On Sat, 30 Nov 2013 01:38:36 +0100
Johannes Findeisen wrote:
On Fri, 29 Nov 2013 16:31:21 -0800 (PST)
farhan...@gmail.com wrote:
print "The total rolled was: "number" "
The above line is wrong. You did it right below:
print "Thanks for playin
On 2013-11-29 16:31, farhan...@gmail.com wrote:
> It's for a school assignment.
Thanks for the honesty--you'll get far more helpful & useful replies
because of that. :-)
> put them into a variable I called "number" but it seems to glitch
> out that variable is in any command other than "print num
On Sat, 30 Nov 2013 01:38:36 +0100
Johannes Findeisen wrote:
> On Fri, 29 Nov 2013 16:31:21 -0800 (PST)
> farhan...@gmail.com wrote:
>
> > print "The total rolled was: "number" "
>
> The above line is wrong. You did it right below:
>
> > print "Thanks for playing, " + name + "."
> > print "Yo
On Fri, Nov 29, 2013 at 04:31:21PM -0800, farhan...@gmail.com wrote:
> It's for a school assignment. Basically, I need to roll 5 dies with 6 sides
> each. So basically, 6 random numbers. That part is easy. Then I need to add
> it up. Ok, done that. However, I also need to say something along the
On Fri, 29 Nov 2013 16:31:21 -0800 (PST)
farhan...@gmail.com wrote:
> print "The total rolled was: "number" "
The above line is wrong. You did it right below:
> print "Thanks for playing, " + name + "."
> print "You bet the total would be at least " + value + "."
Do this:
print "The total ro
It's for a school assignment. Basically, I need to roll 5 dies with 6 sides
each. So basically, 6 random numbers. That part is easy. Then I need to add it
up. Ok, done that. However, I also need to say something along the lines of
"your total number was X". That's what I'm having trouble with. I
10 matches
Mail list logo