Css Border Function Example In Python If Else