Informatics Practices
Find errors in the following code fragment.
a = 3
print(a)
b = 4
print(b)
s = a + b
print (s)
Python Funda
2 Likes
Answer
There are no errors in the above code fragment.
Answered By
3 Likes
Related Questions
What will be the output produced by following code fragment:
side = int(input('side') ) #side given as 7 area = side * side print (side, area)
"Comments are useful and an easy way to enhance readability and understandability of a program." Elaborate with examples.
Find errors in the following code fragment.
Name = "Prateek" Age = 26 print("your name & age are", Name + Age)
Find errors in the following code fragment.
A = 3 S = A + 10 A = "New" Q = A / 10