Answer:
num_guesses = 3 #initialized number of guesses to 3
user_guesses = [] #declared the user_guesses array
guess = 0 #guess variable initialized to 0
print('Enter a number: ') #prompt telling the user to enter a number
while guess < num_guesses: #loop capturing input and storing into array
num = int(input())
user_guesses.append(num)
guess = guess + 1
#end of loop
print(user_guesses) #array outputted to user
Explanation:
The above program captures numbers from the user and stores into an array (user_guesses), the length of the array is determined by the value contained in the num_guesses variable, it prints the combined input as an array.
Answer:
B Amount of digital Information doubles every year .
Explanation:
The amount of digital information doubles every year while the cost of storing this digital data falls as the number of kilobytes that can be stored on given media doubles with each passing year which in turn gives reduced cost on the media .In this era of big data there is a great need for information that is easily accessible and readily available for sharing for example cloud computing.