Answered step by step
Verified Expert Solution
Question
1 Approved Answer
*Using python Now with this solution i am able to get the sum of sixty based of the number in the variale. txt = '32,
*Using python
Now with this solution i am able to get the sum of sixty based of the number in the variale. txt = '32, 13, 15' total_of_nums = txt.split(',') sum = 0 for num in total_of_numbs: sum += int(num) print(sum)
the total would come out to 60,, but i want to change the numbers provided to the txt variable , to be based on three numbers anyone would want to select the three numbers so they can sum the total , using the equation provided.
* this is using python
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started