142k views
4 votes
List = [1,2,3,'a','b','c'] ... write a code to output b * (python)

2 Answers

3 votes

Answer:

print(list[4])

Step-by-step explanation:

Complete breakdown:

The command 'print' shows what command is displayed on the screen

The 'list' shows that Python should print something inside a list

The '4' is the index number of list. Index numbers start from 0 so

'1' - 0

'2'- 1

'3' - 2

'a' - 3

'b' - 4

'c' - 5

User Adrocknaphobia
by
7.9k points
3 votes

Answer:

please tell me if you find the answer i have the same q for my IT med term

User John Bartholomew
by
8.0k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.