diff options
author | Anish Mangal <anish@sugarlabs.org> | 2011-02-22 22:56:40 (GMT) |
---|---|---|
committer | Anish Mangal <anish@sugarlabs.org> | 2011-02-22 22:59:20 (GMT) |
commit | ef3edc36c1a1c06f19823bc7b99a880c48675dfa (patch) | |
tree | e386bac518eaee9b36141aee289a08ce69452e8e /data/math/times | |
parent | d29d28ba5390048d5b170cc9ca410bab50012ea8 (diff) |
pep8 and pylint fixes for examples
Diffstat (limited to 'data/math/times')
-rw-r--r-- | data/math/times | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/math/times b/data/math/times index b764ac0..4757a4a 100644 --- a/data/math/times +++ b/data/math/times @@ -1,3 +1,3 @@ -number = input("Which times table? ") -for i in range(1,13): - print i, "x", number, "=", i*number +number = input('Which times table? ') +for i in range(1, 13): + print i, 'x', number, '=', i * number |