Printable worksheet ยท 1 of 4
A function can separate one clear job - Paper 1
Read the information, then answer the questions. An adult may read the instructions aloud. Show your working where asked.
Read before answering
Python definition: def adjust(n): return n * 2 + (-1). Evaluate adjust(6) + 1. This function returns a numeric result to its caller; it does not print. In a different definition containing only print(n * 2 + (-1)), there is no explicit return statement. Inputs here are integers.
Worksheet preview
This exercise is included in the paid course. Full-course fee: GBP 200.00 once. Register and enrol to complete all course exercises and download the course PDFs. Access begins after payment is confirmed.
Already registered? Sign in