NEW
Font size
WorksheetsPython -Variables
Total questions: 10
Worksheet time: 50secs
In Python, the script mode programs can be stored with an extension ------
.pyt
.py
.pyh
.pyn
>>> indicates that
Source program can be created and stored
IDLE is working in script mode
IDLE is working in interactive mode
It will not display the results immediately
Which character is used to give comments in python program?
&
@
&
#
Which function is used to accept data as input at run time?
output()
print()
int()
input()
Which one of the following is not a keyword?
yield
function
global
class
The value of (100%10)*5 is
10
0
500
5
If a=55 and b=3, find a//b
18.0
18.33
18
18.32
If x=23,y=51, find the value of x<y and y!=x ?
True
False
1
0
Choose the correct pair
Octal literal - Ob1010
Hexadecimal literal - 0100
Complex literal - 3+5.6j
Binary literal Oo310
Press ----- key to execute python script
F1
F2
F7
F5
