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. phoneNumber("Sophie's phone number is ", 123456789)
Success #stdin #stdout 0.02s 9180KB
stdin
Standard input is empty
stdout
Standard output is empty