1. Engineering
  2. Computer Science
  3. this is in python please provide explanation...

Question: this is in python please provide explanation...

Question details

This is in python, please provide explanation:

def add(x1,x2) return x1*x2 In the above function, what is the result? Select one: a. it doesnt work because while you can add 2, character sequences, you cant multiply two character sequences. b. It doesnt work because x1 and x2 are undefined. c. It works because the ASCll codes get multiplied together, producing a character d. It doesnt work because python doesnt do any mathematical operations on character sequences.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution