New course! Every coder should learn Generative AI!
Try a free lesson0
Ask 10 nodes from the user and initialize it into a Linked List.
Pls help me how to do it
1 Answer
+ 1
You should use an iterator like this
List = []
for x in rage(10): list.append(input())