+ 2

A python program that outputs itself

is this possible?

7th Sep 2017, 5:31 PM
viktor
3 odpowiedzi
0
Yes, it is. This type of coding challenge is called a "Quine" If you Google it you will find a lot of examples in Python and many other languages
7th Sep 2017, 5:34 PM
Daniel de Lizaur
+ 3
maybe this is not exactly what you look for, but long time ago I wrote three codes that work on themeselves... you better run them on a pc because they need the code path.. 😊 try! https://code.sololearn.com/cz89fXqpAdrY/?ref=app https://code.sololearn.com/cn2M1NsPwSSO/?ref=app https://code.sololearn.com/cw5KG0700hvh/?ref=app
7th Sep 2017, 6:55 PM
m abrate
m abrate - avatar
+ 1
https://code.sololearn.com/cLs1Zv9EL8xu/?ref=app
7th Sep 2017, 6:25 PM
Ghauth Christians
Ghauth Christians - avatar