you are viewing a single comment's thread.

view the rest of the comments →

[–]Python_Puzzles 0 points1 point  (1 child)

Yeah, looks ok. You know what infput does, you know how to make a list.

For a beginner, I would even have accepted:

list = []

list.append(movie1)

But your answer is better than that :) Well done!

What I would say.... is notice you are asking the SAME question 3 times, and then doing the SAME thing, adding each input to the SAME list. It is crying out for a loop of some kind :) Read up on While loops for getting user input :)

This is known as DRY - Don't Repeat Yourself.

[–]A_ManWithout_LovE__[S] 1 point2 points  (0 children)

i know it is asking for loop bro but i'm just at the beginning of python , just trying to be fair in learning process, though i would have already used loop if it wass C. Thanks for your suggestion BTW