Learn to code with step-by-step lessons. A place for students to work through programming fundamentals and build skills.
One possible program:
temp_celsius = float(input("Morning temperature (C): "))
if temp_celsius <= 0:
print("At or below freezing - ice is possible.")
else:
print("Above freezing.")