Get expert insights and community-driven knowledge on IDNLearn.com. Our community is here to provide detailed and trustworthy answers to any questions you may have.
numerator = 1
denominator = 2
total = 0
while denominator != 20:
total += (numerator/denominator)
numerator+=2
denominator+=2
print(total)
I wrote my code in python 3.8. Best of luck.