Labels

Monday, January 17, 2022

Write a function problem1_3(n) that adds up the numbers 1 through n and prints out the result. You should use either a 'while' loop or a 'for' loop. Be sure that you check your answer on several numbers n. Be careful that your loop steps through all the numbers from 1 through and including n.



No comments:

Post a Comment

How to get free course on Coursera with cirtificate ? , coursera Financial aid questions & answers :

Coursera Financial aid questions & answers   Q1) Why are you applying for Financial Aid? ans:-    I am in my second year of B.Tech in ...