forked from TheAlgorithms/Python
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquine.py
More file actions
Latest commit
11 lines (9 loc) · 349 Bytes
/
Copy pathquine.py
File metadata and controls
11 lines (9 loc) · 349 Bytes
1
2
3
4
5
6
7
8
9
10
11
#!/bin/python3
# ruff: noqa
"""
Quine:
A quine is a computer program which takes no input and produces a copy of its
own source code as its only output (disregarding this docstring and the shebang).
More info on: https://en.wikipedia.org/wiki/Quine_(computing)
"""
print((lambdaquine: quine%quine)("print((lambda quine: quine %% quine)(%r))"))