This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| print(""" | |
| Kullanıcıdan iki sınav ve bir performans notu girmesini isteyiniz. Girilen 3 notun ortalaması 50 ve daha | |
| büyükse “Başarılı”; değilse “Başarısız” çıktıları veren kodu yazınız. | |
| """) | |
| def not_ortalamasi (): | |
| sinav1 = int(input("1. Sinav Notu: ")) | |
| sinav2 = int(input("2. Sinav Notu: ")) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import math | |
| def hesap_makinesi(): | |
| print("Lütfen bir işlem seçiniz:") | |
| print("1- Toplama") | |
| print("2- Çıkarma") | |
| print("3- Çarpma") | |
| print("4- Bölme") | |
| print("5- Üs alma") |