Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is the purpose of a code cell?
Think about where you would write your code.
What keyboard shortcut runs a code cell?
It moves you to the next cell as well.
What key combination is used to execute a code cell?
Think about the action you want.
True or False: You need to rerun the entire notebook if you change one code cell.
Focus on the functionality of notebooks.
Write a code cell that takes user input for two numbers and prints their average. How would you implement error handling?
Consider using `input()` for user input and converting to `float`.
Create a program that uses a loop in a code cell to print Fibonacci numbers up to a certain count specified by the user.
Think about how to store the previous two numbers to calculate the next.
4 more questions in this section. Enroll free to practise them all.
Enroll free