range(3)
random.choice(range(0, 3))
random.shuffle(range(3))
random.select(range(3))
4
3.4
error
5
random.choice([3, 6])
random.randrange(3, 6)
3 + random.randrange(3)
3 + random.randrange(4)
1
(space)
,
none of the mentioned
0
KeyError: 1
do nothing, it is a placeholder for a function that is yet to be implemented
shuffle the elements of the list in-place
strings
lists
tuples
integers
[0.0, 1.0]
(0.0, 1.0]
(0.0, 1.0)
[0.0, 1.0)
sys.version
sys.version()
sys.version(0)
sys.version(1)
sys.platform
sys.path
sys.readline
sys.argv
print(sys)
print(dir.sys)
print(dir[sys])
print(dir(sys))
From package import all
From package import *
From package include all
From package include *
.pym
.pymodule
module
.py
random
randrange
randomrange
rand
Standard Input
Standard Output
Standard Errors
All of the mentioned
import
include
both (A) and (B)
none of the above
Both tuples and lists are immutable
Tuples are immutable while lists are mutable
Both tuples and lists are mutable
Tuples are mutable while lists are immutable
Text file
Binary file
Both (A) and (B)
None of these
.
*
->
&