samuel bajracharya
1 page
samuel bajracharya
1 page
236
/ 1
Python Challenges:
#rent calculator in python
## Inputs we need from the user
# Total rent
# Total food ordered for snacking
# Electricity units spend
# Charge per unit
# Persons living in room/flat
"""
Rock Scissor Paper game
WORKFLOW OF PROJECT:
1- Input from user(Rock, paper, scissor)
2- Computer choice (Computer will choose randomly not conditionally)
3- Result print
Cases:
A- Rock
Rock - Rock = tie
Rock - Paper = Paper win
Rock - scissor = Rock win
B- Paper
Paper - Paper = tie
Paper - Rock = Paper win
Paper - Scissor = Scissor win
C- Scissor
Scissor - Scissor = tie
Scissor - Rock = Rock win
Scissor - Paper = Scissor win
Import random so compuer can choose random either paper,rock or
scissor.
"""
--best practise for the beginner and solve this problem using
conditions statement
/ 1
End of Document
236