When I call the function it gives this error: Invalid format string
When I call the function it gives this error: Invalid format string