# squarelist.py - Program to take list of numbers and output a list of those
# values squared.
def main():
#Get input list from user. Must include brackets (ex. [3,4])
values = input("Enter a list of numbers: ")
#Prints out each value squared
#for val in values:
# print val**2,
#Compose list of indicies using range
for i in range(len(values)):
values[i] = values[i]**2 #Update each index with it's value squared
#Prints out list with values squared
print values
main()