1. Multiple Choice Question:-
(i) The values on which the operators work are known as_________
(a) Operands
(b) Operating system (c) Data (d) Numbers
(ii) If in a conditional expression the condition evaluates to false, then which block of statements will be
executed first?
(a) Else
(b) If
(c) Both
(d) None of these
(iii) Which of the following data types is not supported in python?
(a) Numbers (b) String
(c) List
(iv) Values to variables are assigned using the_________
operator.
(a) String (b) Print) (c) Assignment
(v) To give a tab space while printing the statement, we use________
(a) \t
(b) /t
(c) Tab key
Answers
Explanation:
Answer
(i) The value on which the operators work are known as operands.
(ii) If in a conditional expression the condition evaluates to false, then else block of statements will be executed.
(iii) String Data type is not supported in Python.
(iv) Values to variables are assigned using the assignment operator.
(v) give a tab space while printing the statement, we use tab key.
_________________×__________________
Hope it helps you!
Thankyou❤
1. The values on which the operators work are known as Operands.
(a) Operands
2. If in a conditional expression the condition evaluates to false, then Else block of statements will be executed first.
(a) Else
3. Slice data type is not supported in python.
(d) Slice
4. Values to variables are assigned using the Assignment Operator.
(c) Assignment (=)
5. To give a tab space while printing the statement, we use \t
(a) \t
Let's correct the question
1. The values on which the operators work are known as_________
(a) Operands
(b) Operating system
(c) Data
(d) Numbers
2. If in a conditional expression the condition evaluates to false, then which block of statements will be executed first?
(a) Else
(b) If
(c) Both
(d) None of these
3. Which of the following data types is not supported in python?
(a) Numbers
(b) String
(c) List
(d) Slice
4. Values to variables are assigned using the_________ operator.
(a) String
(b) Print
(c) Assignment
5. To give a tab space while printing the statement, we use________
(a) \t
(b) /t
(c) Tab key
Examples
1. print(2+3)
In this print statement, 2 and 3 are operands and "+" is an operator.
2. if..else condition
if (condition):
# Executes this block if condition is true
else:
# Executes this block if condition is false
3. To give tab space
print("Python\tprogramming")
Output => Python Programming
Python is created by Guido van Rossum and came into existence in 1991. It is a high-level and general programming language. It is a very lucid programming language as it has a good language construct and object-oriented approach. It is dynamically typed and garbage-collected.