You're learning Python and JavaScript together, not as two separate subjects, but as two accents of the same idea.
The concept is what the program does. The logic is the sequence of steps. The syntax is how a particular language writes it down. Concepts and logic transfer between every language you'll ever touch. Syntax is just spelling.
Compare → Same concept (output), same logic (two lines, top to bottom), different syntax. By the end of this course you'll read a problem and think in concepts first, then write it in whichever language the moment calls for.
YOUR TURN
Your turn → Flip between the tabs. Write the Python version yourself, then run both.
loading editor…
Syntax has to be exact. Every quote, bracket and parenthesis needs its partner, and in Python the spaces at the start of a line count. One slip and the program won't run; the message will say where.
◈ Graded Challenge
Write a program that prints exactly three lines, in this order: Sankofa Code, then Go back, then Build the future.
Your code should print: three lines of output
3 visible + 0 hidden
loading editor…
Mark this lesson complete
Signed in, your progress follows you to every device.