Answer:
<u>Syntax of function in the Python Programming Language.</u>
def function_name():
'''body of the function or code'''
#calling of the function
function_name()
Note: In Python Programming Language, Indentation is sensitive if you not focus on the indentation then, you program occurs an indentation error.
Explanation:
In Python Programming language, we can use the "def" keyword to define a function then we write the name of the function and then use parentheses for the argument list. "#" is used for the single-line comment and " ''' ''' " is used for the multiple line comment.
A function is the part or module of the program which provides users the feature of reusability of that code anywhere only by calling them.
Answer:
Mouse - USB
Monitor - display port, HDMI, and thunderbolt port
External hard drive - USB and thunderbolt port
Flash drive - USB
Explanation:
A computer mouse is an input device used to interact with a computer system. It connects with the computer through the USB port.
A Monitor is an output device that is used to display information on a computer system. It can be connected to the system through the display ports, HDMI, and the thunder port.
The External hard drive is a storage device that holds data for a long period of time. It has adapters to connect to the computer through the USB ports or thunderbolt ports. The flash drive is similar in function to the hard drive but small in size and storage space. It only connects with the computer through USB ports.