Forum: Python
Nov 27th, 2007, 4:44 AM
|
|
Replies: 2
Views: 189
Re: Question Number 2 - printTwice
Yes you are correct.
Thanks for that. Not sure how I missed it but I thought it was like "print" but just printed it twice instead of once.
Thanks again.
|
Forum: Python
Nov 27th, 2007, 1:18 AM
|
|
Replies: 2
Views: 189
Question Number 2 - printTwice
I'm back with another simple question.
I won't dwell over this like I did the last one. I'd just like to know why the author of the book I've been reading says
printTwice(5)
Gives the result
5 5
|
Forum: Python
Nov 24th, 2007, 7:03 PM
|
|
Replies: 11
Views: 437
|
Forum: Python
Nov 24th, 2007, 3:59 PM
|
|
Replies: 11
Views: 437
Re: Question Number 1
I saved
print "First Line."
twentysevenLines()
print "Second Line."
def newLine():
print
def threeLines():
newLine()
newLine()
newLine()
|
Forum: Python
Nov 24th, 2007, 1:17 AM
|
|
Replies: 11
Views: 437
Re: Question Number 1
Ill stop where I am in the book and take your advice. The book I'm reading did mention this topic at the start. Maybe I need to read that part again but for some reason or another I thought that...
|
Forum: Python
Nov 24th, 2007, 12:09 AM
|
|
Replies: 11
Views: 437
Re: Question Number 1
So why would this book (How to think like a computer scientist, Learning with Python) give me this excercise? The way the excercise is written I'm expecting an error. It had another one after where I...
|
Forum: Python
Nov 23rd, 2007, 11:40 PM
|
|
Replies: 11
Views: 437
Question Number 1
Hi All,
I am new. I have posted in the introduction forums. You can read my post there to get to know why I am here.
As it says, I am a newbie. Teaching myself (with your help) Python. This is my...
|
Forum: Community Introductions
Nov 23rd, 2007, 4:26 PM
|
|
Replies: 13
Views: 507
|
Forum: Community Introductions
Nov 23rd, 2007, 3:15 PM
|
|
Replies: 13
Views: 507
|
Forum: Community Introductions
Nov 23rd, 2007, 3:05 PM
|
|
Replies: 13
Views: 507
|
Forum: Community Introductions
Nov 22nd, 2007, 11:36 PM
|
|
Replies: 13
Views: 507
|
Forum: Community Introductions
Nov 22nd, 2007, 11:34 PM
|
|
Replies: 13
Views: 507
|
Forum: Community Introductions
Nov 22nd, 2007, 11:31 PM
|
|
Replies: 13
Views: 507
|
Forum: Community Introductions
Nov 22nd, 2007, 10:23 PM
|
|
Replies: 13
Views: 507
hello, I'd like to write a program for my work.
Hello,
I found this forum in Google and would like to learn how to create a simple program. I have taught myself HTML and some very basic PHP to go with it and a problem at my workplace has sparked...
|