Answer:
def print_popcorn_time(bag_ounces):
if bag_ounces<3:
print("Too Small")
elif bag_ounces>10:
print("Too Large")
else:
bag_ounces = bag_ounces*6
print("%s Seconds\n" % bag_ounces)
Explanation:
- Using Python Programming Language
- The function is defined to accept an int parameter
- Within the function body, if...elif and else statements are used to print the desired output
- note the use of the %s placeholder (formated output) and \n for a new line in the final print statement
Answer:
Micro controller or MCU (Microcontroller Unit)
Explanation:
Micro Controller Unit is basically a computer on a chip with all components fabricated onto it. It is the core component of a computer.
A Micro Controller has:
- Central Processing Unit CPU
- Random access memory RAM
- Read-only memory ROM
- I/O peripherals
- Timers
- Serial COM ports
all fabricated on a single chip so that it may be connected via buses for providing the desired functionality.
<h3>I hope it will help you!</h3>