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
Xelga [282]
3 years ago
14

Write the code in python to ask the user to input two integers. Your program will then print the greatest common divisor of the

two integers. Look at the math module for a function that will help you find the greatest common divisor.
Computers and Technology
1 answer:
Hunter-Best [27]3 years ago
3 0

import math

num1 = int(input("Enter a number: "))

num2 = int(input("Enter a number: "))

print(math.gcd(num1, num2))

The gcd() - greatest common divisor function, which is part of the math module works perfectly in this situation.

You might be interested in
Jin needs to add a row into his spreadsheet, but he does not want to remove any existing data. Which combination of options shou
disa [49]

Answer:

b. insert > entire row

5 0
3 years ago
Read 2 more answers
Accenture has put together a coalition of several ecosystem partners to implement the principles of blockchain and Multi-party S
lutik1710 [3]

Answer:

They include;

1. MAAG Pump Systems,

2. Automatik Plastics Machinery,

3. Gala Industries,

4. Reduction Engineering Scheer,

5. Ettlinger Kunststoffmaschinen and

6. XanTec EDV- und Steuerungstechnik

Explanation:

The MAAG group consists of six companies specialized in different aspects of polymer production. They provide their services to petrochemical, pharmaceutical and food production companies. They produce pellets, gear pumps, filtration systems and components, pelletizers, etc.

They have more than 1000 staff and their offices are located in about 11 countries of the world.

8 0
3 years ago
A chief Information Officer (CISO) is working with a consultant to perform a gap assessment prior to an upcoming audit. It is de
artcher [175]

Answer: (D) Vendor management plan

Explanation:

 The chief information officer (CISO) is basically explain about areas of the improvement to the vendors so that is why vendor management plan should be implemented to address the gap assessment in the upcoming audit.

Chief information officer basically managed all the report that are provided to the department of the audit on the monthly bases.

The vendor management are basically responsible for managing all the upcoming assessment in the audit in an organization.

8 0
3 years ago
What is a file allocation table (FAT), andwhere is it found on a floppy disk?
Akimi4 [234]

Answer:

File Allocation Table(FAT):- It is a computer file system  design and it is widely used on many computers and most of the memory  cards. FAT file systems are  commonly found on flash memory cards,floppy disks, digital cameras,  and many other portable devices.

In floppy disks, the FAT has been standardized as ISO/IEC 9293 and ECMA-107.These include FAT12 and FAT16 only without any long filename support.

5 0
3 years ago
11. SQL Output III
borishaifa [10]

Answer:

wertweabcd

Explanation:

The LPAD() function left-pads a string with another string, to a certain length.

LPAD(string, length, lpad_string)

Parameter Description

string: Required. The original string. If the length of the original string is larger than the length parameter, this function removes the overfloating characters from string

length: Required. The length of the string after it has been left-padded

lpad_string: Required. The string to left-pad to string.

In example;

SELECT LPAD("SQL Brainly", 20, "ABC");

Output : ABCABCABSQL Brainly

4 0
2 years ago
Other questions:
  • What is a possible style of formatting your company could prefer?
    14·2 answers
  • The mutt software is an example of what type of mail service software on Linux? a. Mail Delivery Agent b. Mail Transport Agent c
    5·1 answer
  • 9. Alcohol begins to affect your brain
    15·2 answers
  • Moore’s law states that the number of transistors on integrated circuits doubles approximately every two years?
    15·2 answers
  • Write a program that turns a 32-bit numeric value (e.g., 0xFFFFh) and converts it to a byte array such that it can be printed to
    10·1 answer
  • What do the power key and refresh key do when pressed together
    11·1 answer
  • The letters G, H, T, Y, B, and N are what type of keys?
    15·2 answers
  • What is an insertion point?
    6·1 answer
  • What are five (5) things about this career choice that appeals to you?
    7·1 answer
  • A/an _____________ is a stored program that executes at a specified time. Group of answer choices stored procedure view trigger
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!