subject
Computers and Technology, 12.11.2019 01:31 jdeelc

Def addnums(a, b, c = 4): sum_abc = a + b + c + d if sum_abc % 2 == 0: return sum_abc, 'even' if sum_abc > 100: return sum_abc, 'huge' if sum_abc % 2 ! = 0: return sum_abc, 'odd' return sum_abc, 'small' a = 5 b = 10 c = 25 d = 2 r1, r2 = addnums(a, b) print ('1. = ', r1, r2) r1, r2 = addnums(a*2, b*2, c = 8) print ('2. = ', r1, r2) r1, r2 = addnums(a, b, c = 84) print ('3. = ', r1, r2) r1, r2 = addnums(a, b, c = 0) print('4. = ', r1, r2) r1, r2 = addnums(a, b, c = 1000) print('5. = ', r1, r2)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 18:30
How often does colleges update the cost of attendance on their website? . a)every two years b) every four years c) every year d) every semester
Answers: 1
question
Computers and Technology, 23.06.2019 22:00
Take a critical look at three gui applications you have usedโ€”for example, a spreadsheet, a word-processing program, and a game. describe how well each conforms to the gui design guidelines listed in this chapter.
Answers: 3
question
Computers and Technology, 24.06.2019 03:30
Which explains extrinsic motivation? a)motivation in which there is a reward b)motivation that is personally satisfying c)motivation that is personally meaningful d)motivation in which the subject is interesting
Answers: 1
question
Computers and Technology, 24.06.2019 12:50
What percentage of teens plays video games? a.97% b.100% c.74% d.50%
Answers: 1
You know the right answer?
Def addnums(a, b, c = 4): sum_abc = a + b + c + d if sum_abc % 2 == 0: return sum_abc, 'even' if s...
Questions
question
Computers and Technology, 04.02.2022 17:00
question
Mathematics, 04.02.2022 17:10
question
Mathematics, 04.02.2022 17:10
question
English, 04.02.2022 17:10
question
Computers and Technology, 04.02.2022 17:10
Questions on the website: 13722367