Convert String to Kebab Case in Python

# Introduction In Python, a kebab case string is a string where each word is separated by a hyphen. For example, "hello-world" is a kebab case string. In this challenge, you will be tasked with writing a function that converts a given string to kebab case.

|60 : 00

Click the virtual machine below to start practicing