Feb-24-2017, 09:35 PM
I completely understand. but can you give me some guidance on how to declare the variable I am asking please and then I will continue from there to complete the code and post it over here for feedback :)
Program to print: Last Name, ID, Mobile Number, All
|
Feb-24-2017, 09:35 PM
I completely understand. but can you give me some guidance on how to declare the variable I am asking please and then I will continue from there to complete the code and post it over here for feedback :)
Feb-24-2017, 10:04 PM
personal_details = input('Enter personal_details')
Feb-24-2017, 10:49 PM
That is fantastic micseydel. I will look into the tutorials and then post here any question that might be needed an answer from a more experience user than me
Feb-24-2017, 11:50 PM
Hints: you can use the split() function to chop a long string into parts, using a delimiter. So for instance you can split once with a
; , and then split each part with : . You can keep these parts (name, phone...) together in a tuple that you add to a list. When you are asked about some person, you scan the list and find the tuple that contains the right name and print its elements.
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Mar-15-2017, 02:46 PM
Thank you very much for your help guys
|
|