Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Joline Morrison, Mike Morrison

2nd Edition

? 061906448X, 978-0619064488

More Books

Students also viewed these Databases questions