@haxor789 explained it already, but I can do it too.
For start, your
while loop looks wrong. You should either use
while (or we can call it while do, because while condition is true we do something, but we first check the condition and then do something) or
while else is a no-no.
Next, if it worked, it would be infinite loop. You have
weather = "cold", and that will evaluate to
while condition (I think it will, but for more explanation why this is bad practice because we don't know what to expect in condition check this post, the first answer where tables are shown).
if loop at the end should actually be
for loop. You have everything set for
for loop, but still used
if. I believe you just made a little mistake here.
I hope this sums it for your, it's ok to try new things and do them wrong, glad you asked about what you didn't understand. If you have any more questions, feel free to ask.