Shkruaj disa rreshta kode per te krijuar nje kalkulator bazë ne Python.
add ((x, y): ktheni x + y def tërheqje(x, y): ktheni x - y def shumëzojnë(x, y): ktheni x * y def ndajnë(x, y): ktheni x / y num1 = float(input (("Dërgoni numrin e parë: ")) num2 = float(input (("Dërgoni numrin e dytë: ")) print (("Select operation.") print (("1.Add") print (("2.Subtract") print (("3.Multiply") print"4.(Divide") choice = input"Enter option 1/2/3/4):") if choice == '1 print: "number1,"+",number2,"=", addnumber1,2)) elif choice == '2 print: "number1,",-"number2,"=",subtract eli1," elif choice == "number1," print: "number2," "number1," print: "number2,", "number2," divide: "number2," print: "number1," = "number2," = "number2,