fork download
  1. def phoneNumber (text, number):
  2. msg = text + str(number) # changed data type of number from int to string and concatenated with text
  3. return(msg)
  4.  
  5. print(phoneNumber("Sophie's phone number is ", 123456789))
Success #stdin #stdout 0.02s 9072KB
stdin
Standard input is empty
stdout
Sophie's phone number is 123456789