Skip to content
Solution Debug 2.4. No Errors - Wrong Output
  • Pages
    • Solution
    • icon picker
      The Task
    • Python Starter Code
    • CodeClips

The Task

Activity: Debug 2.4 No errors but wrong output? 🐞

Start Here

A bug report has been has been submitted on this program. The program is running without any error messages but we are getting the wrong output. Can you help fix it?
Run the program to identify errors.
Refer to the code clips below to help you fix the errors.
Right click on your code and add a comment explaining what was wrong and how you fixed it.
Run the test. When it passes submit this to your teacher.

Expected output

Welcome to Hawkins High School
================================

Pupil name: Max Myles
Pupil age: 15
Good luck! 🍀
 
Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.