1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ahrayia [7]
3 years ago
11

To iterate through (access all the entries of) a two-dimensional arrays you

Computers and Technology
1 answer:
ahrayia [7]3 years ago
6 0

Answer: You would need two loops to iterate through both dimensions

Explanation:

matrix = [[1,2,3,4,5],

              [6,7,8,9,10],

              [11,12,13,14,15]]

for rows in matrix:

    for numbers in rows:

         print(numbers)

The first loop cycles through all the immediate subjects in it, which are the three lists. The second loop calls the for loop variable and iterates through each individual subject because they are lists. So the first loop iterates through the 1st dimension (the lists) and the seconds loop iterates through the 2nd dimension (the numbers in the lists).

You might be interested in
How does a hard drive work
IgorC [24]
You just have to put it into a computer and a file is gonna come up
7 0
3 years ago
Read 2 more answers
If you'd like to queue multiple exports and keep working on a different project in Premiere Pro, what method should you use?
pogonyaev

Answer:

Export to Adobe Media Encoder CC only

Explanation:

5 0
3 years ago
4
WITCHER [35]
B.
MARK KE BRAINLEST
8 0
3 years ago
What materials can I find at home and make a cell phone tower​
MAVERICK [17]

Answer:

you cant

Explanation:

You simply cant make a tower from materials found in a household

4 0
3 years ago
What option would fit the most content on a page?
zvonat [6]

Answer:

normal margins will fit the most content on a page

7 0
2 years ago
Other questions:
  • A Windows systems administrator should use the Administrator account ________.a. As little as possible, and only when needed b.
    15·1 answer
  • What is the purpose of the backoff on Ethernet networks?
    5·1 answer
  • Create a function named PrintStudents, which takes a string input filename and an integer minimum score value and a string outpu
    14·1 answer
  • _____ are skilled computer users who try to gain unauthorized access to other people’s computers.
    15·1 answer
  • Partitioning the hard drive allows you to do which of the following?
    11·1 answer
  • In basic network scanning, ICMP Echo Requests (type 8) are sent to host computers from the attacker, who waits for which type of
    14·1 answer
  • Why there isn't in italian this app?​
    15·1 answer
  • Can somebody help me and make a code for this in PYTHON, please? I would be very thankful!
    10·1 answer
  • A computer consists of both software and hardware. a)Define the term software​
    5·1 answer
  • with a ____ the traffic of a given enterprise or group passes transparently through an internet in a way that effectively segreg
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!