Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.48 KB | None | 0 0
  1. def poti_ivas():                                            
  2.     if poti == "I" or poti == "i":                          
  3.         print("Ittál")                                      
  4.         del táska[-1]                                        
  5.         jatekos1.hp += hppoti.hptöltés                      
  6.         if jatekos1.hp >100:                                
  7.             jatekos1.hp =100                                
  8.                                                              
  9.         print("Neked most {} hp-d van!".format(jatekos1.hp))
  10.                                                              
  11.         def lvl2():                                          
  12.                                                              
  13.             time.sleep(2)                                    
  14.             print("Lvl. 2")                                  
  15.                                                              
  16.         lvl2()                                              
  17.     elif poti == "N" or poti == "n":                        
  18.         print("Nem ittál")                                  
  19.         lvl2()                                              
  20.     else:                                                    
  21.         print("Normális választ kérek!")                    
  22.         poti_ivas()                                          
  23.                                                              
  24. poti_ivas()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement