1.
name = input("Enter your name: ")
num1 = int(input("Hello "+name+ ", enter an integer: "))
num2 = int(input(name+", enter another integer: "))
try:
if num1 % num2 == 0:
print("The first number is divisible by the second number")
else:
print("The first number is not divisible by the second number")
except ZeroDivisionError:
print("The first number is not divisible by the second number")
try:
if num2 % num1 == 0:
print("The second number is divisible by the first number")
else:
print("The second number is not divisible by the first number")
except ZeroDivisionError:
print("The second number is not divisible by the first number")
2.
import random, math
num1 = float(input("Enter a small decimal number: "))
num2 = float(input("Enter a large decimal number: "))
r = round(random.uniform(num1, num2), 2)
print("The volume of a sphere with radius " + str(r) + " is " + str(round(((4 / 3) * math.pi * (r ** 3)), 2)))
I hope this helps!
Answer:
code reviewer
Explanation:
In this scenario, the project manager should advertise for a code reviewer. Usually a development team has at least 2 code reviewers that are very familiar with the code that is being written for the project. Once sections of code have been completed it is usually the case that both the project lead and a code reviewer both review the entire software to look for bugs and note improvements that can be made to make the code more efficient.
Answer:
True
Explanation:
Domain extensions always appear at the end of a website's address.
It's a means to categorise websites.
.edu domains are used for educational purposes
.gov are restricted to by government entities
.org is largely used by nonprofit websites.
While
.net is derived from the word network, indicating it was originally intended for organizations involved in networking technologies, such as Internet service providers and other infrastructure companies
.biz is intended for registration of domains to be used by businesses
The right domain extension adds credibility and memorability to your website by aligning it with a specific brand purpose.