# What will be the output of the following Python code snippet not(3>4) not(1&1)

1.  TrueTrue

2.  TrueFalse

3.  FalseTrue

4.  FalseFalse

4

True
False

Explanation :
No Explanation available for this question

# What will be the output of the following Python code ['f', 't'][bool('spam')]

1.  t

2.  f

3.  No output

4.  Error

4

t

Explanation :
No Explanation available for this question

# What will be the output of the following Python code l=[1, 0, 2, 0, 'hello', '', []] list(filter(bool, l))

1.  Error

2.  [1, 0, 2, 0, ‘hello’, ”, []]

3.  [1, 0, 2, ‘hello’, ”, []]

4.  [1, 2, ‘hello’]

4

[1, 2, ‘hello’]

Explanation :
No Explanation available for this question

# What will be the output of the following Python code if the system date is 21st June, 2017 (Wednesday) [] or {} {} or []

1.  [] {}

2.  [] []

3.  {} []

4.  {} {}

4
```{}
[]```

Explanation :
No Explanation available for this question

# What will be the output of the following Python code class Truth: pass x=Truth() bool(x)

1.  pass

2.  true

3.  false

4.  error

4

true

Explanation :
No Explanation available for this question

# What will be the output of the following Python code if (9 < 0) and (0 < -9): print("hello") elif (9 > 0) or False: print("good") else: print("bad")

1.  error

2.  hello

3.  good

4

good

Explanation :
No Explanation available for this question

# Which of the following Boolean expressions is not logically equivalent to the other three

1.  not(-610)

2.  -6>=0 and -6

3.  not(-6

4.  not(-6>10 or-6==10)

4

not(-6>10 or-6==10)

Explanation :
No Explanation available for this question

# What will be the output of the following Python code snippet not(1030)

1.  True

2.  False

3.  Error

4.  No output

4

False

Explanation :
No Explanation available for this question

# What will be the output of the following Python code snippet X=”hi” print(“05d”%X)

1.  00000hi

2.  000hi

3.  hi000

4.  error

4

error

Explanation :
No Explanation available for this question

# What will be the output of the following Python code snippet X=”san-foundry” print(“%56s”,X)

1.  56 blank spaces before san-foundry

2.  56 blank spaces before san and foundry

3.  56 blank spaces after san-foundry

4.  no change

4