'How do I update a printed string after a certain action?
I am coding a RPG python game battle system, my objective is that every time I take damage, my HP reduces and its updates as soon as I take damage without re-printing the HP bar. Can the HP bar, which is already printed on the top of the console, update simultaneously or replace the old HP bar at the same position (top of the console) instead of printing a separate updated HP bar at the bottom?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

