27.2
29.0
14.9
12.3
7
8
10
6
4
4.0
8.0
What will be the output of the following ?
import math print(math.fact(5))
120
25
1,2,3,4,5
Error
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
What will be the output of the following Python code?
>>>max("what are you")
what
y
a
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
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