Restoring the operation

Report a typo

Imagine that you are a neural network and your machine learning developer asked you to restore the operations that were applied to strings. You don't want to disappoint your programmer, so you will try to restore the functions as accurately as possible.

The source string and the result string are given to you as input, and you have to output the operation applied to the source string.

Match the items from left and right columns
'part' => 'trap'
'123', '456' => '123456'
'Michael', 'Mikael' => false
'wEiRdFaNtAsY1997★', 6 => 'a'
'You are a neural network!' => 25
comparing the strings
reversing the string
concatenating the strings
returning a character by index ​
returning the length of the given string
___

Create a free account to access the full topic