0
Tell me the error in the following code snippets
a. X='l' y='love' z='my country' print (xy z) b.def square (x): return x*x m=square (3,3) print (m) c.def add (x,y): xty z=add (5,4) print (z)
2 Answers
+ 4
Is this homework?
In question "a", there could be 2 or 3 errors depending the way it's actually written.
"b" and "c" probably also have 2 errors.
0
concatenation.. indentation.. keyword..