Page 1 of 1

Complete the following code so it adds up all even positive numbers up to 300 (number 300 is included) and prints it. Hi

Posted: Mon May 09, 2022 6:06 am
by answerhappygod
Complete The Following Code So It Adds Up All Even Positive Numbers Up To 300 Number 300 Is Included And Prints It Hi 1
Complete The Following Code So It Adds Up All Even Positive Numbers Up To 300 Number 300 Is Included And Prints It Hi 1 (14.56 KiB) Viewed 19 times
Complete the following code so it adds up all even positive numbers up to 300 (number 300 is included) and prints it. Hint: don't forget to increment number at the correct indentation level. Submit the.py file in manaba R+. Name the file the following way: ip.cx43.<student id number>.py. number - 1 total - 0 while number #complete the while header if (number % 2) = 0: #checking the number is even with the modulo operator print(total)