TORONTO KIDS COMPUTER CLUB | Monday 19:00 Python Practice – 22.10.10.
21240
post-template-default,single,single-post,postid-21240,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.8.0,vc_responsive

Monday 19:00 Python Practice – 22.10.10.

15 Oct Monday 19:00 Python Practice – 22.10.10.

Question:
Use input to enter 4 integer numbers and calculate the total and average number of the these 4 numbers, round the result to the nearest integer number.

Sample Input:
n1: 45
n2: 32
n3: 67
n4: 15

Sample Output:
The total of 45,32,67,15 is 159, the average is 40.

No Comments

Sorry, the comment form is closed at this time.