I've included my code in the picture below. Best of luck.
TCP takes a three-step approach to establishing a reliable communication.
First, from the transport layer of the sending device a request packet is transmitted to the receiving device's transport layer asking if a session can be established.
Second, if available, the receiving device sends a packet back to the sending device indicating that it is available for communication.
Third, the sending device begins to send its data to the receiving device.
Answer:
"64" is the output of the above code.
Explanation:
- The function holds the expression with (**) operator which is used to calculate the power in python language.
- So if we write 2**4, then this will give 16 as output. It is because when we calculate the
, then it will become 16. - The above question passes the num1 and num2 value in the function as an argument which is 3 and 4.
- So 3 will be initialized for x variable and 4 is for y variable.
- So when we calculate
then it will become
which will become 16. - So 64 is the output for the above question.