summaryrefslogtreecommitdiff
path: root/progs/a30.py
blob: f67ff9ecfafadb3dd8e57c7ae3a0429e88c412d3 (plain)
1
2
3
4
5
6
7
import re
text = 'Python Exercises'
def replace_spaces(text):
  text =text.replace (" ", "_")
  return (text)
  text =text.replace ("_", " ")
  return (text)