In js and other languages I often perform conditional actions with (...) && console.log('Tis True') || console.log('Tis False');
, which I like because it's simple and fits on one line.
Is there a one-liner equivalent in python3? Or do I have to break it over several lines with a boring, old if (): ...
statement?