How to fix SyntaxError: f-string: empty expression not allowed in Python | DevErrors