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
djverab [1.8K]
3 years ago
6

Write a method called printRangeOfNumbers that accepts a minimum, maximum numbers as parameters and prints each number from mini

mum up to that maximum, inclusive, boxed by curly brackets. For example, consider the following method calls:
Computers and Technology
1 answer:
timama [110]3 years ago
5 0

Answer:

The method in python is as follows:

class myClass:

    def printRange(min,max):

         for i in range(min, max+1):

              print("{"+str(i)+"} ", end = '')

           

Explanation:

This line declares the class

class myClass:

This line defines the method

    def printRange(min,max):

This line iterates from min to max

         for i in range(min, max+1):

This line prints the output in its required format

              print("{"+str(i)+"} ", end = '')

You might be interested in
The function below takes two integer parameters: low and high. Complete the function so that it prints the numbers from low to h
NikAS [45]

Answer:

def print_range(low, high):

 for i in range(low,high):

   print(i)

Explanation:

Create the function to accept two parameters (low and high)

Use a for loop to iterate from low to high using the range function

Print the value at each iteration

See a complete program and output below.

<em>def print_range(low, high): </em>

<em>  for i in range(low,high):</em>

<em>    print(i)</em>

<em>low = 1</em>

<em>high =10</em>

<em>print_range(low, (high+1)) </em>

<em />

5 0
4 years ago
Item 3Item 3 John works for Internal Computer Specialists, which focuses on helping small business owners resolve MIS infrastruc
White raven [17]

Answer:

Replacing computer parts.

Explanation:

John replaces faulty computer parts, such as DVDs, hard drives, ram cards, wires etc. John can also replace the whole motherboard or clean it (for dust).

Computer parts not functioning properly or dying is a common problem in computer systems. Motherboard, the circuit that holds all the components of a computer, like CPU, Ram and Hard disk, can also fail or die.

5 0
3 years ago
Write is the use of find and replace cpmmand​
jeka94

Answer:

Control H is the command to Find and Replace. It is used to find a word and replace the word with something else.

Explanation:

5 0
3 years ago
A typical pda includes a(n) _____.
Ratling [72]
A.External Monitor.Hope I helped.
5 0
4 years ago
Read 2 more answers
WordProcessor is a _________________
madam [21]

Answer: Application Software

Explanation: A word processor is referred as the application software that is for the  creation and editing of a document. It is also used for getting the hard copy of the document by printing it .The data entered in it can be modified according to our need by giving certain commands from the keyboard. It has several features like  storing of data, displaying of data,printing it etc.

3 0
3 years ago
Other questions:
  • Create an application for a library and name it FineForOverdueBooks. TheMain() method asks the user to input the number of books
    9·1 answer
  • Submit your 300-word essay describing the equipment usedI in a well-equipped studio’s audio department and the training and expe
    8·2 answers
  • Which of the following allowed Temple Grandin to design more humane means of slaughtering cattle? she treated the cattle as inca
    5·2 answers
  • If an Administrator performs a clean install of Windows Server 2012 R2 on a new server, and then moves critical domain services
    9·1 answer
  • Which tag provides information about a web site?
    12·1 answer
  • * Declare a variable called "race" of type "Race", andinitialise its value to a new instance of the "Race" class. The"Race" cons
    10·1 answer
  • Nonverbal messages from the movie it​
    5·2 answers
  • Shira’s Shoes sold 875,000 pairs of sandals in June, which was 70% of the total number of shoes sold. How many shoes did the com
    14·2 answers
  • The Matlab Script should:1. Clear the command window2. Clear the workspaceQuestion 1: Why do we clear the command window and wor
    9·1 answer
  • Scripting languages are unique computer languages with a specialized function. explain what scripting languages do, and how this
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!