IDNLearn.com is designed to help you find the answers you need quickly and easily. Get step-by-step guidance for all your technical questions from our knowledgeable community members.
total = 0
numerator = 1
denominator = 1
while denominator != 20:
total += numerator/denominator
denominator+=1
print(total)
I wrote my code in python 3.8. I hope this helps.