Ask 10 nodes from the user and initialize it into a Linked List. | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antwort
+ 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