Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

Can someone pls send me a random python project for me to muck around on!

+2 votes
asked Jun 5, 2020 by Rodney_RWR YT (240 points)
edited Jun 5, 2020 by Rodney_RWR YT
I NEED  PROJECT maybe a calculator

2 Answers

+1 vote
answered Jun 5, 2020 by miraj (160 points)
0 votes
answered Nov 3, 2020 by STUDENT Gulliver Murdaugh (150 points)
Ok here is calc:

def add(num1, num2):

 try:

  return num1 + num2

 except:

  print("go die")

def subtract(num1, num2):

 try:

  return num1 - num2

 except:

  print("GO DIE IN A HOLE!! :)")

def divide(num1, num2):

 try:

  return num1 / num2

 except:

  print("**** YOU!!")

def multiply(num1, num2):

 try:

  return num1 * num2

 except:

  print("YOUR SUCH A BITCH!!")

def calc():

 num1 = int(input())

 num2 = int(input())

 i = input()

 if i == "*":

  print(multiply(num1, num2))

 if i == "/":

  print(divide(num1, num2))

 if i == "+":

  print(add(num1, num2)

 if i == "-":

  print(subtract(num1, num2))
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...