Skip to content

Instantly share code, notes, and snippets.

# BLUEPRINT | DONT EDIT
playing = 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"
)
# /BLUEPRINT
@question-k
question-k / day3 assignment
Created May 14, 2025 18:30
day3 assignment
# 👇🏻 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 > 1000000:
return profit * 0.25