Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class postac:
- ap = 0
- ad = 50
- hp = 800
- name = "null"
- wybrana = postac()
- wybrana.ad = "Ta postac zostala juz wybrana"
- wybrana.ap = "wybierz ponownie"
- wybrana.hp = "Dziekuje"
- wybrana.name = "wybrana"
- Amumu = postac()
- Amumu.ad = 50
- Amumu.ap = 150
- Amumu.hp = 2000
- Amumu.name = "Amumu"
- Aatrox = postac()
- Aatrox.ad = 100
- Aatrox.ap = 0
- Aatrox.hp = 2000
- Aatrox.name = "Aatrox"
- Ahri = postac()
- Ahri.ad = 80
- Ahri.ap = 180
- Ahri.hp = 1600
- Ahri.name = "Ahri"
- Akali = postac()
- Akali.ad = 100
- Akali.ap = 180
- Akali.hp = 1700
- Akali.name = "Akali"
- Alistar = postac()
- Alistar.ad = 70
- Alistar.ap = 70
- Alistar.hp = 2700
- Alistar.name = "Alistar"
- Anivia = postac()
- Anivia.ad = 60
- Anivia.ap = 120
- Anivia.hp = 1600
- Anivia.name = "Anivia"
- Annie = postac()
- Annie.ad = 80
- Annie.ap = 190
- Annie.hp = 1450
- Annie.name = "Annie"
- Ashe = postac()
- Ashe.ad = 170
- Ashe.ap = 20
- Ashe.hp = 1300
- Ashe.name = "Ashe"
- Aurelion_Sol = postac()
- Aurelion_Sol.ad = 70
- Aurelion_Sol.ap = 170
- Aurelion_Sol.hp = 2200
- Aurelion_Sol.name = "Aurelion_Sol"
- tablica = [Aatrox, Ahri,Akali,Alistar,Amumu,Anivia,Annie,Ashe,Aurelion_Sol]
- a = int(input("wybierz "))
- postac1 = tablica[a]
- print (postac1.name)
- print (postac1.ad, "ad")
- print (postac1.ap, "ap")
- print (postac1.hp, "hp")
- print ("to twoj top na tą grę")
- tablica.pop(a)
- tablica.insert(a, wybrana)
- b = int(input("wybierz "))
- postac2 = tablica[b]
- print (postac2.name)
- print (postac2.ad, "ad")
- print (postac2.ap, "ap")
- print (postac2.hp, "hp")
- print ("to twoj jungler na tą grę")
- c = int(input("wybierz "))
- postac3 = tablica[c]
- print (postac3.name)
- print (postac3.ad, "ad")
- print (postac3.ap, "ap")
- print (postac3.hp, "hp")
- print ("to twoj mid na tą grę")
- d = int(input("wybierz "))
- postac4 = tablica[d]
- print (postac4.name)
- print (postac4.ad, "ad")
- print (postac4.ap, "ap")
- print (postac4.hp, "hp")
- print ("to twoj adc na tą grę")
- e = int(input("wybierz "))
- postac5 = tablica[e]
- print (postac5.name)
- print (postac5.ad, "ad")
- print (postac5.ap, "ap")
- print (postac5.hp, "hp")
- print ("to twoj supp na tą grę")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement