Computer Science, asked by hsai6351, 8 months ago

Find and write the output of the following Python code: 3 TXT = ["400","200","700","90"] CNT=3 TOTAL = 0 for C in [3,5,7,9]: T = TXT[CNT] TOTAL = float(T) + C print(TOTAL)

Answers

Answered by pavithranatarajan855
3

Answer:

384

Explanation:

CNT=3  , so

TXT[CNT]=90

IN first iteration C value is 3 then total will be 93 like that process.

TOTAL=93+95+97+99=384

Similar questions