Q1 What is the output produced by following code fragment (s)?
(a) x = 10
x=x+10
x=x-5
print(x)
x,y=x-2,22
print(x,y)
(b)first = 2
second = 3
third = first+second
print (first, second, third)
third = second * first
print (first, second, third)
(c)side = int (input('side'))
# side given as 7
area = side * side
print (side, area)
Q2 "Comments are useful and an easy way to enhance the readability and understanding ability of a program.” Elaborate with examples.
BEST ANSWER WILL CONSIDERED AS THE BRAINLIEST
AND THOSE WHO ANSWERED FOR FREE POINTS WILL BE CONSIDERED AS ∆B.1.T.C.H∆
Answers
Answered by
7
Explanation:
bhai Pura Ka Pura khandan hi puchh diya hai kya
Similar questions