Nov-27-2023, 10:53 AM
hi
I have a small question, but I did not know if i must open a new thread for it or not, so I ask here:
in the below code :
I think the output must be send only.
thanks
I have a small question, but I did not know if i must open a new thread for it or not, so I ask here:
in the below code :
class Request: def send(self): print('Sent') http_request=Request() print(http_request.send())after running in idle, the output is:
Output:Sent
None
what is this None and what is the reason for it?I think the output must be send only.
thanks