Question: What is wrong with the following code snippet: num 1 = 1 0 num 2 = 2 0 num 3 = 3 0 total =
What is wrong with the following code snippet:
num
num
num
total Num Num Num
The numbers should be and
Nothing, the variable total will be the sum of the three numbers
Python is case sensitive so Num Num and Num are undefined
total must be initialized to zero first
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
