Read two words from file
Read two line from file
Read two character / two bytes
count the number of '2' in file
r
rb
w
r+
The truncated decimal part of a number
The rounded integer value of a number.
The truncated integer value of a number.
The floor (largest integer less than or equal to the number).
file_object=open(file_name,mode)
open(file_object,file_name,mode)
file_open(file_object,file_name,mode)
file_object=file_open(file_name,mode)
pop()
delete()
remove_last()
delete_last()
-9
9
6
-6
What will be the output of the following Python code?
>>>max("what are you")
what
y
a
Error
Break stops the execution of entire program
Break halts the execution and forces the control out of the loop
Break forces the control out of the loop and starts the execution of next iteration
Break halts the execution of the loop for certain time frame
White Space
,
e
S
ab
rw
w+
HTTP
urllib
socket
header
sqrt()
add()
rhombus()
home()
A*A=8
A*=8
A*8=A
A=*8
What will be the output of the following ?
import numpy as np arr=np.array([1,2,3]) print(arr.shape)
(3,)
(4,)
1
3
Input/Output
Decision
Arithmetic instruction
Start/Stop
fun
function
def
define
numpy.maximum()
numpy.arraymax()
numpy.amax()
numpy.big()
100
128
256
No Limit
giga bytes
mega bytes
byte
bits
What will be the output of the following code?
list1=[2,33,222,14,25] print(list1[-1])
2
33
14
25