[ create a new paste ] login | about

Link: http://codepad.org/0PdWeoDM    [ raw code | output | fork ]

c0nnaissances - Python, pasted on Jan 22:
1
2
3
4
5
6
7
8
9
10
11
# coding: UTF-8
for i in range(1, 100):
	if i % 15 == 0:
		print "あほぼけ"
	elif i % 3 == 0:
		print "あほ"
	elif i % 5 == 0:
		print "ぼけ"
	else:
		print i
	


Output:
1
2
あほ
4
ぼけ
あほ
7
8
あほ
ぼけ
11
あほ
13
14
あほぼけ
16
17
あほ
19
ぼけ
あほ
22
23
あほ
ぼけ
26
あほ
28
29
あほぼけ
31
32
あほ
34
ぼけ
あほ
37
38
あほ
ぼけ
41
あほ
43
44
あほぼけ
46
47
あほ
49
ぼけ
あほ
52
53
あほ
ぼけ
56
あほ
58
59
あほぼけ
61
62
あほ
64
ぼけ
あほ
67
68
あほ
ぼけ
71
あほ
73
74
あほぼけ
76
77
あほ
79
ぼけ
あほ
82
83
あほ
ぼけ
86
あほ
88
89
あほぼけ
91
92
あほ
94
ぼけ
あほ
97
98
あほ


Create a new paste based on this one


Comments: