What will be the output of the following Python code?
x = 5
y = 2
z = x ** y / 2 + x % y * 2
print(z)
Options
A) 7.5
B) 7.0
C) 14.5
D) 8.0
Answer:
Answer by student
C) 14.5
Detailed answer by teachoo
The rest of the post is locked. Join Teachoo Black to see the full post.