That the list variable printed five times on screen.
Of course it might not be what you intended to do. My wild guess is that you wanted to print “x” instead of “list” (as the for iterates over the content of the list, the x variable points to the value of each element in the list, once per element).
Anyways, with that code (and only that), you should get the result I posted.
calling a variable “list” is no good idea, as you mangle the build-in object type “list”. In a narrow context it is fine, but can still lead to hard-to-investigate issues.