portedon4971 portedon4971
  • 30-12-2021
  • Computers and Technology
contestada

how to output an array from an array of inputs in python

Respuesta :

kenshri1
kenshri1 kenshri1
  • 30-12-2021

Answer: I made the example program for you

end = False

array = []

# input as an array

while not end:

   string = input("Enter something: enter exit to end: ")

   if string == "exit":

       end = True

   else:

       array.append(string)

# print every element in the array

for string in array:

   print("you entered:" + string)

Answer Link

Otras preguntas

in the periodic table, the period number indicate
durning which period did jamestown suffer its longest unbroken period of drought
what is resolution synonym
how can networking with friends, colleagues, and members of organizations assist you in your quest to become who you want to be?
Find the number of kilometers in 92.25m.
a thermometer reading is 10°F and the wind speed is 20 mph is the game postponed or held
determining phylogeny is a goal of
Write the name of each of the following Ionic Compounds: Ba3(PO4)2 , MgSO4 , PbO2
The proper style for an argumentative essay is?
Why was Georgia governed by different rules than the other southern colonies? A. It was founded for military reasons B. it was founded for Political reasons C.