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 are the values of the following Python expressions?
Solution |
2
Discuss
|
What is the order of precedence in python? i) Parentheses |
3
Discuss
|
Which of these in not a core data type?
Solution |
4
Discuss
|
Operators with the same precedence are evaluated in which manner?
Solution |
5
Discuss
|
What data type is the object below?
Solution |
6
Discuss
|
Given a function that does not return any value, What value is thrown by default when executed in shell.
Solution |
7
Discuss
|
What is the value of the following expression?
Solution |
8
Discuss
|
Which one of the following has the highest precedence in the expression?
Solution |
9
Discuss
|
What is the output of this expression, 3*1**3?
Solution |
10
Discuss
|
Which of the following will run without errors?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved