what will be the output after the following statements? x = 3y = 7 print (x==y)
Answers
Answered by
1
mark me as brainlist and will follow you and thanked to you please
Answered by
0
Output: False
Concept:
== is the equality operator. It checks if the values of two operands are equal or not. The condition becomes true if they are equal and false if they are not equal.
Given Program:
x = 3
y = 7
print(x==y)
Find:
Find the output of the given code.
Solution:
The variable x is 3 and variable y is 7.
will check if x and y are equal or not.
If then it will return True else it will return False.
Here,
(∵ )
∴ The output is False.
Similar questions
Math,
1 month ago
Math,
1 month ago
Chemistry,
3 months ago
India Languages,
3 months ago
Social Sciences,
9 months ago
Math,
9 months ago
English,
9 months ago