Learn/Data Science/Healthcare
BeginnerHealthcarePYTHON+20 XP

First step: give a number a name

Scenario

You are a data scientist. A small clinic counted 12 patients this morning. We want Python to remember that number for us.

Question

Put the number 12 into a box called patients, then ask Python to show it.

Beginner · Data Filtering & Record Counting — question 1 of 30

Finish all 30 to earn a certificate

1. Choose your dataset

Pick an industry and a size. Your code and results change to match.

📓 DataPro notebookds-health-00a.ipynbFileEditViewRunKernel: Python 3
[md]

First step: give a number a name

Put the number 12 into a box called patients, then ask Python to show it.

In [1]:

Your code cell is below. Press Check my answer to run the cell — the result appears as Out [1].

python editor
Type your code here ↓
✍️ Tap here to type

Dataset & schema

morning_count

The tiny starter data. Bigger data scrolls.

Fields

patients
12

One column is one kind of information. One row is one observation.

attempts: 0
▶ Output terminal
$ Press “Check my answer” — results appear here.

Your next steps

Each item turns green when your answer includes it.

2 left
  • Makes a box named patients
  • Shows what is in the box