Answer:
The answer to this question is given below in the explanation section.
Explanation:
In this given program there are two errors, first in line number 2 that stores a string value, not int. The second error is at line 6, a symbol "*" represents multiplication, not addition.
To solve these errors, in line #2, convert the input to an int variable value 1. To add the values of variables (value1 and value2), use the plus symbol "+" in the print statement at line #6.
The correct program is given below:
<em>value1= int(input("Enter first number: "))</em>
#get second number and store it into value2 variable.
<em>value2= int(input("Enter second number: "))</em>
#add the values store in variables (value1 and value2) and then print
<em>print (value1 + value2)</em>
Answer:
The answer to this question is Live Online Courses.
Explanation:
When we are enrolled in an online learning courses that is live so we can observe that there is synchronous communication in training.
The instructor is teaching at some other end using live broadcasting or other video broadcasting methods via internet and we are at the receiving end.
A good website to learn coding is called Lynda.com. It costs money but its well worth it!
So, 5 is intered.
Line 1: num will recieve the integer 5
Line 2: Blank
Line 3: num will recieve 1, wich is the remainer of the division of 5 by 4.
Line 4: will return true, since num is indeed equal to 1.
Line 5: Will print "A"
Line 6: Will return false
Line 7: Gets jumped
Line 8: Will return false
Line 9: Gets jumped
Line 10: Will return false
Line 11: Gets jumped
Line 12: Will return false
Line 13: Gets jumped
The only OUTPUT is "A".