Write an expression to compare and display whether the two numbers are equal. python
Answers
Answered by
0
Answer:
3 Answers. a = input("Enter the first number: ") b = input("Enter the second number: ") # if a is b: - Compares id's, and can cause inconsistencies. Use == instead. if a == b: print "Both inputs are equal" else: print "Your input is not equal."
Answered by
0
Answer:
DID NOT UNDERSTAND
PLEASE EXPLAIN
Explanation:
Similar questions
Chemistry,
2 days ago
Psychology,
2 days ago
Computer Science,
2 days ago
Math,
4 days ago
English,
4 days ago
Chemistry,
8 months ago
English,
8 months ago