Created
February 2, 2016 23:41
-
-
Save bharadwaj-raju/d78ab8ade47a81963d44 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Program to print string n times | |
# Usage: printLoop.py [string to print] [number of times to print] | |
import sys | |
scriptName, string, count = sys.argv | |
for i in range(0, count): | |
print string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment