+ 3
Help me with python
Exercise: 1.Develop a software in python, that captures natural & not natural persons (natural = human, not natural = company) 2. Extend the program, so that it will output personal data (natural: pre name, name, date of birth. Not natural: company name, type of company, founding date, tax number) 3. Extend the Programm, so that it will search for captured personal data. Thanks in advance, itâs for my course software development:)
11 Answers
+ 2
My advice is to start something
When you are stuck you alert us
+ 2
The thing is I dont really know where to start
+ 2
Exercise is cool. Maybe some more details will be needed such as:
- User interface: graphical or console?
- Data saving: only program (variables/lists) or file or database?
- What number of data items should be managed?
- When is this supposed to be ready?
+ 2
One way to start is to name your classes and their attributes and methods. From step 1, you already know who they are. So write a "skeleton" class (just the definition, no method or attribute yet) for each category.
Hint: you'll surely have common stuff between these classes. So I recommend you create a base class for this common stuff, then derive the public classes from that.
Then, start writing the attributes and methods.
Hint: go one step at a time. So, if something goes wrong, you'll always know where.
Do all this in Code Playground, and keep a link to it inside your question. Then update it with whatever difficulties you have.
Remember: for us to help you, the questions should be specific. Generic ones are quite hard to address.
+ 2
patrick , as I understood this will a first code in a beginner level. If the data are stored only in the program at runtime then after its termination they are lost. But at the beginner level it is not an issue.
You can take your language course wherever and write small programs here on Sololearns Playground. Step by step. The exercise will be divided into smallest tasks and what you have learned you can implement there.
And if you have a trouble you can link your code here and ask for help.
+ 2
Thanks a lot guys Faisal Issaka JaScript Emerson Prado
+ 1
Yh as JaScript said
Provide more details
+ 1
I dont really know what data savings are, im sorry đ
0
Ben Balzer Pls do not use other people questions to include another unrelated question. Create a new question instead.
Also, do not make generic questions nor ask for others to code for you. This is a learning app. Start your code, save in Code Playgroud and, when you have a difficulty, post a specific question, describing such difficulty and linking your code.
0
The idea is very good, thanks for the suggestion bro