I'm a raw beginner and am new here.
The console returns (4,9,16), with the brackets.
The next problem is at line number 5 where I have been repeating, i.e. square(1), square(2), square(3).
Which code should I use without repeating square?
The console returns (4,9,16), with the brackets.
The next problem is at line number 5 where I have been repeating, i.e. square(1), square(2), square(3).
Which code should I use without repeating square?
def square(number): return number*number result=square(2),square(3),square(4) print (result)