Created
November 17, 2019 17:05
-
-
Save JonnyBanana/2391af9ebf940a6033058cf2634d9c0a 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
# script by JonnyBanana | |
#https://github.com/JonnyBanana | |
# this simple script asks to assign a name to a variable | |
#and then asks how many variables it must print on the monitor | |
# the output is like: | |
# a1 = '' | |
# a2 = '' | |
# a3 = '' | |
# a4 = '' | |
# a5 = '' | |
x = ' ' | |
print ("How do you want to call your variable?") | |
b = input () | |
print ("Ok dude!") | |
print ("How many variables" + x + "'" + b + "'" + x + "should I print ???") | |
c = input () | |
def Numeri(): | |
contatore = 1 | |
while contatore <= int(c): | |
print(b + str(contatore) + x + "=" + x + "''") | |
contatore = contatore + 1 | |
Numeri() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment