Zyphon_22
Coder
Hi I have started working on a tcp chat room, the client is working perfectly fine but im getting an error with the server itself.
This is the error code
[CODE title="The error"] File "mu_code/chatapp.py", line 33
broadcast(f'{nickname} left the chat'.encode('ascii'))
^
SyntaxError: invalid syntax
[/CODE]
If someone can tell me what i am doing wrong that would be very helpful
This is the error code
[CODE title="The error"] File "mu_code/chatapp.py", line 33
broadcast(f'{nickname} left the chat'.encode('ascii'))
^
SyntaxError: invalid syntax
[/CODE]
If someone can tell me what i am doing wrong that would be very helpful
Last edited: