number = 6
if number < 10:
  Condition 1: Check if the number is less than 10? In this case it is true so the code will execute inside this 'if' Statement
    if number % 2 == 0:
        if number % 3 == 0:
            print("The selected number is 6")
        else:
            print("The selected number is not perfectly divisible by 3")
    else:
        print("The selected number is not perfectly divisible by 2")
else:
    print("The number is greater than 10")