Skip to content
dreamcode
dreamcode
Lesson
Practice · Parameters
  1. Predict
  2. Arrange
  3. Fill in
+20 XP on finish
PREDICT · READ BEFORE YOU WRITE

What is the output of this Python code?

Trace the program the way the computer would, then make your call before running anything.

def describe_cloud(color, height):
    return color + " cloud at " + str(height) + " feet"

result = describe_cloud("silver", 5000)
print(result)