# variables

Coins Gained Today

A player wants to track their progress: how many coins did they gain today compared to yesterday? 🪙

You're given today's coins, then yesterday's coins. Store the difference in a variable called gained, then print it. It's okay if the answer is negative — that means they spent more than they earned!

💡 need a hint?

var-coins-today-vs-yesterday.py🔒 given lines are locked — write your code in between
loading...