(Hackerrank) HackerRank Python Certification Practice Test
Hackerrank - HackerRank Python Certification Hackerrank - HackerRank Python Scalar Types and Operators Questions and Answers
What is the output of the following Python code snippet?
x = 15
y = 4
result = x // y + (x % y)
print(result)
Select your answer
A
6
B
7
C
3.75
D
A TypeError occurs
Hint