cs/Practical File/questions/question_18.py
Neil Revin 780baf678e
chore: move question & output files
Move python question files to 'questions' directory
Move output files to 'outputs' directory
Copy output files to 'questions' for ease of viewing

Signed-off-by: Neil <neil@willofsteel.me>
2025-06-24 02:34:07 +05:30

11 lines
328 B
Python

# Question: Write a Python program to accept two numbers and check whether they are equal or not
def main(num1: int, num2: int) -> None:
if num1 == num2:
print(f"{num1} and {num2} are equal.")
else:
print(f"{num1} and {num2} are not equal.")
if __name__ == '__main__':
main(10, 10)
main(10, 20)