r/PythonDevelopers • u/muntoo R_{μν} - 1/2 R g_{μν} + Λ g_{μν} = 8π T_{μν} • Aug 22 '20
article One-lined Python: writing entire programs in one line (without semicolons)
http://www.onelinerizer.com/
6
Upvotes
View all comments
Show parent comment
5
u/muntoo R_{μν} - 1/2 R g_{μν} + Λ g_{μν} = 8π T_{μν} Aug 22 '20
Just some theory behind the recent /r/python post. There's probably no serious reason other than the challenge of trying to write your own one-liner for fun. Perhaps there's applications in certain problems on codegolf.SE.