Is it possible to write one-liners in Python?
python
Solution
`python -c 'print("Yes.")'`
Problem
I was going through the code golf question here on Stack Overflow and saw many Perl one-liner solutions. Is something like that possible in Python?
python
`python -c 'print("Yes.")'`
I was going through the code golf question here on Stack Overflow and saw many Perl one-liner solutions. Is something like that possible in Python?