Python | Steam Oyun Örneği

Status
Not open for further replies.
1

1Jeff

Developer & Coder
Ultra Member
Joined
Oct 20, 2019
Messages
725
Reaction score
446
Location
Helsinki
Python:
oyun = input("Hangi STEAM oyununu istiyorsunuz?")

if oyun ==("CS:GO"):
     version = int(input("Hangi versiyonu istiyorsunuz?"))
     if(version == 1 or version == 2):
         print("CS:GO",version,"versiyonunun ücreti 30tldir.")
     elif(version == 3):
         print("CS:GO",version,"versiyonunun ücreti 40tldir.")
     else:
         print("Aradığınız versiyon bulunmamaktadır.")
        
elif oyun ==("Garrys Mod"):
     print("Garrys Mod oyunun ücreti 15tldir.")

elif oyun ==("Euro Truck"):
     version = int(input("Hangi versiyonu istiyorsunuz?"))
     if(version == 1 or version == 2):
         print("Euro Truck",version,"versiyonunun ücreti 20tldir.")
     else:
         print("Aradığınız versiyon bulunmamaktadır.")
        
else:
     print("Sadece CS:GO, Garrys Mod veya Euro Truck oyunlarını alabilirsiniz.")
alıntıdır.
 
Status
Not open for further replies.
SPAM IS FORBIDDEN!
  • SPAMMERS ARE BANNED FROM THE FORUM AND CANNOT USE ANY OF THE CHEATS
  • For example: thanks, thx, very good, asdqwe, working, ty and so on!
  • For example: Writing the same message over and over. thanks, thx and so on!
  • Copying and copying someone else's message is prohibited.
  • It is forbidden to send messages to increase the number of comments on threads that you have no knowledge of.
  • Write your own opinion when commenting!
  • If you see spam message, please let us know with the REPORT button!

Tema düzenleyici

Top Bottom