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
Svetradugi [14.3K]
3 years ago
9

Write a short Python function, is_multiple(n, m), that takes two integer values and returns True is n is a multiple of m, that i

s, n = mi for some integer i, and False otherwise. A common punishment for school children is to write out a sentence multiple times. Write a Python stand-alone program that will write the following sentence one hundred times: "I will never spam my friends again."
Computers and Technology
1 answer:
Marat540 [252]3 years ago
8 0

Answer:

first:

def is_multiple(n, m):

   return (m % n) == 0

second:

for i in range(100):

   print "I will never spam my friends again."

You might be interested in
Which class members should be declared as public?
yawa3891 [41]

Answer:

B. Methods and occasionally final attributes

Explanation:

In Computer programming, class members can be defined as the members of a class that typically represents or indicates the behavior and data contained in a class.

Basically, the members of a class are declared in a class, as well as all classes in its inheritance hierarchy except for destructors and constructors.

In a class, member variables are mainly known as its attributes while its member function are seldomly referred to as its methods or behaviors.

One of the main benefits and importance of using classes is that classes helps to protect and safely guard their member variables and methods by controlling access from other objects.

Therefore, the class members which should be declared as public are methods and occasionally final attributes because a public access modifier can be accessed from anywhere such as within the current or external assembly, as there are no restrictions on its access.

6 0
3 years ago
Word's Help feature is useful if you need to quickly learn how to print a document
KATRIN_1 [288]
If your on a website Ctrl+P and than chose your printer and print. or if downloaded it open it and find the print on the top left
7 0
3 years ago
Examples of hybrid computer​
Inga [223]

example, the Speedometer of a car measures the speed, changes in temperature in the body with a thermometer’s help, and weighs our body with a weighing machine.

6 0
3 years ago
Read 2 more answers
Suppose a computer has 16-bit instructions. The instruction set consists of 32 different operations. All instructions have an op
Kazeer [188]

Answer:

2^7= 128

Explanation:

An instruction format characterizes the diverse part of a guidance. The fundamental segments of an instruction are opcode and operands. Here are the various terms identified with guidance design:  Instruction set size tells the absolute number of guidelines characterized in the processor.  Opcode size is the quantity of bits involved by the opcode which is determined by taking log of guidance set size.  Operand size is the quantity of bits involved by the operand.  Guidance size is determined as total of bits involved by opcode and operands.

6 0
4 years ago
What does the Latin word VIDEO mean?<br> 1 I vine<br> O I conquered<br> I see<br> I hear
brilliants [131]

It comes from the word: “I see”

4 0
3 years ago
Other questions:
  • Number of byte required to store illumination
    13·1 answer
  • What is the primary purpose for a screen saver in windows?
    8·1 answer
  • Given an integer variable count, write a statement that displays the value of count on the screen. Do not display anything else
    11·1 answer
  • If an app needs to perform a derived-class-specific operation on a derived class object reference by a base class variable, the
    9·1 answer
  • Suppose L is a LIST and p, q, and r are positions. As a function of n, the length of list L, determine how many times the functi
    8·1 answer
  • What tag is used to contain information about a web page, such as the title and related pages?
    12·1 answer
  • Compute the acceleration of gravity for a given distance from the earth's center, distCenter, assigning the result to accelGravi
    12·1 answer
  • Which job qualifications are typical for someone who wants to work in Information Support and Services?
    8·2 answers
  • A web application's code prevents the output of any type of information when an error occurs during a request. The development t
    12·1 answer
  • Explain the role of protocol and standard organization in facilities interoperability in nertwork communication ​
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!