File: mae.py%2Ccover

package info (click to toggle)
python-coverage 6.5.0%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,580 kB
  • sloc: python: 25,471; ansic: 1,152; javascript: 1,104; makefile: 253; sh: 107; xml: 48
file content (10 lines) | stat: -rw-r--r-- 148 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
> def f(x):
>     if x == 1:
>         print("1")
>     else:
>         print("2")
  
> if f(1):
!     print("nope")
> if f(2):
!     print("nope")