how would I replicate a python while function it sheets, for reference or if this has a simpler solution the code if in python would look like this:
upgrade = 0
pool = input()
cost = 100
costchange = 50
going = True
while going:
if cost > pool:
going = False
else:
upgrades += 1
pool -= cost
cost += costchange
return upgrades
looking through the offical sheets function page but didn’t understand it enough
New contributor
Pjo-Super-Fan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.