¡@

Home 

python Programming Glossary: cond2

Python style: multiple-line conditions in IFs

http://stackoverflow.com/questions/181530/python-style-multiple-line-conditions-in-ifs

The most obvious way to do this is if cond1 'val1' and cond2 'val2' and cond3 'val3' and cond4 'val4' do_something Isn't.. By the way for the moment I'm using if cond1 'val1' and cond2 'val2' and cond3 'val3' and cond4 'val4' do_something Not very.. second conditional line. Maybe use if cond1 'val1' and cond2 'val2' and cond3 'val3' and cond4 'val4' do_something Also don't..