Monster Battle

Log in om je oplossingen te testen.
# Invoer # Input: type of attack attack_category = input("Type of attack (fysiek/speciaal): ") # Input: attacker stats atk = int(input("Attack stat: ")) sp_atk = int(input("Special Attack stat: ")) # Input: defender stats defense = int(input("Defense stat: ")) sp_def = int(input("Special Defense stat: ")) # Input: types attack_type = input("Attack type (vuur/water/gras): ") defense_type = input("Defense type (vuur/water/gras): ") # Input: defensive move def_move = input("Defensive move (geen/pareer/weerkaats): ") # Bewerkingen # Uitvoer
Je kunt zo vaak indienen als je wenst. Er wordt enkel rekening gehouden met je laatst ingediende oplossing.
Log in om je oplossingen te testen.

  Python sandbox

In dit venster kan je Python-code uitvoeren zonder iets te moeten installeren. De code die je hier schrijft wordt niet automatisch ingediend in Dodona.