print('Enter first number')
a = int(input())
print('Enter second number')
b=int(input())
greatest = a if a>b else b
print(f'The greatest number is {greatest}')
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
print('Enter first number')
a = int(input())
print('Enter second number')
b=int(input())
greatest = a if a>b else b
print(f'The greatest number is {greatest}')