Answered step by step
Verified Expert Solution
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
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
Get Instant Access with AI-Powered 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