If Condition With Multiple Conditions Python