File: mae.py%2Ccover

package info (click to toggle)
python-coverage 7.6.0%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,120 kB
  • sloc: python: 30,196; ansic: 1,181; javascript: 773; makefile: 293; 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")