It would take 2 consultants 30 hours to create a slide deck of 120 slides.
Explanation:
Rate of slide making by one consultant- 2 slides per hour
Target- 120 slides
2 consultants are employed in the job-
Since 2 consultants are employed in the job, total rate of making slides per hour would be 4 slides/hour (2*2 slides/hour)
Time required to complete 120 slides= total slides/rate of doing slides per hour
Substituting the values, we get
Time required= 120/4= 30 hours
Hence, it would take 30 hours for 2 consultants to create a slide deck of 120 slides.
English mathematician and inventor Charles Babbage is credited with having conceived the first automatic digital computer. During the mid-1830s Babbage developed plans for the Analytical Engine. Although it was never completed, the Analytical Engine would have had most of the basic elements of the present-day computer.
The cd command, also known as chdir (change directory), is a command-line shell command used to change the current working directory in various operating systems. It can be used in shell scripts and batch files.
Answer:
def main():
name = input("What is your name? ")
if not name == "" or "":
age = int(input("What is your age? "))
print("Hello " + name + "! You were born in " + str(2021 - age))
main()
Explanation:
Self explanatory
Answer:
import random
import math
smaller = int(input("Enter the smaller number: "))
larger = int(input("Enter the larger number: "))
count = 0
print()
while True:
count += 1
myNumber = (smaller + larger)
print('%d %d' % (smaller, larger))
print('Your number is %d' % myNumber)
choice = input('Enter =, <, or >: ')
if choice == '=':
print("Hooray, I've got it in %d tries" % count)
break
elif smaller == larger:
print("I'm out of guesses, and you cheated")
break
elif choice == '<':
larger = myNumber - 1
else:
smaller = myNumber + 1
Explanation:
- Inside an infinite while loop, add the smaller and larger number and assign that value to myNumber variable.
- Check the choice and then print the relevant display message.