subject

Please hel. Rearrange the parts of the program to generate two random integers and then ask the user to guess the greatest common divisor. First part
Second part
Fourth part
Third part

1. from math import gcd
from random import randrange

numA=randrange(6,50,2)

numB = randrange(6,30,2)

if guess ==

print("Good job! You are right.")

print("The right answer is",answer)

answer = gcd(numA, numB)
guess = input("Greatest common divisor of " + str(numA) + " and " + str(numB) + "? " )

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:30
Which of the following are types of formatting you can apply to a spreadsheet? choose all that apply.
Answers: 3
question
Computers and Technology, 22.06.2019 04:30
There is a simple pattern for determining if a binary number is odd. what is it and why does this pattern occur? how many bits would you need if you wanted to have the ability to count up to 1000? how high could you count in binary if you used all 10 of your fingers as bits? (finger up means 1, finger down means 0)
Answers: 3
question
Computers and Technology, 24.06.2019 14:30
Which computer network component connects two different networks together and allows them to communicate? a is a node (or a device) that connects two different networks together and allows them to communicate.
Answers: 1
question
Computers and Technology, 24.06.2019 15:30
George is working as a programming team lead. which statements correctly describe the skills that he requires?
Answers: 3
You know the right answer?
Please hel. Rearrange the parts of the program to generate two random integers and then ask the user...
Questions
question
English, 21.08.2019 02:30
Questions on the website: 13722361