You can use this assignment in your class!
Mastery Progress(100.0%)
i

You answeredJUST NOW
Python
You passed all test cases!
STDIN
cat dog
Expected STDOUT
catdog
Your STDOUT
catdog
STDIN
cat dogs
Expected STDOUT
dogscat
Your STDOUT
dogscat
STDIN
123 45
Expected STDOUT
12345
Your STDOUT
12345
STDIN
123 4567
Expected STDOUT
4567123
Your STDOUT
4567123
STDIN
elephant dolphin
Expected STDOUT
elephantdolphin
Your STDOUT
elephantdolphin
STDIN
longstring reallyreallyreally
Expected STDOUT
reallyreallyreallylongstring
Your STDOUT
reallyreallyreallylongstring

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Instructor Alec KretchFEB. 22, 2021 AT 7:10 PMstarTop Answer
Python

Was this helpful?

(Voting helps us personalize your learning experience!)
imgStrings in Python Presentation (pages 2, 4)

Was this helpful?

(Voting helps us personalize your learning experience!)
Think you've got it?
Select one of the following options:
  • A.
  • B.
  • C.
  • D.
Submit answer

Was this helpful?

(Voting helps us personalize your learning experience!)

You may exit out of this review and return later without penalty.