Westonci.ca makes finding answers easy, with a community of experts ready to provide you with the information you seek. Our platform provides a seamless experience for finding reliable answers from a knowledgeable network of professionals. Our platform provides a seamless experience for finding reliable answers from a network of experienced professionals.
Sagot :
Answer:
numbers = '14 36 31 -2 11 -6'
nums = numbers.split(' ')
for i in range(0, len(nums)):
nums[i] = int(nums[i])
print(nums)
The program is an illustration of arrays and lists.
Arrays and lists are variables that are used to hold multiply values in one variable
The program in Python, where comments are used to explain each line is as follows:
#This gets input for the list of numbers
numbers = input()
#This splits the numbers into a list
numList = numbers.split(' ')
#This iterates through the list
for i in range(len(numList)):
#This converts each element to an integer
numList[i] = int(numList[i])
#This prints the list
print(numList)
Read more about Python lists at:
https://brainly.com/question/24941798
We hope our answers were useful. Return anytime for more information and answers to any other questions you have. Thank you for your visit. We're committed to providing you with the best information available. Return anytime for more. We're here to help at Westonci.ca. Keep visiting for the best answers to your questions.
The cost in dollars to print n books is 500 + 10n.
How many books are printed for a cost of $15 000?