Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/data/python/if
diff options
context:
space:
mode:
authorAnish Mangal <anish@sugarlabs.org>2011-02-22 22:56:40 (GMT)
committer Anish Mangal <anish@sugarlabs.org>2011-02-22 22:59:20 (GMT)
commitef3edc36c1a1c06f19823bc7b99a880c48675dfa (patch)
treee386bac518eaee9b36141aee289a08ce69452e8e /data/python/if
parentd29d28ba5390048d5b170cc9ca410bab50012ea8 (diff)
pep8 and pylint fixes for examples
Diffstat (limited to 'data/python/if')
-rw-r--r--data/python/if8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/python/if b/data/python/if
index 6bcfbb8..0e4b947 100644
--- a/data/python/if
+++ b/data/python/if
@@ -1,8 +1,8 @@
-number = input("Enter a number: ")
+number = input('Enter a number: ')
if number > 5:
- print "Greater than 5"
+ print 'Greater than 5'
elif number < 5:
- print "Less than 5"
+ print 'Less than 5'
else:
- print "Number is 5!"
+ print 'Number is 5!'