Skip to content

Instantly share code, notes, and snippets.

View jini0059's full-sized avatar

jini0059

  • Joined Oct 2, 2024
View GitHub Profile
@jini0059
jini0059 / assignment04.py
Created October 3, 2024 01:22
nomad python challenge
while True:
a = int(input("Choose a number:\n"))
b = int(input("Choose another one:\n"))
operation = input("Choose an operation:\n Options are: +, -, * or /.\n Write 'exit' to finish\n")
if operation == 'exit':
break
if operation == '+':
@jini0059
jini0059 / assignment03.py
Created October 2, 2024 01:12
nomad python challenge
# 👇🏻 YOUR CODE 👇🏻:
def get_yearly_revenue(monthly_revenue):
return monthly_revenue * 12
def get_yearly_expenses(monthly_expenses):
return monthly_expenses * 12
def get_tax_amount(profit):
if profit > 100000: