To many nested conditions lead to unreadable code and errors. Write a Python program that asks for an intereg as input. If the number is less than 10, the program prints: ‘x is a positive single-digit number.’ Use only 1 if statement.
Input
8
Output
8 is a positive single-digit number.