Contents contributed and discussions participated by Brad Johnston
Activity Two: Our First Program "Hello World!" - 0 views
-
1) For many programmers, their first program is the one that follows. In this program, we tell the computer to display the words "Hello World!" on the screen.
2) Enter IDLE
3) Type the following (don't copy and paste): print 'Hello World!'
4) Read the output
5) Come up with your own saying for the computer to display
6) Reply to the post with the code used to display your own saying
Activity One: Installing and Testing Python - 4 views
-
1) Download and install this if you have windows: http://www.python.org/ftp/python/3.1.2/python-3.1.2.msi. If you have a Mac, download, mount, and install this: http://www.python.org/ftp/python/3.1.2/python-3.1.2-macosx10.3-2010-03-24.dmg
2) Open Python IDLE:
In Windows, through the start menu - all programs - python 3.1 - IDLE (Python gui)
3) Type "copyright"
4) Respond to this post with the name of the company who has held the copyright since 2001.
Overview of Python --Wikipedia - 1 views
Download Python Here - 1 views
Python.org - 1 views
Helpful Python Tutorial - 0 views
Helpful Resources - 1 views
-
There are a wealth of helpful resources available online on python. Examples include the following: python.org, diveintopython.org, and http://heather.cs.ucdavis.edu/~matloff/Python/PythonIntro.pdf.
1 - 8 of 8
Showing 20▼ items per page
2) Enter the following:
x = 2
y = 5
print x + y
3) Share the output in comments