number = 6
if number < 10:
    if number % 2 == 0:
        if number % 3 == 0:
  Condition 3: Given that the condition 1 and 2 ae true, check if the number is also perfectly divisible by 3? Yes, number 6 is perfectly divisibly by 3. So this condition is true aswel
            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")