CJCoding With Joseph
15free / daySign inCreate account
← Back to Question List

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics:
Python Quiz #56

Text Does Not Fit In A Socket

easyBytes

Sending the string 'hi' through a socket with send fails, while send('hi'.encode()) works. Why, and what does len('hi'.encode()) give?