File: boolean_matrix.py

package info (click to toggle)
markdown-exec 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 460 kB
  • sloc: python: 1,111; sh: 84; makefile: 50
file content (7 lines) | stat: -rw-r--r-- 164 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
print()
print("a   | b   | a \\|\\| b")
print("--- | --- | ---")
for a in (True, False):
    for b in (True, False):
        print(f"{a} | {b} | {a or b}")
print()