In python we do not specify types, it is directly interpreted by the compiler, so consider the following operation to be performed.
>>>x = 13 ? 2
the objective is to make sure x has an integer value, select all that apply
x = 13 // 2
x = int(13 / 2)
x = 13 % 2
All of the mentioned
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
The one’s complement of 110010101 is:
Solution |
2
Discuss
|
What is the value of the following expression?
Solution |
3
Discuss
|
What are the values of the following Python expressions?
Solution |
4
Discuss
|
What is the value of the following expression?
Solution |
5
Discuss
|
What error occurs when you execute the following Python code snippet?
Solution |
6
Discuss
|
Which of these in not a core data type?
Solution |
7
Discuss
|
The value of the expressions 4/(3*(2-1)) and 4/3*(2-1) is the same.
Solution |
8
Discuss
|
What is the output of this expression, 3*1**3?
Solution |
9
Discuss
|
Which is the correct operator for power(xy)?
Solution |
10
Discuss
|
What will be the value of x in the following Python expression?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved