Computers and Technology

Animals = ['aardvark', 'anteater', 'antelope', 'albert'] >>>animals[9999] Help, my teacher wants to me to explain what the output is and why for this python code, but I really don't know what to do for the second part. If we were just printing the "animals = ['aardvark', 'anteater', 'antelope', 'albert']" part it would be easy. However, I don't know about the >>>animals[9999] part. Apparently, the >>> is supposed to mean call function. Could someone explain what output would be and why?

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 01:40, Serenitybella
When the pc version of the spreadsheet program became available, the ibm pc quickly became the top-selling personal computer?
Answers: 3
image
Computers and Technology, 22.06.2019 06:30, messyquestions
Plz 40 points what are raster vectors? a bitmap image a vector file a type of printing press a small projector
Answers: 1
image
Computers and Technology, 22.06.2019 13:00, Cookie320
Write a program which asks you to enter a name in the form of first middle initial last. so you might enter for example samuel p. clemens. use getline to read in the string because it contains spaces. also, apparently the shift key on your keyboard doesn’t work, because you enter it all lower case. pass the string to a function which uses .find to locate the letters which need to be upper case and use toupper to convert those characters to uppercase. the revised string should then be returned to main in the form last, first mi where it will be displayed.
Answers: 1
image
Computers and Technology, 23.06.2019 15:00, med69
Barbara is interested in pursuing a career in the science and math pathway. which qualifications will her reach that goal? a. an advanced knowledge of physics and math b. an advanced knowledge of engineering and math c. an advanced knowledge of physics and robotics an d. advanced knowledge of machinery and math
Answers: 2
Do you know the correct answer?
Animals = ['aardvark', 'anteater', 'antelope', 'albert'] >>>animals[9999] Help, my teacher...

Questions in other subjects:

Konu
Mathematics, 04.12.2020 06:30