Put the Gear Forge skills together in a small heads-up display, or HUD: a text line that tells the player what gear is ready and what it costs.
The supplied responses choose Adi and three flares. Each flare costs six energy. player_text and flares_text are prefilled strings, so you do not need input().
In main.py, complete the assignments in order. The first print call shows the converted flare count, the second shows the calculated energy, and the last shows your formatted message. Keep these calls in place.
Press Run after each change, then Submit to check your work. The finished last line should read Gear for Adi: 3 flares, 18.00 energy.
flares_text with int() into flare_count.energy_cost to flare_count multiplied by flare_cost.hud_line to an f-string using player_text, flare_count, and energy_cost, with energy shown to two decimals: Gear for Adi: 3 flares, 18.00 energy.You can now turn response text into numbers, calculate a cost, and display it. At the Gate Trials, your programs will start choosing what to do next.