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:
this:name = 'John'
print("Is name == 'John'? I predict True.")
print(name == 'John')
print("\nIs name == 'Joy'? I predict False.")
print(car == 'Joy')
this:age = '28'
print("Is age == '28'? I predict True.")
print(age == '28')
print("\nIs age == '27'? I predict False.")
print(age == '27')
this:sex = 'Male'
print("Is sex == 'Female'? I predict True.")
print(sex == 'Female')
print("\nIs sex == 'Female'? I predict False.")
print(sex == 'Joy')
this:level = 'College'
print("Is level == 'High School'? I predict True.")
print(level == 'High School')
print("\nIs level == 'College'? I predict False.")
print(age == 'College')
Conditions 1 and 2 test for name and age
Both conditions are true
Hence, true values are returned
Conditions 3 and 4 tests for sex and level
Both conditions are false
Hence, false values are returned.
Answer:
Page Setup Grouping.
Explanation:
In Microsoft Word, Columns break up the page into, at max, 13 columns, and at minumum, 2. The way you go about doing this is
- Go to the Layout Tab
- Go to the Page setup Grouping
- Click on the Columns Action
- In the Dialog Box, choose either from one of the presents, or custom make your own column settings.
- Click Okay
- Done!
Answer:
"Geographic information systems
" is the right answer.
Explanation:
- This is indeed a computer-based method for observing and analyzing current events that are happening on the planet. GIS could enhance teaching and learning begin to understand geographical trends and regularities by relaying completely unconnected information.
- It represent an experimental field and while the GIS supplier government offers us modern, improved, and quicker technical resources for the computer hardware.