#I don't understand the while(true) part of this code.

6 messages · Page 1 of 1 (latest)

cinder mason
#

I don't understand the while(true) part of this code.

rough raptor
#

While True loops forever until there is a break

#

So it'll keep asking shoe size until a number less than 0 is entered

marble flume
# cinder mason

Just a note

BlackShoes[purchaseSize]

Could lead to key error if a size that isn't a key in the dictionary is inputted