fork(1) download
  1. import random
  2.  
  3. def gen_smth():
  4. x = random.randint(0, 100)
  5. if x % 2: --x
  6. return x
  7.  
  8. for _ in range(100):
  9. print(gen_smth())
Success #stdin #stdout 0.04s 11840KB
stdin
Standard input is empty
stdout
64
11
37
35
1
89
64
93
53
59
96
24
93
76
32
54
66
7
18
28
97
47
75
14
22
50
19
38
72
63
14
16
7
26
39
84
50
81
64
26
37
81
93
19
96
52
16
87
89
65
52
40
86
30
75
17
67
41
53
20
35
38
58
10
80
29
24
19
23
98
61
43
39
7
17
15
5
73
65
76
9
83
87
68
53
85
13
23
88
90
55
80
36
0
96
97
11
21
22
99