Please register to have access to more features!

It is highly recommended that you have Javascript enabled; many features will not work unless you do. The recommended browsers are Firefox and Chrome; the board is also NOT mobile-friendly.

Please invite your friends!

If you were referred by someone (ex. me, Jessica) please put their username in the referral box on the registration page. Ask them if you don't know their username.

If you are visiting for TESTING PURPOSES ONLY, this is the test account information:

Password: test123

Select a forum to post in:

Search found 1 match

Return to: Python


Python. One of my favourite programming languages. Mainly because of its simplicity. So, Instead of rambling on, here is an example of a counter that counts to ten.

Code: Select all
count = 0
while (count < 11):
   print 'Count:', count
   count = count + 1

print "See ya!"

and here is a simple if statement code:

Code: Select all
i= raw_input("Pi=Tau? (y/n)")
if i == "y":
   print("Correct :D")
by tomtiger11
January 15th, 2013, 5:36 pm
Forum: ICT Topics
Topic: Python
Replies: 0
Views: 3,007

Return to: Python

Reputation System ©'