What does the following line of code do?
Sends the data stored in the variable "socket" to the IP address stored in AF_INET
Gets data from all network sockets on the system
Creates an instance of a UDP socket for transmitting or receiving data
Transfers data from the local system to a remote system across the network
What is the output of the following line of code typed into a Python interactive session?
>>>print (8 <<1)
False
16
SyntaxError: invalid syntax
True
Which python regular expression method should be used to match any character in a-z, 0-
\w
Greedy matching
A custom character set