Skip to content
This repository
Browse code

I think this makes the code a little easier for someone that's new to…

… python.
  • Loading branch information...
commit 69b8ae77343ceccf7b406d48411777dd84cd65fa 1 parent ad45969
irrelative irrelative authored anandology committed

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  index.md
3  index.md
Source Rendered
@@ -17,7 +17,8 @@ title:
17 17 def GET(self, name):
18 18 i = web.input(times=1)
19 19 if not name: name = 'world'
20   - for c in xrange(int(i.times)): print 'Hello,', name+'!'
  20 + for c in range(int(i.times)):
  21 + print 'Hello,', name+'!'
21 22
22 23 if __name__ == "__main__": web.run(urls, globals())
23 24

0 comments on commit 69b8ae7

Please sign in to comment.
Something went wrong with that request. Please try again.