#!/usr/bin/env python3
# coding:utf-8

# 本程序是对 015_03.py 的“缩写”
print("\nSum =", sum([ 1/i for i in range( int(input("Please enter a number: ")),0,-2)]))


#!/usr/bin/env python3
# coding:utf-8

# 本程序是对 015_03.py 的“缩写”
print("\nSum =", sum([ 1/i for i in range( int(input("Please enter a number: ")),0,-2)]))


#!/usr/bin/env python3 # coding:utf-8 # 本程序是对 015_03.py 的“缩写”