There's a handy multiple-choice command case in bash which simplify the condition logic.
Suppose such a minial script:
    read -p "Enter selection [0-2]: " num
    if [[ $num =~ ^[0-2]$ ]]; then
        if [[ $num == 0 ]]; then 
            echo "num eq 0"
        fi
        if [[ $num == 1 ]]; then 
            echo "num eq 1"
        fi 
        if [[ $num == 2 ]]; then 
            echo "num eq 1" 
        fi 
    else
        echo "Invalid Entry." >&2
        exit 1
    fi
It could be refactored as
    read -p "Enter selection [0-2]: " num
    case $num in 
        0)  echo "num eq 0" ;;
        1)  echo "num eq 1" ;;
        2)  echo "num eq 2" ;;
        *)  echo "Invalid Entry." >&2
            exit 1 ;; 
    esac      
Python does not include multiple options builtins as case
    num=int(input( "Enter selection [0-2]: "))
    if num == 0:
        print( "num eq 0")
    elif num == 1:
        print( "num eq 1")
    elif num == 2:
        print( "num eq 2")
    else:
        print( "Invalid Entry.")
How to achieve such a logic in a case-like way with python?
