Father And Daughter Story :
Small Girl Asking to her father 5rs daily. Instead, father saying he'll give 1re on day1 and so on until day 5.
as per father :
total = 0
no = 1
while no<=5:
total = total + no
no=no+1
print(total)
Output:
15
As per Daughter :
total = 0
no = 1
while no < = 5:
total = total + 5
no = no + 1
print(total)
Output:
25