S SearchRSS
< BackHome
Newest questions tagged python - Stack Overflow

Room Cost Calculation Total Only Reflects the Last Room [closed]

It doesn't seem to be working, and I'm trying to figure out what's causing the issue. totalCost = 0.00 rooms=int(input('How many rooms are there? ')) smallCost = 299.99 largeCost = 499.99 loop = 0 while loop < rooms:

View original source