Sign in
LeetCode Practice uses the same account as Foundations.
Sign in
Back
LeetCode Practice
Cloud
← Foundations
Python Training
Problem
Practice
Learning path
Review due
All unlocked
Start OA practice
Next OA problem →
End OA
Open on LeetCode ↗
Find pattern
Optional · think before coding
Python
▶ Run
Enter auto-indents • Tab inserts 4 spaces • Shift+Tab unindents
Loading Python…
Hint
Pattern explained
Answer
Attempts