a = 'guindo , barwos, zasport' a
guindo , barwos, zasport
But when I write
print(f'find is {a.find('a')}')
I get error
SyntaxError: f-string: unmatched '('
Why? Can someone please write right code that will be work. Thanks.
Try this:
print(f"find is {a.find('a')}")
Try this: