Did you know this in Python? #python #coding #programming

preview_player
Показать описание
Hello Dear Coder,
Stay tuned....

#python #programming #coding
Рекомендации по теме
Комментарии
Автор

instead if we use keyword arg for damage parameter for each damage type & give some fixed value on each character func assignments, partial not needed.

SP-dbsh
Автор

These is great didn't know that there a way to change the parameters of the functions like that.

viddeshk
Автор

Why not pass the two values through the calculate_damage function itself? It just seem to be over-complicating things. Plus, you didn't explain what partial even do, it feels very unnecessary.

AmodeusR