Python Class VII (1)
Python Class VII (1)
4. What is the name of the window where Python displays output in Visual Studio
Code?
a) Console c) Terminal
b) Output Window d) Debugger
5. What type of variable can be accessed inside all functions in a Python program?
a) Local variable c) Global variable
b) Function variable d) Private variable
11.Which loop is used when you want to repeat code a fixed number of times?
a) while loop c) repeat loop
b) for loop d) if loop
a) read() c) get()
b) input() d) scan()