Patient Linked List | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Patient Linked List

I want to implement a singly linked list of 5 patients. each patient must have the "first name, "last name", "year of birth", Patient ID", "email address" and "phone number" variables. My program should be able to insert a node at the start, middle and end. I am new to python and really learning from scratch. A linked list of numbers/intergers is doable for me. But I am finding it hard to make a linked list of 5 patients each with all those 6 variables. Can someone give a sample code on how I can implement my list?

2nd Aug 2018, 7:50 PM
Symon
Symon - avatar
3 Answers
+ 1
This is great James. Thanks for your help. I will indeed enter the other dAta myself, but this sample code provides great guidance. Thank you once again.
3rd Aug 2018, 2:46 AM
Symon
Symon - avatar
0
James, can you give full answer.
2nd Aug 2018, 8:26 PM
Symon
Symon - avatar
0
can you do the fully functioning list.
2nd Aug 2018, 9:33 PM
Symon
Symon - avatar