#I don't understand the while(true) part of this code.
6 messages · Page 1 of 1 (latest)
While True loops forever until there is a break
So it'll keep asking shoe size until a number less than 0 is entered
Just a note
BlackShoes[purchaseSize]
Could lead to key error if a size that isn't a key in the dictionary is inputted
Alright, thanks.