Connect with Dashes (1)

Write a function connect_dashes(str0,str1,n)connect\_dashes(str0, str1, n) that receives two strings and a non-negative integer and returns the concatenation of the strings, with nn dashes ’-’ between them.

Problem information

Author: Jordi Delgado and José Luis Balcázar

Generation: 2026-01-25T19:36:32.837Z

© Jutge.org, 2006–2026.
https://jutge.org