java
8)Find the output of the following program. list = [12, 67,98, 34] # using loop + stro res 0 for ele in list: sum=3 for digit in str(ele): sum += int(digit) res.append(sum) #printing result print (str(res))
8)Find the output of the following program. list = [12, 67,98, 34] # using loop + stro res 0 for ele in list: sum=3 for
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
8)Find the output of the following program. list = [12, 67,98, 34] # using loop + stro res 0 for ele in list: sum=3 for
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!