https://github.com/amarafinbarrs/python-who-is-richer
A relational Python program to calculate and find out who is richer than who within any number of individuals
https://github.com/amarafinbarrs/python-who-is-richer
conditional-statements data-science if-else loop programming python3
Last synced: 9 months ago
JSON representation
A relational Python program to calculate and find out who is richer than who within any number of individuals
- Host: GitHub
- URL: https://github.com/amarafinbarrs/python-who-is-richer
- Owner: AmaraFinbarrs
- Created: 2022-03-05T22:08:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-06T10:19:52.000Z (over 4 years ago)
- Last Synced: 2025-02-24T07:16:54.595Z (over 1 year ago)
- Topics: conditional-statements, data-science, if-else, loop, programming, python3
- Language: Python
- Homepage:
- Size: 4.32 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python-Projects-01
Relational problem to test programming skills
Question:
Problem: we have three friends who want to know how much money they have compared to the others. Write a program that would accept the names of three friends and the amount each possesses. The program must output who is richer, but say if someone has the same amount of money as someone else.
The question was gotten from the book: A Python Crash Course Page 50.
I would advice you to try to solve the problem yourself before looking at the solution.
The process I used to write this program is detailed in Process.txt.
A pictorial representation of the problem can be viewed in the diagram folder.