Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

def addNums(a, b, c-4) Output: sum abe a+b+c+ d if sumabc % 2 0: if sum abc >100: if sumabc % 2 ! 0: return

image text in transcribed
def addNums(a, b, c-4) Output: sum abe a+b+c+ d if sumabc % 2 0: if sum abc >100: if sumabc % 2 ! 0: return sum_abc, 'small' - return sum_abc, 'even return sum abc, 'huge' return sum_abc, 'odd - a, b, c, d 4, 9, 25, 6 rl, r2 addNums(a, b) print ('1.-, rl, r2) rl, r2-addNums(a*2, b*2, c 8) print ('2. rl, r2) r1, r2-addNums(a, b, c-84) print ('3.-', rl, r2) rl, r2 addNums(a, b, c 0) print('4.', rl, r2) r1, r2-addNums(a, b, c 1000) print('5. ', rl, r2)

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

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

1292097612, 978-1292097619

More Books

Students also viewed these Databases questions

Question

What are some environmental disadvantages to plastic packaging?

Answered: 1 week ago

Question

Assess three steps in the selection process.

Answered: 1 week ago

Question

Identify the steps in job analysis.

Answered: 1 week ago