Question
Predict the output for below code in python Count
=10 Def function1() : Global Count for i in(1,2,3) : Count=Count+1 function1() print(Count)Solution
The variable Count is the same that is defined outside and inside the function , so the changes will be reflected to the same variable.
Which of the following best defines the Internet?
Which Excel operator represents exponent (power)?
Which one of the following is different from other members ?
Which of the following is a temporary storage used by the CPU?
What type of memory stores data in a swap file on a hard drive?
The term 'firewall' in computer security refers to:
What is the primary purpose of the "Taskbar" in Windows?
Which memory type is known for its low power consumption and high speed?
What type of device is a printer?
If we want to check the structure of the table, ____ Command is used.