Python Exercise Example 75
**Problem:** Take a break and solve a simple problem.
**Analysis:** None.
Example
#!/usr/bin/python
-- coding: UTF-8 --
if
name
==
'
main
'
:
for
i
in
range
(
5
)
:
n
=
0
if
i
!=
1
:
n
+=
1
if
i
==
3
:
n
+=
1
if
i
==
4
:
n
+=
1
if
i
!=
4
:
n
+=
1
if
n
==
3
:
64
i
The output of the above example is:
67
Python 100 Examples