subject

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?

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 01:50
Create a class named majors that includes an enumeration for the six majors offered by a college as follows: acc, chem, cis, eng, his, phys. display the enumeration values for the user, then prompt the user to enter a major. display the college division in which the major falls. acc and cis are in the business division, chem and phys are in the science division, and eng and his are in the humanities division. save the file as majors.java.
Answers: 2
question
Computers and Technology, 23.06.2019 18:30
Write a program that prints the day number of the year, given the date in the form month-day-year. for example, if the input is 1-1-2006, the day number is 1; if the input is 12-25-2006, the day number is 359. the program should check for a leap year. a year is a leap year if it is divisible by 4, but not divisible by 100. for example, 1992 and 2008 are divisible by 4, but not by 100. a year that is divisible by 100 is a leap year if it is also divisible by 400. for example, 1600 and 2000 are divisible by 400. however, 1800 is not a leap year because 1800 is not divisible by 400.
Answers: 3
question
Computers and Technology, 24.06.2019 02:10
Which sentences describe the things you need to ensure while creating a sketch and a drawing? while an artistic or creative drawing is a creative expression, a technical drawing is an informative expression. you need to create accurate and neat drawings to convey accurate information. a technical drawing clearly conveys its meaning or information, and does not leave room for interpretation maintain a good speed while creating drawings
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
Universal windows platform is designed for which windows 10 version?
Answers: 1
You know the right answer?
Animals = ['aardvark', 'anteater', 'antelope', 'albert'] >>>animals[9999] Help, my teacher...
Questions
question
English, 28.10.2020 19:30
question
Mathematics, 28.10.2020 19:30
question
Mathematics, 28.10.2020 19:30
Questions on the website: 13722367