subject
Computers and Technology, 21.12.2020 16:20 tai1611

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: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 08:30, marialuizavalen
Today is the anniversary of me being on yet, i don't need it anymore! here's a picture of my dog wearing a bowtie! my question is, how do i delete my account?
Answers: 1
image
Computers and Technology, 23.06.2019 01:30, marmar72
Negative methods of behavior correction include all but this: sarcasm verbal abuse setting an example for proper behavior humiliation
Answers: 1
image
Computers and Technology, 23.06.2019 15:20, headshotplayzcod
In a game with three frames, where will the objects on layer 1 appear? a. next to the play area b. in the middle of the game c. behind everything else d. in front of everything else
Answers: 1
image
Computers and Technology, 23.06.2019 18:00, MagicDragon4734
Freya realizes she does not have enough in her bank account to use the debit card. she decides to use a credit card instead. which questions should freya answer before using a credit card? check all that apply. can i pay at least the minimum payment each month? can i make payments on time and avoid late fees? will i have to take out a loan? how much in finance charges can i afford to pay? should i talk to a consumer credit counseling service?
Answers: 1
You know the right answer?
size = 6 def get_numbers(num): numbers = [] user_input = input('Enter %s integers:\n' % num) i = 0 f...

Questions in other subjects: