Ask 10 nodes from the user and initialize it into a Linked List. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Ask 10 nodes from the user and initialize it into a Linked List.

Pls help me how to do it

22nd Sep 2022, 11:14 AM
Dumpxz
1 Answer
+ 1
You should use an iterator like this List = [] for x in rage(10): list.append(input())
15th Mar 2024, 4:47 PM
AiVolt
AiVolt - avatar