Join Without Starts
Sometimes you need to remove an extra helper character from the start of each piece before joining strings. Write a function non_start that takes two strings a and b, each with length at least 1. Remove the first character from each string and return their concatenation.
Примеры
Ввод
"Hello", "There"Вывод
"ellohere"Ввод
"java", "code"Вывод
"avaode"Ввод
"shotl", "java"Вывод
"hotlava"Нужно реализовать
def non_start(a: str, b: str) -> str:
Теги
strings
Accedi per vedere la cronologia degli invii
AccediAccedi per usare l'AI Mentor
AccediVisible tests
1
Input
"Hello", "There"Expected
"ellohere"2
Input
"java", "code"Expected
"avaode"3
Input
"shotl", "java"Expected
"hotlava"4
Input
"ab", "xy"Expected
"by"5
Input
"Hello", "Hello, World!"Expected
"elloello, World!"6
Input
"Hello", "ab"Expected
"ellob"Focus radio
Paused · SomaFM · Fluid