import math
print"+-------------------------------+\n"
print"|Welcome To the Python Calulator|\n"
print"+-------------------------------+\n"

#Asks for a operator from the list offered
print"+----------------------------------------------+\n"
print"Please choose a operator from the following list\n"
print"+----------------------------------------------+"
print"\n1)Addition\n2)Subtration\n3)Multiplication\n4)Division\n5)Sine\n6)Cosine\n7)Tangent\n8)Exponential\n9)Natrual Log\n10)Square Root\n11)Power of 2\n"
print"+----------------------------------------------+\n"
choice =input("Please Enter a choice:")
#///////////////////////////////////Adittion////////////////////////////
if choice == 1:
    #Grabs the first number
    num1 = float(input("Please Enter the first number:"))
    #Grabs the second number
    num2 = float(input("Please Enter the second number:"))
    print"Your Choice is Addition"
    ans = num1 + num2
    print ("\nResult:", num1, "+", num2, "=", ans)

#//////////////////////////////////Subtraction///////////////////////////
elif choice ==2:
    #Grabs the first number
    num1 = float(input("Please Enter the first number:"))
    #Grabs the second number
    num2 = float(input("Please Enter the second number:"))
    print"Your Choice is Subtraction"
    ans = num1 - num2
    print ("\nResult:", num1, "-", num2, "=", ans)

#/////////////////////////////////Multiplication/////////////////////////
elif choice==3:
    #Grabs the first number
    num1 = float(input("Please Enter the first number:"))
    #Grabs the second number
    num2 = float(input("Please Enter the second number:"))
    print"Your Choice is Multiplication"
    ans = num1 * num2
    print ("\nResult:", num1, "x", num2, "=", ans)

#////////////////////////////////Division/////////////////////////////////

elif choice==4:
    #Grabs the first number
    num1 = float(input("Please Enter the first number:"))
    #Grabs the second number
    num2 = float(input("Please Enter the second number:"))
    print"Your Choice is Division"
    ans = num1 / num2
    print ("\nResult:", num1, "/", num2, "=", ans)

#///////////////////////////////Sine///////////////////////////////////////
elif choice==5:
    #Grabs the first number
    num1 = float(input("Please Enter the first number:"))
    print"Your Choice is Sine"
    rad= (math.radians(num1))
    ans = (math.sin(rad))
    print ("\nResult: The Sine Value of", num1, "=", ans)

#////////////////////////////////Cosine////////////////////////////////////
elif choice==6:
    #Grabs the first number
    num1 = float(input("Please Enter the first number:"))
    print"Your Choice is Cosine"
    rad= (math.radians(num1))
    ans = (math.cos(rad))
    print ("\nResult: The Cosine Value of", num1, "=", ans)

#//////////////////////////////Tan/////////////////////////////////////////
elif choice==7:
    #Grabs the first number
    num1 = float(input("Please Enter the first number:"))
    print"Your Choice is Tangent"
    rad= (math.radians(num1))
    ans = (math.tan(rad))
    print ("\nResult: The Tangent Value of", num1, "=", ans)

#//////////////////////////////////Exponential////////////////////////////

elif choice==8:
    #Grabs the first number
    num1 = float(input("Please Enter the first number:"))
    print"Your Choice is Exponential"
    ans = math.exp(num1)
    print ("\nResult: The Exponential of ", num1, " is", ans)
#/////////////////////////////////Natrual Log/////////////////////////////

elif choice==9:
    #Grabs the first number
    num1 = float(input("Please Enter the first number:"))
    print"Your Choice is Natrual Log"
    ans = math.log10(num1)
    print ("\nResult: The Natrual Log of ", num1, " is", ans)
#///////////////////////////////Square Root////////////////////////////////
elif choice==10:
    #Grabs the first number
    num1 = float(input("Please Enter the first number:"))
    print"Your Choice is Square Root"
    ans = math.sqrt(num1)
    print ("\nResult: The square root of ", num1, " is", ans)

#/////////////////////////////Power of 2////////////////////////////////////

elif choice==11:
    #Grabs the first number
    num1 = float(input("Please Enter the first number:"))
    print"Your Choice is Power of 2"
    ans = pow(num1,2)
    print ("\nResult: ", num1, "to the power of 2 is:", ans)

else:
    print"Invalid choice Please try again!"


