# Program: Algoritmo237_Para64.py
# Author: Ramon R. Valeriano
# Descritption:
# Developed: 02/04/2020 - 23:04
# Updated:

number = int(input("Enter with the number: "))
sum_ = 1

for e in range(2, number+1):
    if number%2==0:
        sum_-=(1/number)
    else:
        sum_+=(1/number)
print("\n", sum_)

51be17e9ae03909eb7e155af59bf1c3891655f52
<mask token>

<mask token>
for e in range(2, number + 1):
    if number % 2 == 0:
        sum_ -= 1 / number
    else:
        sum_ += 1 / number
print('\n', sum_)

number = int(input('Enter with the number: '))
sum_ = 1
for e in range(2, number + 1):
    if number % 2 == 0:
        sum_ -= 1 / number
    else:
        sum_ += 1 / number
print('\n', sum_)

# Program: Algoritmo237_Para64.py
# Author: Ramon R. Valeriano
# Descritption:
# Developed: 02/04/2020 - 23:04
# Updated:

number = int(input("Enter with the number: "))
sum_ = 1

for e in range(2, number+1):
    if number%2==0:
        sum_-=(1/number)
    else:
        sum_+=(1/number)
print("\n", sum_)
