Omar H. answered 11/20/21
Software Engineer, AI engineer & Data Scientist
I have attached the code here.
https://ideone.com/nrSYty
Khairi E.
asked 11/09/21Write a class called Patient. Patient should have attributes such as name, age, symptom (in list/tuple form) and diagnosis. Create a constructor and functions to set and get for each attributes. Create object and instantiates as follows:
Name | Age | Symptoms | Diagnosis | |
Abu | 37 | Fever, cough, loss of taste/smell | Covid-19 | |
Janice | 29 | Swelling, inflammation, stiffness | Arthritis | |
Kanang | 45 | Joint inflammation,stiffness, fever, weakness | Backache | |
John | 18 | Pain, fever, watery stools | Diarrhea |
Print out the patient information for Abu, Janice and Kanang
Omar H. answered 11/20/21
Software Engineer, AI engineer & Data Scientist
I have attached the code here.
https://ideone.com/nrSYty
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.