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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 18:30, Svetakotok
Ineed on my history if anyone can check out the last few questions i posted and i will be posting !
Answers: 2
image
Computers and Technology, 21.06.2019 21:30, moomoo2233
What’s the process of observing someone actually working in a career that interests you?
Answers: 1
image
Computers and Technology, 22.06.2019 04:30, safi30360oz0c34
What kind of software users of all skill levels create web pages that include graphics, video, audio, animation, and other special effects? website authoring website software website publishing website editing
Answers: 1
image
Computers and Technology, 22.06.2019 06:30, Nicki3729
Exchanging which type of data uses the least bandwidth? music photographs video voice bandwidth- the amount of data that can be moved between two points in a set time period
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 in other subjects:

Konu
Mathematics, 26.06.2019 07:40