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
earnstyle [38]
3 years ago
14

Declare a 4 x 5 array called N.

Computers and Technology
1 answer:
Ivan3 years ago
8 0

Answer:

N = [1,1,1,1,1],

[2,2,2,2,2],

[3,3,3,3,3],

[4,4,4,4,4]

def printIt(ar):

  for row in range(len(ar)):

      for col in range(len(ar[0])):

          print(ar[row][col], end=" ")

      print("")

           

N=[]

for r in range(4):

  N.append([])

   

for r in range(len(N)):

  value=1

  for c in range(5):

      N[r].append(value)

      value=value + 1

           

printIt(N)

print("")

newValue=1

for r in range (len(N)):

  for c in range(len(N[0])):

      N[r][c] = newValue

  newValue = newValue + 1

       

printIt(N)

Explanation:

:D

You might be interested in
You can increase your efficiency by using your e-mail program's spell checker because it eliminates the need for you to proofrea
galina1969 [7]
The answer is True bc it saves you time and is efficient
6 0
3 years ago
List three natural defects of wood<br>​
mr_godi [17]

Answer:

rotting, drying out, decay

Explanation:

5 0
3 years ago
Read 2 more answers
With a two-dimensional array, the ____ field holds the number of rows in the array.
m_a_m_a [10]

Answer:

b.row

Explanation:

A two-dimensional array holds value in two dimensions . It is usually represented in the form of rows and columns. The row fields holds the number of rows in the array while the column fields holds the number of columns in the arrays.

4 0
4 years ago
The guy wire BD exerts on the telephone pole AC a force P directed along BD. Knowing that P must have a 720-N component perpendi
AysviL [449]

Answer:

Explanation:

  • From the diagram, tanФ = opp/Adj = 2.4m/7m
  • tanФ = 0.3429. Ф = arctan ( 0.3429 )
  • Therefore, Ф = 18.92°

Given force perpendicular to AC from the diagram = 720N

  • Resolving vertically; PsinФ = 720

a) P = 720/sin18.92° = 2220N = the magnitude of the force P

b) To get component along line AC;

  • resolving horizontally, component along AC = PcosФ
  • = 2220 x cos 18.92° = 2100N

8 0
4 years ago
What is database? Please answer ASAP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ON Microsoft power
ad-work [718]
A database is where data is stored. Also known as a structured set of data held in a computer.
4 0
3 years ago
Read 2 more answers
Other questions:
  • What OS is most commonly used by businesses? Linux Macintosh Microsoft Windows
    11·1 answer
  • How long before a speech should you begin practicing?
    10·2 answers
  • What is the wave speed of a wave that has a frequency of 100 Hz and a wavelength of 0.30m?
    5·1 answer
  • What will the following program display?
    6·1 answer
  • As the demand for goods and services decreases, job growth.
    14·2 answers
  • Open IDLE. Create a new script file (File--&gt;New File, Ctrl n on Windows, Cmd n on macOS). On the first line, place your name
    6·1 answer
  • My sister put my phone in the microwave and I'm pretty sure the battery blew up. I'm too scared to open the microwave. What do I
    11·1 answer
  • Charles wants to work for himself in the Transportation and Logistics career cluster. Which lists the jobs with the best
    7·2 answers
  • 11.5 Code Practice edhesive
    10·2 answers
  • What is a fundamental difference between the SAP platform and the AirBnB platform?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!