pyhtonhesapmakinesi

  1. speren

    Basit Hesap Makinesi Python

    Python: def hesap_makinesi(num1,num2,opt): if opt not in "+-/*": return "Sadece + - / * giriniz" if opt == "+": return (str(num1) + " " + opt + " " + str(num2) + " = " + str(num1+num2)) elif opt == "-": return (str(num1) + " " + opt + " " + str(num2) + " = " + str(num1-num2)) elif opt ==...

Üst