CODELAB

Problem

Stack Digit-Sum Filter

Intro Python

Language

python

Runtime

Python 3.11

Student workspace

Stack Digit-Sum Filter

Use stack operations to remove numbers with the sum of digits being divisible by 6 or 7 but not both 6 and 7.

pythonPython 3.118 hidden tests

Grader

Browser

MVP hidden checks run in this browser.

Practice tests

0

Hidden checks are bundled client-side for this MVP.

Last grade

--

Latest browser grading score.

solution.py

Code editor

Paste or edit your Python solution here.

Verification

Browser grading

This MVP exposes hidden checks to the browser so it can run on static hosting.

Submit your solution to run the bundled function checks in this browser. The latest score is saved locally on this device.

Result view

Display options