subject

Size = 6 def get_numbers(num): numbers = [] user_input = input('enter %s integers: \n' % num) i = 0 for token in user_input. split(): number = int(token) # convert string input into integer numbers. append(number) # add to numbers list print(i, number) i += 1 return numbers def print_all_numbers(numbers): # print numbers print('numbers: ') def print_odd_numbers(numbers): # print all odd numbers print('odd numbers: ') def print_negative_numbers(numbers): # print all negative numbers print('negative numbers: ') nums = get_numbers(size) print_all_numbers(nums) print_odd_numbers(nums) print_negative_numbers(nums)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:00
When designing content as part of your content marketing strategy, what does the "think" stage represent in the "see, think, do, care" framework?
Answers: 3
question
Computers and Technology, 22.06.2019 17:00
Your computer running windows 10 is doing some very strange things with the operating system. you are fairly certain it is not a hardware issue. you need to try to get further insight into what is going on within the operating system. which tool would be best suited for this?
Answers: 2
question
Computers and Technology, 23.06.2019 12:00
If you embed a word table into powerpoint, what happens when you make edits to the embedded data? a. edits made to embedded data change the data in the source file; however, edits made to the source file will not be reflected in the embedded data. b. edits made to embedded data will change the data in the source file, and edits made to the source file will be reflected in the embedded data. c. edits made to embedded data don't change the data in the source file, nor will edits made to the source file be reflected in the embedded data. d. edits made to embedded data don't change the data in the source file; however, edits made to the source file will be reflected in the embedded data.
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Visually impaired individuals generally rely on the for navigation. thus, designers need to ensure that mouse-specific inputs, such as pointing, clicking, and hovering, can be done without a mouse.
Answers: 1
You know the right answer?
Size = 6 def get_numbers(num): numbers = [] user_input = input('enter %s integers: \n' % num) i = 0...
Questions
question
Mathematics, 02.03.2021 01:00
question
Chemistry, 02.03.2021 01:00
question
Mathematics, 02.03.2021 01:00
question
Mathematics, 02.03.2021 01:00
Questions on the website: 13722367