Predict the output of the following code fragments:
for x in [1,2,3,4,5]: print (x)
1 2 3 4 5
x will be assigned each of the values from the list one by one and that will get printed.