Switch Example 1
switch (season) {
case "Summer":
print("It's too hot!");
break;
case "Winter":
print("It's too cold!");
break;
default:
print("It's just fine!");
}
Peacock
switch (season) {
case "Summer":
print("It's too hot!");
break;
case "Winter":
print("It's too cold!");
break;
default:
print("It's just fine!");
}