MyLeoNes™

The average that lied — Data Analyst · Pretender

A fictional school survey asked students to rate lunch from 1 to 5. Some left the answer blank (stored as null). The current code says the average is 2.1 — suspiciously low. Fix it. Make the average count only real answers.

Code checks · ~4 min

Your role

You're the data analyst (in this game).

Your goal

Make the average count only real answers.

What you know

Limits

Success looks like

Skills you used

In real life

Handling missing values is one of a data analyst's most common tasks: treating blanks as zeros is a classic mistake that can change conclusions.

Data Analyst

Turn numbers into honest answers.

Explore next

Keep exploring

Other languages

Loading MyLeoNes™…