Developing Procedures - AP Computer Science Principles

Card 1 of 30

0
Didn't Know
Knew It
0
1 of 3029 left
Question

What is the difference between 'return' and 'print'?

Tap to reveal answer

Answer

'return' outputs from a function; 'print' displays. Return sends values; print shows text on screen.

← Didn't Know|Knew It →