def pick_add():
a,b,c=0,0,0
a = raw_input("Enter the first number :")
b = raw_input("Enter the second number :")
c = int(a) + int(b)
print str(a) , " + " , str(b) , " = " , str(c)
def pick_sub():
a,b,c=0,0,0
a = raw_input("Enter the first number :")
b = raw_input("Enter the second number :")
c = int(a) - int(b)
print str(a) , " - " , str(b) , " = " , str(c)
def pick_mul():
a,b,c=0,0,0
a = raw_input("Enter the first number :")
b = raw_input("Enter the second number :")
c = int(a) * int(b)
print str(a) , " * " , str(b) , " = " , str(c)
def pick_div():
a,b,c=0,0,0
a = raw_input("Enter the first number :")
b = raw_input("Enter the second number :")
c = int(a) / int(b)
print str(a) , " / " , str(b) , " = " , str(c)
while True:
print "Welcome to my first program in Python"
input = raw_input("To make a calculation, enter +,-,*,/ : ")
if input == '+' : pick_add()
if input == '-' : pick_sub()
if input == '*' : pick_mul()
if input == '/' : pick_div()
*...Code.. Exciting... Sad*
Copyright © 2026, NextGenUpdate.
All Rights Reserved.