~doctormo/python-snippets/lp-merge-request-example

1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env python
#
# [SNIPPET_NAME: Numeric loop]
# [SNIPPET_CATEGORIES: Python Core]
# [SNIPPET_DESCRIPTION: Loop a specified set of times]
# [SNIPPET_AUTHOR: Jono Bacon <jono@ubuntu.com>]
# [SNIPPET_LICENSE: GPL]

for x in range(10):
    print x