Question: Python Script Show me how to print the computation of each even number plus the odd number equal to calc to the terminal as detailed
Python Script
Show me how to print the computation of each even number plus the odd number equal to calc to the terminal as detailed below:
For example print out
then and so on for the user to see the output on screen for all the values even and odd above ending with
evensum
oddsum
for num in range:
if num :
evensum num
printfEven: num
else:
oddsum num
printfOdd: num
calc evensum oddsum
printfEven Odd calc
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
