Menu

Using Subroutines - Quiz

1. What is the purpose of subroutines in programming?

To simplify and organize code
To make the code run faster
To add more colors to the graphics
To reduce the size of the code

2. What is the correct way to define a subroutine in Python?

define subroutine_name()
function subroutine_name():
subroutine subroutine_name():
def subroutine_name():

Log in or sign-up to access the quiz



Don't have a login?

You can still revise this topic