Learning to Program in Python for Kids

of all ages and Linux on a Raspberry Pi by Philip M Russell


Geany on a Linux box

Pi Python Character

There are a varity of way of printing. This is a simple way .

The two screen shots look a little different. The top one is geany running on a Linux box and the bottom on on Windows 7

Geany running under Windows 7

Pi Python CharacterHere is the code to cut and paste


"""
Program to print a few lines
"""
print "hello this is printing with double quotes"
print 'This is printing with single quotes'
variable = 10
print " Here is the contents of a variable = ", variable
print "this is the next line"
print "Text ", variable , "More Text"