# What will be the output of the following Python functions float('1e-003') float('2e+003')

1.  3.00300

2.  0.0012000.0

3.  0.001200

4.  Error2003

4

0.001
2000.0

Explanation :
No Explanation available for this question

# Which of the following functions does not necessarily accept only iterables as arguments

1.  enumerate()

2.  all()

3.  chr()

4.  max()

4

chr()

Explanation :
No Explanation available for this question

# Which of the following functions accepts only integers as arguments

1.  ord()

2.  min()

3.  chr()

4.  any()

4

chr()

Explanation :
No Explanation available for this question

# Suppose there is a list such that: l=[2,3,4]. If we want to print this list in reverse order, which of the following methods should be used

1.  reverse(l)

2.  list(reverse[(l)])

3.  reversed(l)

4.  list(reversed(l))

4

list(reversed(l))

Explanation :
No Explanation available for this question

# What will be the output of the following Python function float(' -12345n')

1.  -12345.0 (5 blank spaces before the number)

2.  -12345.0

3.  Error

4.  -12345.000000000…. (infinite decimal places)

4

-12345.0

Explanation :
No Explanation available for this question

# What will be the output of the following Python function ord(65) ord(‘A’)

1.  A65

2.  Error65

3.  AError

4.  ErrorError

4

Error
65

Explanation :
No Explanation available for this question

# What will be the output of the following Python function float(‘-infinity’) float(‘inf’)

1.  –infinf

2.  –infinityinf

3.  ErrorError

4.  ErrorJunk value

4

–inf
inf

Explanation :
No Explanation available for this question

# Which of the following functions will not result in an error when no arguments are passed to it

1.  min()

2.  divmod()

3.  all()

4.  float()

4

float()

Explanation :
No Explanation available for this question

# What will be the output of the following Python function hex(15)

1.  f

2.  0xF

3.  0Xf

4.  0xf

4

0xf

Explanation :
No Explanation available for this question

1.  ord()

2.  ord(‘ ‘)

3.  ord(”)

4.  ord(“”)

4