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
denis-greek [22]
3 years ago
15

Given the number of rows and the number of columns, write nested loops to print a rectangle. (PYTHON)

Computers and Technology
2 answers:
Allushta [10]3 years ago
6 0

Answer:

Explanation:

Please see the attached picture for help.

kow [346]3 years ago
4 0

Answer:

Give first variable i for interger and we can name the second variable j.  This needs to be done using the range() function. Also don't forget the end='' to put them with a space. It will print the j then the i because of where the two prints are located.    

Explanation:

num_rows = int(input())

num_cols = int(input())

for i in range(num_rows):

   for j in range(num_cols):

       print('*', end=' ')

   print()

You might be interested in
1. Discuss the pros and cons of human-computer interaction technology?
Lana71 [14]

!

gcoo!!Exykgvyukhhytocfplanationufvhyg:

3 0
3 years ago
LAB: Formatted output: Hello World! Write a program that outputs "Hello World!" For ALL labs, end with newline (unless otherwise
maxonik [38]

Answer:

public class LabProgram {

  public static void main(String[] args) {

     System.out.println("Hello World!");    }  }

Explanation:

In this statement: System.out.println

System is a class in JAVA language package

out is a member of class System

println() is a functionT to print or display message to a console or file

So the message to print here is Hello World!

Now this statement   System.out.println prints the message "Hello World!" passed in the argument.

Hence this statement as a whole displays the message Hello World! on the output screen.

6 0
3 years ago
What is used in computer appliances and special-purpose applications, such as an automobile, ATM, or media player and is used fo
zlopas [31]

Answer:

Embedded Operating System.

Explanation:

Embedded OS (also called Real Time Operating System) is designed to perform a single purpose in devices that may or may not be computers that have very little computer power and little RAM size such as washing machines, ATM, media player, automobiles, and cameras.  Examples of such embedded operating system are iOS(used in Apple's mobile devices), Symbian, Palm OS and Window OS.

Since they are used in single-purpose computers, they handle and perform their tasks with so much efficiency.

<em>Hope this helps!</em>

6 0
3 years ago
Which of the following tasks can you perform using a word processor?
My name is Ann [436]
Create a outline of sections to be included in a document
8 0
3 years ago
What was the first car ever produced by Henry ford
Slav-nsk [51]

It was "The Henry Ford"

6 0
3 years ago
Other questions:
  • 8) Which of the following statements is FALSE?
    14·1 answer
  • NEED HELP PLEASEE!!!
    9·1 answer
  • Letter Frequency Write a function that will take a string and return a count of each letter in the string. For example, "my dog
    5·1 answer
  • ____ is one of the primary operations of a computer.
    10·1 answer
  • List two types of energy sources
    10·2 answers
  • Please help thank you !!!
    7·2 answers
  • The __________ gear is the input gear.<br> A. Drive<br> B. Driven
    5·2 answers
  • Bro i swear whenever i play fortnite duos, they ask you if you don't have a mic, if you don't then they just leave, so annoying
    15·2 answers
  • Select the correct answer..
    6·1 answer
  • A user reports that he cant browse to a specific website on the internet. From his computer, you find that a ping test to the We
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!