helps us for typing letters, numbers and symbols etc.
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:
NAS systems are networked appliances that contain one or more storage drives, often arranged into logical, redundant storage containers or RAID.
Answer:
1946
First, to deal with the more recent and most familiar meaning of the word ‘computer’: the word first came to mean an electronic device used to store and communicate information (and all of its subsequent functions) only in the 1940s: the earliest citation in the Oxford English Dictionary is from 1946. This is fitting.
Explanation:
The below displays ice-creams with its associated flavours. This we would display using <UL>
• Stick
o Chocobar
o Feast
• Bowl
o Butterscotch
o Blueberry
<UL>
<LI>Stick
<UL>
<LI>Chocobar </LI>
<LI> feast</LI>
</UL>
</LI>
<LI>Bowl
<UL>
<LI> Butterscotch </LI>
<LI> Blueberry </LI>
</UL>
</LI>
</UL>
Here <UL> tag is used to create un ordered list and one another <UL> tag inside <LI> created nested list which is the actual requirement. Like this we can created nested unordered lists and you can nest upto 4 levels and increasing the number of levels further may reduce clarity.