7. Which line number of code(s) will not work and why?
def Interest(P,R,T=7):
I = (P*R*T)/100
print(I)
Interest(20000,.08,15) #Line 1
Interest(T=10,20000,.075) #Line 2
Interest(P=10000,R=.06,Time=8) #Line 3
Interest(80000,T=10) #Line 4
Answers
Answered by
6
Line 3 as there's a var 'Time' used which is not predefined.
Please mark me as the brainliest
Answered by
1
Answer:
Line 2 intrest (T=10,20000,.075) will not work
Explanation:
Leading zeros in decimal integer litreal are not permitted
Similar questions
Math,
2 months ago
English,
2 months ago
English,
4 months ago
Accountancy,
9 months ago
Math,
9 months ago