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
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)