@admin

I mean i guess technically you can put any program on a single line... unless its python :)

@worldsendless

@freemo @admin @worldsendless

python

exec('def func(a: str):NEWLINESPACEprint(a)NEWLINENEWLINEfunc("penis")'.replace("NEWLINE", "\n").replace("SPACE", " "))

I suppose any program can be written in this way 😀

Follow

@lonelyowl

I see what you did there.. lol

I had a smart ass interviewee once.. I asked him to write a particular task in python... he basically just called exec to run code written in another language.. but strictly speaking it was still a python app :)

@admin @worldsendless

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.