Welcome to Haven's blog
About
Drawing
English
Python
Technology
Travel
57.Change the position
n
=
2
if
n
%
2
:
print
(
n
-
1
)
**
2
/
4
else
:
print
n
*
(
n
-
2
)
/
4
blogroll
Pelican
Python.org
Jinja2
social
linkedin
github