Question: 9 3 . If x = 5 , m = 2 , what is the value of S after three loops? x = int (

93. If x=5, m=2, what is the value of S after
three loops?
x=int (input("x="))
m=int (input("m="))
T=1
S=1
for x in range(0,x):
K=(T*x)/m
S=S+K
print(S)
A.1.5 B.2.5
C.3.5 D. There is no 3rd loop

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!