promptdojo_

Write an if/elif/else chain that takes the variable temp = 72 and prints exactly one of these labels:

  • "hot" if temp >= 85
  • "warm" if temp >= 70
  • "cool" if temp >= 55
  • "cold" otherwise

For temp = 72, the expected output is:

warm

this step needs the editor

on desktop today; in the app (coming soon). save your spot and we'll bring you back here when you're ready.

open this same url on a laptop to keep going today.