31 lines
441 B
Markdown
31 lines
441 B
Markdown
|
---
|
||
|
id: 5ea9997bbec2e9bc47e94daf
|
||
|
challengeType: 11
|
||
|
videoId: F1QI9tNuDQg
|
||
|
---
|
||
|
|
||
|
## Description
|
||
|
<section id='description'>
|
||
|
</section>
|
||
|
|
||
|
## Tests
|
||
|
<section id='tests'>
|
||
|
|
||
|
```yml
|
||
|
question:
|
||
|
text: |
|
||
|
Which of the following functions creates a socket object?
|
||
|
|
||
|
answers:
|
||
|
- |
|
||
|
`socket.bind((host, port))`
|
||
|
- |
|
||
|
`socket.gethostbyname()`
|
||
|
- |
|
||
|
`socket.socket(socket.AF_INET, socket.SOCK_STREAM)`
|
||
|
solution: 3
|
||
|
```
|
||
|
|
||
|
</section>
|
||
|
|