Jul-07-2020, 10:38 AM
Hello guys i have simple code like this. Please can someone give me example how to update this code to make for every name in list new variable ? I just want this for loop to make 3 variables with 3 names from list. Name1 = samuel, name2 = max, name3 = john
Thank you
Thank you
names = ["samuel","max","john"]
counter = 0
for i in names:
name1 = names[counter]
counter +=1
print(name1)
My github:
https://github.com/Samuel-Bachorik
https://github.com/Samuel-Bachorik
