Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/graphics/jump1
-rw-r--r--data/python/if1
2 files changed, 2 insertions, 0 deletions
diff --git a/data/graphics/jump b/data/graphics/jump
index aec5896..db7c347 100644
--- a/data/graphics/jump
+++ b/data/graphics/jump
@@ -1,3 +1,4 @@
+# From C. Scott Ananian
# both of these functions should be in the 'basic' package or some such
def clear_scr():
print '\x1B[H\x1B[J' # clear screen, the hard way.
diff --git a/data/python/if b/data/python/if
index dcc9544..6bcfbb8 100644
--- a/data/python/if
+++ b/data/python/if
@@ -1,4 +1,5 @@
number = input("Enter a number: ")
+
if number > 5:
print "Greater than 5"
elif number < 5: