PCEP Data Types, Variables, Basic I/O and Operators • Set 15
PCEP Data Types, Variables, Basic I/O and Operators Practice Test 15 — 15 questions with explanations. Free, no signup.
A programmer writes the following code to calculate the average of two numbers:
a = 5 b = 2 avg = a / b
print(avg)What is the output?
Choose an answer to begin — your selection is scored in the full session.
15 questions · instant feedback and full explanations after every question.