Question: THISIT UUTULIS ITUIT YUUl Lucie Statement 1- # Read an integer: 2 # a = int(input) 3- # Print a value: 4 # print(a) Given

 THISIT UUTULIS ITUIT YUUl Lucie Statement 1- # Read an integer:

THISIT UUTULIS ITUIT YUUl Lucie Statement 1- # Read an integer: 2 # a = int(input) 3- # Print a value: 4 # print(a) Given a three-digit integer X consisting of three different digits, print "YES" if its three digits are going in an ascending order from left to right and print "NO" otherwise. Example input #1 179 Example output #1 YES Python 3.7.4 (default, Jul 9 2019, 00:06:43) [GCC 6.3.0 20170516] on linux Example input #2 197 Example output #2 NO

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!