Problem

# Problem 4

Write a Python function to swap commas and dots in a string.

1
2
3
4
5
def swap(num):
    # Do script here
swap(num = "32.054,23")

Output: "32,054.23"