Opening the reading…
Opening the reading…
DSA FUNDAMENTALS › MATH BASICS
This is a scratch drill — your code runs, nothing is graded or recorded. No test cases, no expected output, no verdict.
TASK
Complete the loop condition so the program maintains only two Fibonacci terms and prints the sequence from the running example up to the inclusive limit 20. The output must exclude 21.
OUTPUT
Sample0 1 1 2 3 5 8 13
What a finished answer prints, from the lesson. Nothing has run yet — press Run and this is replaced by your program’s own output.