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
|
What is the order of precedence in python? i) Parentheses |
2
Discuss
|
Evaluate the expression given below if A = 16 and B = 15.
Solution |
3
Discuss
|
In order to store values in terms of key and value we use what core data type.
Solution |
4
Discuss
|
Which of these in not a core data type?
Solution |
5
Discuss
|
What are the values of the following Python expressions?
Solution |
6
Discuss
|
Operators with the same precedence are evaluated in which manner?
Solution |
7
Discuss
|
Which is the correct operator for power(xy)?
Solution |
8
Discuss
|
Which one of the following has the highest precedence in the expression?
Solution |
9
Discuss
|
Mathematical operations can be performed on a string.
Solution |
10
Discuss
|
What is the value of the following expression?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved