Write a Python code for the following: • Ask the user to enter a Number, N • Display the summation of multiples of 7 up to that number (from 1 to N inclusive) Example01: Input: 50 Output: 196...



Must show it in Python:



Please show step by step with comments.



Please show it in simplest form.


Write a Python code for the following:<br>• Ask the user to enter a Number, N<br>• Display the summation of multiples of 7 up to that number (from 1 to N inclusive)<br>Example01:<br>Input:<br>50<br>Output:<br>196<br>Explanation:<br>7+ 14 + 21 + 28 + 35 + 42 + 49 = 196<br>Example02:<br>Input:<br>75<br>Output:<br>385<br>Explanation:<br>7+ 14 + 21 + 28 + 35 + 42 + 49 + 56 + 63 + 70 = 385<br>

Extracted text: Write a Python code for the following: • Ask the user to enter a Number, N • Display the summation of multiples of 7 up to that number (from 1 to N inclusive) Example01: Input: 50 Output: 196 Explanation: 7+ 14 + 21 + 28 + 35 + 42 + 49 = 196 Example02: Input: 75 Output: 385 Explanation: 7+ 14 + 21 + 28 + 35 + 42 + 49 + 56 + 63 + 70 = 385

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here