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 random | |
| print("Basit Tahmin Oyununa Hoş Geldiniz!") | |
| sayı = random.randint(1, 100) | |
| tahmin_hakkı = 5 | |
| while True: | |
| tahmin = int(input("Tahmininizi girin: ")) | |
| if tahmin == sayı: |
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
| #--matematiksel islemler ve R a bir komut yazdırma islemleri-- error mesajlarina nasil cozum buluruz -- # | |
| #Toplama | |
| 9+2 | |
| 24+5 | |
| #Çıkarma |
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("Basit Hesap Makinesi") | |
| print("Yapmak istediğiniz işlemi seçin: ") | |
| print("1. Toplama") | |
| print("2. Çıkarma") | |
| print("3. Çarpma") | |
| print("4. Bölme") | |
| secim = input("Seçiminiz (1/2/3/4): ") | |
| sayi1 = float(input("Birinci sayıyı girin: ")) |