Ask 10 nodes from the user and initialize it into a Linked List. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
+ 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