Computers and Technology
Computers and Technology, 03.05.2021 22:10, sswd

(a) In Python programming what are sentinel values used for? (2 marks) (b) Write a function called inputNums that has no arguments. This function repeatedly asks the user to input a whole number, until the user enters the letter Q.
The function returns the numbers entered as a list of integers. You may assume
the user types in the information correctly (6 marks)
(c) Write a function called DisplayPostive that accepts a list of numbers and
prints to the screen only the positive numbers. You may assume the list only
contains numbers. (4

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 00:30, vane3152
If joey was single and his taxable income was $9,500, how much would he pay in taxes each year?
Answers: 1
image
Computers and Technology, 23.06.2019 09:30, ranmmm
The place where the extended axis of the earth would touch the celestial sphere is called the celestial
Answers: 1
image
Computers and Technology, 23.06.2019 12:00, clevelandjaniya1
Which of these is a benefit of using objects in a powerpoint presentation? a. collaborators can create the external files while you create and edit the slide show. b. you can easily change the theme and design of the presentation. c. you can have older data in the source file while having up-to-date data in the presentation. d. collaborators can easily share the presentation.
Answers: 2
image
Computers and Technology, 23.06.2019 12:00, xojade
Which of these is an example of an integrated presentation? a. a table created in powerpoint b. an image pasted into powerpoint c. a caption created in powerpoint d. an excel chart pasted into powerpoint
Answers: 1
Do you know the correct answer?
(a) In Python programming what are sentinel values used for? (2 marks) (b) Write a function called...

Questions in other subjects:

Konu
Mathematics, 05.05.2020 11:18
Konu
Mathematics, 05.05.2020 11:18
Konu
History, 05.05.2020 11:18