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:
Syntax error
Explanation:
This is a type of error that occurs when there is a problem with the code that makes it unable to compile and execute.
For example, making a conditional statement without using the correct parameters will result in a syntax error.
Answer:
TIFF file is not audio format file rather it is graphic container that stores raster images.
Explanation:
Gain can add all other audio files (MIDI, MP3, Windows media audio file) to his presentation.
What are MIDI, MP3 and WMA :
MIDI:
Musical Instrument Digital Interface (MIDI) is a protocol that is designed for recording and playback music on digital synthesizers that is supported by many computer sound cards. Gian can add MIDI audio format file in his presentation.
MP3:
This audio file format technology compress a sound technology into very small file while preserving the original quality of sound when it is played. Gian can add this audio format in presentation to play audio in presentation.
WMA
This audio format is developed by Microsoft. It contains a series of audio codecs and their corresponding audio formats.
Gian can add WMA extension audio file to his presentation to play audio.
Answer:
Iterator is the element that used for transversing of any container by the user. This provides the facility to user to process any constituent belonging to the container and storage of these elements can be in any form.
This situation takes place under the isolation condition of the user from the container's internal model. Abstract data types use iterators for the maintenance of the transversal of the data structure.