# Help me please i am super stuck and about to rage

**URL:** <https://discourse.codecombat.com/t/help-me-please-i-am-super-stuck-and-about-to-rage/21067>\
**Category:** Uncategorized\
**Created:** [April 17, 2020, 8:52pm UTC](https://discourse.codecombat.com/t/help-me-please-i-am-super-stuck-and-about-to-rage/21067 "2020-04-17T20:52:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Deadpool198](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/deadpool198/32/16753_2.png) [@Deadpool198](https://discourse.codecombat.com/u/Deadpool198)\
**Post date:** [April 18, 2020, 9:27am UTC](https://discourse.codecombat.com/t/help-me-please-i-am-super-stuck-and-about-to-rage/21067/2 "2020-04-18T09:27:38Z")

</div>

Please stick to one topic, I’ve said this too many times…

> [@\[SOLVED\] Mixed Unit Tactics - Python](https://discourse.codecombat.com/t/solved-mixed-unit-tactics-python/20896/35):
>
> Hi @ZAX155, I think you’re code needs a bit of… restructuring. Let’s look at this on a large scale, because you’re problem is on a large scale (the error message is the least of your worries I’m afraid) The overall structure of your code at the moment is: for friend in friends: summonTypes def summonTroops(): def collectCoins(): def commandTroops(): while True: # call functions Why are you defining the functions and running the while True loop inside a for loop? …

Thanks  
Danny

---

_[View the full topic](https://discourse.codecombat.com/t/help-me-please-i-am-super-stuck-and-about-to-rage/21067)._
