Answer:
radius = float(input('Radius: '))
area = 3.14 * (radius ** 2)
print(f'Area of the circle is: {area}')
Answer:
speed = float(input("Enter the speed: "))
hours = int(input("Enter the hours: "))
distance = 0
for i in range(hours):
distance += speed * 1
print("The distance after " + str(i+1) + ". hour(s): " + str(distance))
Explanation:
*The code is in Python.
Ask the user to enter the speed and the hours
Initialize the distance as 0
Create a for loop that iterates hours times. Inside the loop, calculate the cumulative distance traveled at the end of each hour and print it (Note that the distance = speed x hour)
Answer:
D. Ctrl+Tab
Explanation:
The Ctrl+Tab shortcut is typically used to move to the previous entry box.
Netstat
Type netstat -a to get a complete overview.