…You'll find forum answers telling you to fix this with the global keyword. My advice is to skip that for now and do this instead: def burn(fuel, amount): return fuel - amount fuel = 100 fuel =…
…def for lambda try True del from nonlocal while and elif global not with as else if or yield break except import pass Example of valid variable names in space context: orbital_velocity = 7.8 #…