#sir-lancebot-playground

1 messages ยท Page 237 of 1

tawny raven
#

.wa define dictionary

wicked parrotBOT
tawny raven
#

.wa short define dictionary

wicked parrotBOT
tawny raven
#

hm

#

.wa short dictionary

wicked parrotBOT
#

a reference book containing an alphabetical list of words with information about them

spring brook
#

.wa Python

wicked parrotBOT
spring brook
#

.wa discord

wicked parrotBOT
spring brook
#

.wa short discord

wicked parrotBOT
inner pendant
#

.quiz python 30

wicked parrotBOT
#
Quiz game Starting!!

Each game consists of 30 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : python

#
Question #1

How is infinity represented in Python?

inner pendant
#

float('inf')

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`float("infinity"), float('infinity'), float("inf"), float('inf')`**

Let's move to the next question.
Remaining questions: 29

#
Score Board

MarkRems#1041: 100

#
Question #2

Is everything an instance of the object class (y/n)?

inner pendant
#

y

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`y, yes`**

Let's move to the next question.
Remaining questions: 28

#
Score Board

MarkRems#1041: 200

#
Question #3

What is the garbage collection strategy used by cpython to collect everything but reference cycles?

inner pendant
#

refcounting

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`reference counting, refcounting`**

Let's move to the next question.
Remaining questions: 27

#
Score Board

MarkRems#1041: 300

#
Question #4

What type is the attribute of a frame object that contains the current local variables?

inner pendant
#

dict

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`dict`**

Let's move to the next question.
Remaining questions: 26

#
Score Board

MarkRems#1041: 400

#
Question #5

What attribute of a closure contains the value closed over?

inner pendant
#

cell_contents

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`cell_contents`**

Let's move to the next question.
Remaining questions: 25

#
Score Board

MarkRems#1041: 500

#
Question #6

Where does the name Python come from?

inner pendant
#

monty python

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`Monty Python, Monty Python's Flying Circus`**

Let's move to the next question.
Remaining questions: 24

#
Score Board

MarkRems#1041: 600

#
Question #7

When was Python first released?

inner pendant
#

1991

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`1991`**

Let's move to the next question.
Remaining questions: 23

#
Score Board

MarkRems#1041: 700

#
Question #8

What dunder method is used by the tuple constructor to optimize converting an iterator to a tuple (answer should be enclosed in backticks!)?

inner pendant
#

__length_hint__

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **``__length_hint__``**

Let's move to the next question.
Remaining questions: 22

#
Score Board

MarkRems#1041: 800

#
Question #9

What name does a lambda function have?

inner pendant
#

<lambda>

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`<lambda>`**

Let's move to the next question.
Remaining questions: 21

#
Score Board

MarkRems#1041: 900

#
Question #10

Which of these is not a generator method?
(next, send, throw, close)

inner pendant
#

next

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`next`**

Let's move to the next question.
Remaining questions: 20

#
Score Board

MarkRems#1041: 1000

#
Question #11

What exception, other than StopIteration, can you raise from a __getitem__ dunder to indicate to an iterator that it should stop?

inner pendant
#

IndexError

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`IndexError`**

Let's move to the next question.
Remaining questions: 19

#
Score Board

MarkRems#1041: 1100

#
Question #12

Name the only non-dunder method of the builtin slice object.

inner pendant
#

indices

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`indices`**

Let's move to the next question.
Remaining questions: 18

#
Score Board

MarkRems#1041: 1200

#
Question #13

What is the official name of this operator :=, introduced in 3.8?

inner pendant
#

assignment expression operator

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`assignment-expression operator`**

Let's move to the next question.
Remaining questions: 17

#
Score Board

MarkRems#1041: 1300

#
Question #14

Which standard library module is designed for making simple parsers for languages like shell, as well as safe quoting of strings for use in a shell?

inner pendant
#

shlex

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`shlex`**

Let's move to the next question.
Remaining questions: 16

#
Score Board

MarkRems#1041: 1400

#
Question #15

What decorator is used to allow a protocol to be checked at runtime?

inner pendant
#

descriptor

#

runtime_checkable

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`runtime_checkable, typing.runtime_checkable`**

Let's move to the next question.
Remaining questions: 15

#
Score Board

MarkRems#1041: 1500

#
Question #16

Is the __aiter__ method async (y/n)?

inner pendant
#

n

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`n, no`**

Let's move to the next question.
Remaining questions: 14

#
Score Board

MarkRems#1041: 1600

#
Question #17

What type does the & operator return when given 2 dict_keys objects?

inner pendant
#

set

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`set`**

Let's move to the next question.
Remaining questions: 13

#
Score Board

MarkRems#1041: 1700

#
Question #18

Does numbers.Rational include the builtin object float (y/n)

inner pendant
#

n

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`n, no`**

Let's move to the next question.
Remaining questions: 12

#
Score Board

MarkRems#1041: 1800

#
Question #19

What file extension is used by the site module to determine what to do at every start?

inner pendant
#

.pth

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`.pth`**

Let's move to the next question.
Remaining questions: 11

#
Score Board

MarkRems#1041: 1900

#
Question #20

Can you pickle a running list_iterator (y/n)?

inner pendant
#

y

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`y, yes`**

Let's move to the next question.
Remaining questions: 10

#
Score Board

MarkRems#1041: 2000

#
Question #21

Which protocol is used to pass self to methods when accessed on classes?

inner pendant
#

descriptor

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`Descriptor`**

Let's move to the next question.
Remaining questions: 9

#
Score Board

MarkRems#1041: 2100

#
Question #22

Which of these is a subclass of Exception?
(NotImplemented, asyncio.CancelledError, StopIteration)

inner pendant
#

stopiteration

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`StopIteration`**

Let's move to the next question.
Remaining questions: 8

#
Score Board

MarkRems#1041: 2200

#
Question #23

Which file contains all special site builtins, such as help or credits?

inner pendant
#

doc

#

doc

#

__doc__

wicked parrotBOT
#

20s left!

inner pendant
#

duifsdkdj

#

UH

#

JDSLK

wicked parrotBOT
#

10s left!

inner pendant
#

give it to me

wicked parrotBOT
#

Better luck next time...

#
The correct answer is **`_sitebuiltins`**

Let's move to the next question.
Remaining questions: 7

#
Score Board

MarkRems#1041: 2200

#
Question #24

Which one of these protocols/abstract base classes does the builtin range object NOT implement?
(Sequence, Iterable, Generator)

inner pendant
#

generator

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`Generator`**

Let's move to the next question.
Remaining questions: 6

#
Score Board

MarkRems#1041: 2300

#
Question #25

Which module when imported opens up a web browser tab that points to the classic 353 XKCD comic mentioning Python?

inner pendant
#

antigravity

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`antigravity`**

Let's move to the next question.
Remaining questions: 5

#
Score Board

MarkRems#1041: 2400

#
Question #26

How does one call a class who defines the behavior of their instance classes?

inner pendant
#

metaclass

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`a metaclass, metaclass`**

Let's move to the next question.
Remaining questions: 4

#
Score Board

MarkRems#1041: 2500

#
Question #27

What is a package that doesn't have a __init__ file called?

inner pendant
#

namespace packag

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`namespace package`**

Let's move to the next question.
Remaining questions: 3

#
Score Board

MarkRems#1041: 2600

#
Question #28

Which of these characters is valid python outside of string literals in some context?
(@, $, ?)

inner pendant
#

@

#

@

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`@`**

Let's move to the next question.
Remaining questions: 2

#
Score Board

MarkRems#1041: 2700

#
Question #29

Which attribute is the documentation string of a function/method/class stored in (answer should be enclosed in backticks!)?

inner pendant
#

__doc__

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **``__doc__``**

Let's move to the next question.
Remaining questions: 1

#
Score Board

MarkRems#1041: 2800

#
Question #30

Which year was Python 3 released?

inner pendant
#

2008

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`2008`**

Remaining questions: 0

#
Score Board

MarkRems#1041: 2900

#

The round has ended.

#

@inner pendant Congratulations on winning this quiz game with a grand total of 2900 points :tada:

inner pendant
#

.quiz python 30

wicked parrotBOT
#
Quiz game Starting!!

Each game consists of 30 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : python

#
Question #1

What dunder method is used by the tuple constructor to optimize converting an iterator to a tuple (answer should be enclosed in backticks!)?

inner pendant
#

__length_hint__

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **``__length_hint__``**

Let's move to the next question.
Remaining questions: 29

#
Score Board

MarkRems#1041: 100

#
Question #2

What decorator is used to allow a protocol to be checked at runtime?

inner pendant
#

runtime_checkable

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`runtime_checkable, typing.runtime_checkable`**

Let's move to the next question.
Remaining questions: 28

#
Score Board

MarkRems#1041: 200

#
Question #3

Which year was Python 3 released?

inner pendant
#

2008

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`2008`**

Let's move to the next question.
Remaining questions: 27

#
Score Board

MarkRems#1041: 300

#
Question #4

Which of these is not a generator method?
(next, send, throw, close)

inner pendant
#

next

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`next`**

Let's move to the next question.
Remaining questions: 26

#
Score Board

MarkRems#1041: 400

#
Question #5

What type does the & operator return when given 2 dict_keys objects?

inner pendant
#

set

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`set`**

Let's move to the next question.
Remaining questions: 25

#
Score Board

MarkRems#1041: 500

#
Question #6

How does one call a class who defines the behavior of their instance classes?

inner pendant
#

metaclass

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`a metaclass, metaclass`**

Let's move to the next question.
Remaining questions: 24

#
Score Board

MarkRems#1041: 600

#
Question #7

Does numbers.Rational include the builtin object float (y/n)

inner pendant
#

n

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`n, no`**

Let's move to the next question.
Remaining questions: 23

#
Score Board

MarkRems#1041: 700

#
Question #8

What is the official name of this operator :=, introduced in 3.8?

inner pendant
#

assignment expression operator

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`assignment-expression operator`**

Let's move to the next question.
Remaining questions: 22

#
Score Board

MarkRems#1041: 800

#
Question #9

Which file contains all special site builtins, such as help or credits?

inner pendant
#

_sitebuiltins

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`_sitebuiltins`**

Let's move to the next question.
Remaining questions: 21

#
Score Board

MarkRems#1041: 900

#
Question #10

Which of these characters is valid python outside of string literals in some context?
(@, $, ?)

inner pendant
#

@

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`@`**

Let's move to the next question.
Remaining questions: 20

#
Score Board

MarkRems#1041: 1000

#
Question #11

Can you pickle a running list_iterator (y/n)?

inner pendant
#

y

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`y, yes`**

Let's move to the next question.
Remaining questions: 19

#
Score Board

MarkRems#1041: 1100

#
Question #12

Which of these is a subclass of Exception?
(NotImplemented, asyncio.CancelledError, StopIteration)

inner pendant
#

stopiteration

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`StopIteration`**

Let's move to the next question.
Remaining questions: 18

#
Score Board

MarkRems#1041: 1200

#
Question #13

Is the __aiter__ method async (y/n)?

inner pendant
#

n

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`n, no`**

Let's move to the next question.
Remaining questions: 17

#
Score Board

MarkRems#1041: 1300

#
Question #14

Which module when imported opens up a web browser tab that points to the classic 353 XKCD comic mentioning Python?

inner pendant
#

antigravity

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`antigravity`**

Let's move to the next question.
Remaining questions: 16

#
Score Board

MarkRems#1041: 1400

#
Question #15

Which standard library module is designed for making simple parsers for languages like shell, as well as safe quoting of strings for use in a shell?

inner pendant
#

shlex

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`shlex`**

Let's move to the next question.
Remaining questions: 15

#
Score Board

MarkRems#1041: 1500

#
Question #16

What name does a lambda function have?

inner pendant
#

<lambda>

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`<lambda>`**

Let's move to the next question.
Remaining questions: 14

#
Score Board

MarkRems#1041: 1600

#
Question #17

What is a package that doesn't have a __init__ file called?

inner pendant
#

namespace package

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`namespace package`**

Let's move to the next question.
Remaining questions: 13

#
Score Board

MarkRems#1041: 1700

#
Question #18

What attribute of a closure contains the value closed over?

inner pendant
#

cell_contents

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`cell_contents`**

Let's move to the next question.
Remaining questions: 12

#
Score Board

MarkRems#1041: 1800

#
Question #19

What type is the attribute of a frame object that contains the current local variables?

inner pendant
#

dict

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`dict`**

Let's move to the next question.
Remaining questions: 11

#
Score Board

MarkRems#1041: 1900

#
Question #20

Where does the name Python come from?

inner pendant
#

monty python

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`Monty Python, Monty Python's Flying Circus`**

Let's move to the next question.
Remaining questions: 10

#
Score Board

MarkRems#1041: 2000

#
Question #21

When was Python first released?

inner pendant
#

1991

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`1991`**

Let's move to the next question.
Remaining questions: 9

#
Score Board

MarkRems#1041: 2100

#
Question #22

What file extension is used by the site module to determine what to do at every start?

inner pendant
#

.pth

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`.pth`**

Let's move to the next question.
Remaining questions: 8

#
Score Board

MarkRems#1041: 2200

#
Question #23

What exception, other than StopIteration, can you raise from a __getitem__ dunder to indicate to an iterator that it should stop?

inner pendant
#

IndexError

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`IndexError`**

Let's move to the next question.
Remaining questions: 7

#
Score Board

MarkRems#1041: 2300

#
Question #24

Which attribute is the documentation string of a function/method/class stored in (answer should be enclosed in backticks!)?

inner pendant
#

__doc__

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **``__doc__``**

Let's move to the next question.
Remaining questions: 6

#
Score Board

MarkRems#1041: 2400

#
Question #25

Which one of these protocols/abstract base classes does the builtin range object NOT implement?
(Sequence, Iterable, Generator)

inner pendant
#

generator

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`Generator`**

Let's move to the next question.
Remaining questions: 5

#
Score Board

MarkRems#1041: 2500

#
Question #26

What is the garbage collection strategy used by cpython to collect everything but reference cycles?

inner pendant
#

refcounting

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`reference counting, refcounting`**

Let's move to the next question.
Remaining questions: 4

#
Score Board

MarkRems#1041: 2600

#
Question #27

Is everything an instance of the object class (y/n)?

inner pendant
#

y

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`y, yes`**

Let's move to the next question.
Remaining questions: 3

#
Score Board

MarkRems#1041: 2700

#
Question #28

Which protocol is used to pass self to methods when accessed on classes?

inner pendant
#

descriptor

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`Descriptor`**

Let's move to the next question.
Remaining questions: 2

#
Score Board

MarkRems#1041: 2800

#
Question #29

How is infinity represented in Python?

inner pendant
#

float('inf')

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`float("infinity"), float('infinity'), float("inf"), float('inf')`**

Let's move to the next question.
Remaining questions: 1

#
Score Board

MarkRems#1041: 2900

#
Question #30

Name the only non-dunder method of the builtin slice object.

inner pendant
#

indices

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`indices`**

Remaining questions: 0

#
Score Board

MarkRems#1041: 3000

#

The round has ended.

#

@inner pendant Congratulations on winning this quiz game with a grand total of 3000 points :tada:

inner pendant
#

whooooo

tawny raven
#

.help quiz

wicked parrotBOT
#
Command Help

**```
.quiz <category> <questions>

**Can also use:** `trivia`, `triviaquiz`

*Start a quiz!

Questions for the quiz can be selected from the following categories:
- general: Test your general knowledge.
- retro: Questions related to retro gaming.
- math: General questions about mathematics ranging from grade 8 to grade 12.
- science: Put your understanding of science to the test!
- cs: A large variety of computer science questions.
- python: Trivia on our amazing language, Python!
- wikipedia: Guess the title of random wikipedia passages.

(More to come!)*

**Subcommands:**
**`leaderboard `**
*View everyone's score for this bot session.*
**`stop `**
*Stop a quiz game if its running in the channel.*
tawny raven
#

.quiz python 5

wicked parrotBOT
#
Quiz game Starting!!

Each game consists of 5 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : python

#
Question #1

How does one call a class who defines the behavior of their instance classes?

#

20s left!

tawny raven
#

metaclass

wicked parrotBOT
#

@tawny raven got the correct answer :tada: 75 points!

#
You got it! The correct answers are **`a metaclass, metaclass`**

Let's move to the next question.
Remaining questions: 4

#
Score Board

anand#8837: 75

#
Question #2

Is everything an instance of the object class (y/n)?

tawny raven
#

n

wicked parrotBOT
#

20s left!

tawny raven
#

no

#

er

wicked parrotBOT
#

10s left!

#

Better luck next time...

#
The correct answers are **`y, yes`**

Let's move to the next question.
Remaining questions: 3

#
Score Board

anand#8837: 75

#
Question #3

Which of these characters is valid python outside of string literals in some context?
(@, $, ?)

#

20s left!

tawny raven
#

@

wicked parrotBOT
#

10s left!

#

Better luck next time...

#
The correct answer is **`@`**

Let's move to the next question.
Remaining questions: 2

#
Score Board

anand#8837: 75

#
Question #4

What attribute of a closure contains the value closed over?

#

20s left!

#

10s left!

#

No one answered correctly!

#
The correct answer is **`cell_contents`**

Let's move to the next question.
Remaining questions: 1

#
Score Board

anand#8837: 75

#
Question #5

Which file contains all special site builtins, such as help or credits?

#

20s left!

#

10s left!

tawny raven
#

ok i dont know python ๐Ÿ˜ญ

wicked parrotBOT
#

Better luck next time...

#
The correct answer is **`_sitebuiltins`**

Remaining questions: 0

#
Score Board

anand#8837: 75

#

The round has ended.

#

@tawny raven Congratulations on winning this quiz game with a grand total of 75 points :tada:

hidden token
#

.battleship

wicked parrotBOT
#

@hidden token Game cancelled.

hidden token
#

.help battleship

wicked parrotBOT
#
Command Help

**```
.battleship

*Play a game of Battleship with someone else!

This will set up a message waiting for someone else to react and play along.
The game takes place entirely in DMs.
Make sure you have your DMs open so that the bot can message you.*

**Subcommands:**
**`ships `**
*Lists the ships that are found on the battleship grid.*
hidden token
#

.battleship ships

wicked parrotBOT
#
Name

Carrier
Battleship
Cruiser
Submarine
Destroyer

Size

5
4
3
3
2

dawn crypt
#

.help

wicked parrotBOT
#
Command Help

AvatarModify
.mosaic [squares=16]
Splits your avatar into x squares, randomizes them and stitches them back into a new image!
.prideavatar [option=lgbt] [pixels=64]
This surrounds an avatar with a border of a specified LGBT flag.
.reverse <text>
Reverses the sent text.
.spookyavatar
Spookify an user's avatar.

Battleship
.battleship
Play a game of Battleship with someone else!

BeMyValentine
.bemyvalentine <user> [valentine_type]
Send a valentine to a specified user with the lovefest role.

Bookmark
.bookmark <target_message> [title=Bookmark]
Send the author a link to target_message via DMs.

vast tiger
#

.help wtf

wicked parrotBOT
#
Command Help

**```
.wtf_python <query>

**Can also use:** `WTF`, `wtf`

*Search WTF Python repository.

Gets the link of the fuzzy matched query from https://github.com/satwikkansal/wtfpython.
Usage:
    --> .wtf wild imports*
vast tiger
#

.help

wicked parrotBOT
#
Command Help

DragNames
.dragname
Sends a message with a drag queen name.

DuckGamesDirector
.duckduckduckgoose
Start a new Duck Duck Duck Goose game.

EarthPhotos
.earth_photos
Returns a random photo of earth, sourced from Unsplash.

EasterFacts
.eggfact
Get easter egg facts.

EasterRiddle
.riddle
Gives a random riddle, then provides 2 hints at certain intervals before revealing the answer.

vast tiger
#

.cheat

wicked parrotBOT
#

Result Of cht.sh

#  Python: significance of -u option?
#  
#  From python --help:
#  
#  >     -u     : unbuffered binary stdout and stderr; also
#  PYTHONUNBUFFERED=x
          see man page for details on internal buffering relating to '-u'

#  The manpage states:
#  
#  >     -u     Force  stdin,  stdout and stderr to be totally
#  unbuffered.  On systems where it matters, also put stdin,
        stdout and stderr in binary mode.  Note that there is internal buffering  in  xreadlines(),  readlines()
        and  file-object  iterators  ("for  line in sys.stdin") which is not influenced by this option.  To work
        around this, you will want to use "sys.stdin.readline()" inside a "while 1:" loop.

#  Python opens the stdin, -out and -error streams in a buffered mode;
#  it'll read or write in larger chunks, keeping data in memory until a
#  threshold is reached. -u disables those buffers.
#  
#  Also, python can interpret newlines on open files and translate them
#  from and to the native platform
... (truncated - too many lines)

Full results: https://cheat.sh/python/

vast tiger
#

.cheat minecraft

wicked parrotBOT
#

Result Of cht.sh

#  Python - Interact with Minecraft Classic server
#  
#  Putting the comments together, here's what you get:

import socket
s = socket.socket()
KEY = "ce73007bb263c20268da59eb9fb52b06" # If you want to help me, you can use this key to connect to the server
USERNAME = "Vik2015"
HOST = "68.53.14.13"
PORT = 25566
s.connect((HOST, PORT))
print 'connected'
# login packet (pkt id, protocol version, user name, verification key, pad)
s.sendall('%c%c%-64s%-64s%c' % (0, 7, USERNAME, KEY, 0))
print 'sentall'
print s.recv(4096)
s.close()

#  [tdelaney] [so/q/19734832] [cc by-sa 3.0]

https://cheat.sh/python/minecraft

vast tiger
#

.cheat website host

wicked parrotBOT
#

Result Of cht.sh

#  question_id: 6796402
#  In your server thay sais that they have php, so maybe you can use
#  [this php function][1]. to retrive more info, executing a python
#  script:

 # hacking.py
 import sys
 print sys.version_info

#  and after you make something like this

 <?php
 // echo $path = exec('pwd');

 // exec python script
 echo exec('python hacking.py');
 ?>

#  dont forget the file permissions
#  
  #  [1]: http://www.php.net/manual/en/function.exec.php
#  
#  [sacabuche] [so/q/6796402] [cc by-sa 3.0]

https://cheat.sh/python/website+host

vast tiger
#

.cheat host

wicked parrotBOT
#

Result Of cht.sh

#  Is there a good, free small Python web host?
#  
    #  * http://wiki.python.org/moin/FreeHosts
    #  * http://wiki.python.org/moin/NonCommercialHosting
    #  * http://wiki.python.org/moin/SpecializedCommercialHosts
    #  * http://wiki.python.org/moin/OtherCommercialHosts
#  
#  Also a good read:
#  
#  http://www.goodwebhosting.info/article.py/15
#  
#  And a last one:
#  
#  http://blog.dscpl.com.au/2011/01/awesome-year-for-python-web-
#  hosting.html
#  
#  [user945967] [so/q/9795315] [cc by-sa 3.0]

https://cheat.sh/python/host

vast tiger
#

.cheat websit

#

.cheat website

wicked parrotBOT
#

Result Of cht.sh

#  Creating a simple python web application
#  
#  While you can use a microframework like Flask [1] for quickly getting
#  started, you can get closer to the metal. Try learning about the HTTP
#  protocol and implement your own server using the http module. Python
#  3's http.server contains a class SimpleHTTPServer [2] which can be
#  very good for understanding how you're communicating between the
#  client and your process.
#  
#  [1] http://flask.pocoo.org/docs/0.11/quickstart
#  
#  [2] https://docs.python.org/2/library/simplehttpserver.html
#  
#  [FaureHu] [so/q/38861124] [cc by-sa 3.0]

https://cheat.sh/python/website

vast tiger
#

.cheat roblox

wicked parrotBOT
#

Result Of cht.sh

#  With the Roblox API, 401 indicates that your user is not
#  authenticated. You need to get a \`.ROBLOSECURITY\` cookie. Never share
#  this cookie because it grants full access to your account.
#  
#  \`\`\`python
#  cookies = {'.ROBLOSECURITY': 'YOUR .ROBLOSECURITY'}
#  \`\`\`
#  This would be where you store your cookies. Then in the request you
#  can use the \`cookies\` parameter as shown [here][1].
#  
  #  [1]: https://2.python-
#  requests.org/en/master/user/quickstart/cookies
#  
#  [ColeSquared] [so/q/61438965] [cc by-sa 3.0]

https://cheat.sh/python/roblox

main scarab
#

.quiz python

wicked parrotBOT
#
Quiz game Starting!!

Each game consists of 7 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : python

#
Question #1

Where does the name Python come from?

main scarab
#

Snake

wicked parrotBOT
#

20s left!

#

10s left!

main scarab
#

Monty Python's Flying Circus

wicked parrotBOT
#

@main scarab got the correct answer :tada: 50 points!

#
You got it! The correct answers are **`Monty Python, Monty Python's Flying Circus`**

Let's move to the next question.
Remaining questions: 6

#
Score Board

only rip.. basic rip?#6099: 50

#
Question #2

Which one of these protocols/abstract base classes does the builtin range object NOT implement?
(Sequence, Iterable, Generator)

main scarab
#

Sequence

wicked parrotBOT
#

20s left!

main scarab
#

Iterable

#

Generator

wicked parrotBOT
#

@main scarab got the correct answer :tada: 75 points!

#
You got it! The correct answer is **`Generator`**

Let's move to the next question.
Remaining questions: 5

#
Score Board

only rip.. basic rip?#6099: 125

#
Question #3

How does one call a class who defines the behavior of their instance classes?

#

20s left!

#

10s left!

#

No one answered correctly!

#
The correct answers are **`a metaclass, metaclass`**

Let's move to the next question.
Remaining questions: 4

#
Score Board

only rip.. basic rip?#6099: 125

#
Question #4

Can you pickle a running list_iterator (y/n)?

main scarab
#

n

#

y

wicked parrotBOT
#

@main scarab got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`y, yes`**

Let's move to the next question.
Remaining questions: 3

#
Score Board

only rip.. basic rip?#6099: 225

#
Question #5

Which attribute is the documentation string of a function/method/class stored in (answer should be enclosed in backticks!)?

#

20s left!

#

10s left!

#

No one answered correctly!

#
The correct answer is **``__doc__``**

Let's move to the next question.
Remaining questions: 2

#
Score Board

only rip.. basic rip?#6099: 225

#
Question #6

Which module when imported opens up a web browser tab that points to the classic 353 XKCD comic mentioning Python?

#

20s left!

#

10s left!

main scarab
#

idk bro

wicked parrotBOT
#

Better luck next time...

#
The correct answer is **`antigravity`**

Let's move to the next question.
Remaining questions: 1

#
Score Board

only rip.. basic rip?#6099: 225

#
Question #7

What attribute of a closure contains the value closed over?

#

20s left!

#

10s left!

#

Better luck next time...

#
The correct answer is **`cell_contents`**

Remaining questions: 0

#
Score Board

only rip.. basic rip?#6099: 225

#

The round has ended.

#

@main scarab Congratulations on winning this quiz game with a grand total of 225 points :tada:

main scarab
#

statuscat 401

#

.statuscat 401

#

.status 401

wicked parrotBOT
#
**Status: 401**
main scarab
#

.status 200

wicked parrotBOT
#
**Status: 200**
main scarab
#

.http_code 1

#

.http_code 404

spring tapir
#

.latex $log_b\left(x\right)\coloneqq\frac{log\left(x\right)}{log\left(b\right)}$

distant radish
#

.trivia wiki

wicked parrotBOT
#
The available question categories are:

- General
Test your general knowledge.
- Retro
Questions related to retro gaming.
- Math
General questions about mathematics ranging from grade 8 to grade 12.
- Science
Put your understanding of science to the test!
- Cs
A large variety of computer science questions.
- Python
Trivia on our amazing language, python!
- Wikipedia
Guess the title of random wikipedia passages.

distant radish
#

.trivia wikipedia

wicked parrotBOT
#
Quiz game Starting!!

Each game consists of 7 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : wikipedia

#
Question #1

Guess the title of the Wikipedia article.

On February 14, 2018, 19-year-old Nikolas Cruz opened fire on students and staff at Marjory ******** ******* **** ****** in Parkland, Florida, killing 17 people and injuring 17 others. Cruz fled the scene on foot by blending in with other students, and was arrested without incident about an hour later in nearby Coral Springs and charged with 17 counts of premeditated murder and 17 counts of attempted murder. Police and prosecutors investigated "a pattern of disciplinary issues and unnerving behavior."

#

20s left!

#

10s left!

#

No one answered correctly!

#
The correct answer is **`Stoneman Douglas High School shooting`**

Information
On February 14, 2018, 19-year-old Nikolas Cruz opened fire on students and staff at Marjory Stoneman Douglas High School in Parkland, Florida, killing 17 people and injuring 17 others. Cruz fled the scene on foot by blending in with other students, and was arrested without incident about an hour later in nearby Coral Springs and charged with 17 counts of premeditated murder and 17 counts of attempted murder. Police and prosecutors investigated "a pattern of disciplinary issues and unnerving behavior."

Let's move to the next question.
Remaining questions: 6

#

No one has made it onto the leaderboard yet.

#
Question #2

Guess the title of the Wikipedia article.

**** is a 1965 science-fiction ***** by American author Frank Herbert, originally published as two separate serials in Analog magazine. It tied with Roger Zelazny's This Immortal for the Hugo Award in 1966, and it won the inaugural Nebula Award for Best *****. It is the first installment of the **** saga; in 2003, it was cited as the world's best-selling science fiction *****.

#

20s left!

#

10s left!

#

Better luck next time...

#
The correct answer is **`Dune ((novel))`**

Information
Dune is a 1965 science-fiction novel by American author Frank Herbert, originally published as two separate serials in Analog magazine. It tied with Roger Zelazny's This Immortal for the Hugo Award in 1966, and it won the inaugural Nebula Award for Best Novel. It is the first installment of the Dune saga; in 2003, it was cited as the world's best-selling science fiction novel.

Let's move to the next question.
Remaining questions: 5

#

No one has made it onto the leaderboard yet.

#
Question #3

Guess the title of the Wikipedia article.

***** Omari **** is an American rapper, record producer, and fashion designer. Born in Atlanta and raised in Chicago, **** gained recognition as a producer for Roc-A-Fella Records in the early 2000s, producing singles for several popular artists. Intent on pursuing a solo career as a rapper, **** released his debut album, The College Dropout (2004), to critical and commercial success, and founded the record label GOOD Music.

#

20s left!

#

10s left!

#

Better luck next time...

#
The correct answer is **`Kanye West`**

Information
Kanye Omari West is an American rapper, record producer, and fashion designer. Born in Atlanta and raised in Chicago, West gained recognition as a producer for Roc-A-Fella Records in the early 2000s, producing singles for several popular artists. Intent on pursuing a solo career as a rapper, West released his debut album, The College Dropout (2004), to critical and commercial success, and founded the record label GOOD Music.

Let's move to the next question.
Remaining questions: 4

#

No one has made it onto the leaderboard yet.

#
Question #4

Guess the title of the Wikipedia article.

***** *** ****** is an American actress and writer. She is the recipient of several accolades, including a BAFTA Award, two Golden Globe Awards and a star on the Hollywood Walk of Fame in 1998.

#

20s left!

#

10s left!

#

Better luck next time...

#
The correct answer is **`Jamie Lee Curtis`**

Information
Jamie Lee Curtis is an American actress and writer. She is the recipient of several accolades, including a BAFTA Award, two Golden Globe Awards and a star on the Hollywood Walk of Fame in 1998.

Let's move to the next question.
Remaining questions: 3

#

No one has made it onto the leaderboard yet.

#
Question #5

Guess the title of the Wikipedia article.

********** is an American satirical black comedy-drama television ****** created by Jesse Armstrong. It premiered on June 3, 2018, on HBO. The ****** centers on the Roy family, the dysfunctional owners of Waystar RoyCo, a global media and entertainment conglomerate, who are fighting for control of the company amid uncertainty about the health of the family's patriarch, Logan Roy.

#

20s left!

#

10s left!

#

No one answered correctly!

#
The correct answer is **`Succession (TV series))`**

Information
Succession is an American satirical black comedy-drama television series created by Jesse Armstrong. It premiered on June 3, 2018, on HBO. The series centers on the Roy family, the dysfunctional owners of Waystar RoyCo, a global media and entertainment conglomerate, who are fighting for control of the company amid uncertainty about the health of the family's patriarch, Logan Roy.

Let's move to the next question.
Remaining questions: 2

#

No one has made it onto the leaderboard yet.

#
Question #6

Guess the title of the Wikipedia article.

*** ****-** is a South Korean actor. He began his career on stage and appeared in numerous plays before making his screen debut in 2017 with Good Manager. He rose to prominence with the 2020 television series Start-Up and gained more recognition for his main role in 2021's Hometown Cha-Cha-Cha, which aired on tvN and Netflix.

#

20s left!

#

10s left!

#

Better luck next time...

#
The correct answer is **`Kim Seon-ho`**

Information
Kim Seon-ho is a South Korean actor. He began his career on stage and appeared in numerous plays before making his screen debut in 2017 with Good Manager. He rose to prominence with the 2020 television series Start-Up and gained more recognition for his main role in 2021's Hometown Cha-Cha-Cha, which aired on tvN and Netflix.

Let's move to the next question.
Remaining questions: 1

#

No one has made it onto the leaderboard yet.

#
Question #7

Guess the title of the Wikipedia article.

**** is a **** American epic science fiction **** directed by Denis Villeneuve with a screenplay by Jon Spaihts, Villeneuve, and Eric Roth. It is the first of a planned two-part adaptation of the 1965 novel of the same name by Frank Herbert, primarily covering the first half of the book. Set in the far future, it follows Paul Atreides, as he and his family, the noble House Atreides, are thrust into a war for the dangerous desert planet Arrakis, between the native Fremen people and the enemy invaders, the House Harkonnen. The **** stars an ensemble cast including Timothรฉe Chalamet, Rebecca Ferguson, Oscar Isaac, Josh Brolin, Stellan Skarsgรฅrd, Dave Bautista, Stephen McKinley Henderson, Zendaya, David Dastmalchian, Chang Chen, Sharon Duncan-Brewster, Charlotte Rampling, Jason Momoa, and Javier Bardem.

#

20s left!

#

10s left!

#

No one answered correctly!

#
The correct answer is **`Dune (2021 film))`**

Information
Dune is a 2021 American epic science fiction film directed by Denis Villeneuve with a screenplay by Jon Spaihts, Villeneuve, and Eric Roth. It is the first of a planned two-part adaptation of the 1965 novel of the same name by Frank Herbert, primarily covering the first half of the book. Set in the far future, it follows Paul Atreides, as he and his family, the noble House Atreides, are thrust into a war for the dangerous desert planet Arrakis, between the native Fremen people and the enemy invaders, the House Harkonnen. The film stars an ensemble cast including Timothรฉe Chalamet, Rebecca Ferguson, Oscar Isaac, Josh Brolin, Stellan Skarsgรฅrd, Dave Bautista, Stephen McKinley Henderson, Zendaya, David Dastmalchian, Chang Chen, Sharon Duncan-Brewster, Charlotte Rampling, Jason Momoa, and Javier Bardem.

Remaining questions: 0

#

No one has made it onto the leaderboard yet.

#

The round has ended.

distant radish
#

.src triviaquiz

wicked parrotBOT
#
Command: quiz

Start a quiz!

Source Code
deep beacon
#

!e
import re
key = "Desktop\Work\tensorflow-master\tensorflow\python\ops\nn_ops.conv1d"
pattern = re.compile(r'([^\]+)\([^\]+)$')
if "\" in key:
cleaned_key = pattern.search(key)
new_key = cleaned_key.group(1)
new_key2 = cleaned_key.group(2)
print(f"{new_key}.{new_key2}")

rough gladeBOT
#

@deep beacon :white_check_mark: Your eval job has completed with return code 0.

ops.nn_ops.conv1d
deep beacon
#

!e
import re
key = "Desktop\Work\tensorflow-master\tensorflow\python\ops\nn_ops.conv1d"
pattern = re.compile(r'([^\]+)\([^\]+)$')
if "\" in key:
cleaned_key = pattern.search(key)
new_key = cleaned_key.group(1)
new_key2 = cleaned_key.group(2)
print(f"{new_key}.{new_key2}")

rough gladeBOT
#

@deep beacon :white_check_mark: Your eval job has completed with return code 0.

ops.nn_ops.conv1d
royal sinew
#

.candy

wicked parrotBOT
#
Top Candy Records

๐Ÿฅ‡ @wise junco: 72
๐Ÿฅˆ @royal sinew: 55
๐Ÿฅ‰ @past remnant: 44
๐Ÿ… @viscid python: 23
๐Ÿ… @whole lark: 15

โ€‹

Candies will randomly appear on messages sent.
Hit the candy when it appears as fast as possible to get the candy!
But beware the ghosts...

royal sinew
#

.hangman

wicked parrotBOT
#
Hangman
You've guessed `s _ e _ _` so far.

Guess the word by sending a message with a letter!

royal sinew
#

e

#

s

#

r

#

t

#

n

#

c

#

i

#

l

wicked parrotBOT
#
You lost.

The word was speak.

thorn willow
#

.challenge

wicked parrotBOT
#

The prime numbers are not regularly spaced. For example from 2 to 3 the gap is 1.
From 3 to 5 the gap is 2. From 7 to 11 it is 4.
Between 2 and 50 we have the following pairs of 2-gaps primes:
3-5, 5-7, 11-13, 17-19, 29-31, 41-43

A prime gap of length n is a run of n-1 consecutive composite numbers between two successive primes (see: http://mathworld.wolfram.com/PrimeGaps.html).

We will write a function gap with parameters:

  • g (integer >= 2) which indicates the gap we are looking for

  • m (integer > 2) which gives the start of the search (m inclusive)

  • n (integer >= m) which gives the end of the search (n inclusive)

    n won't go beyond 1100000.

In the example above gap(2, 3, 50) will return [3, 5] or (3, 5) or {3, 5} which is the first pair between 3 and 50 with a 2-gap.
... continue reading

Difficulty

5 kyu

gilded folio
#

.challenge

wicked parrotBOT
#

CLEAR CUTTER'S NEEDS YOUR HELP!

The logging company Clear Cutter's makes its money by optimizing the price-to-length of each log they cut before selling them. An example of one of their price tables is included:

# So a price table p
p = [ 0,  1,  5,  8,  9, 10]

# Can be imagined as:
# length i | 0  1  2  3  4  5 *in feet*
# price pi | 0  1  5  8  9 10 *in money*

They hired an intern last summer to create a recursive function for them to easily calculate the most profitable price for a log of length n using price table p as follows:

def cut_log(p, n):
    if (n == 0):
        return 0
    q = -1
    for i in range(1, n+1)
        q = max(q, p[i] + cut_log(p, n-i))
    return q
function cutLog(p, n) {
  if (n == 0) return 0;
  let q = -1;
  for (let i = 1; i <= n; i++) {
    q = Math.max(q, p[i] + cutLog(p, n - i));
  }
  return q;
}
int cutLog(List<int> p, int n) {
  if (n == 0) return 0;
  int q = -1;... [continue reading](https://codewars.com/kata/54b058ce56f22dc6fe0011df)
Difficulty

4 kyu

wicked parrotBOT
#

Today's Spooky Name Rate Game ends now, and the winner(s) is(are)...

#

Hmm... Looks like no one participated! :cry:

main scarab
#

Halloween is coming!

#

And now @wicked parrot detects it

outer barn
#

.ttt

wicked parrotBOT
#

It's time for the game! Let's begin.

#

:tada: @outer barn won this game! :tada:

outer barn
#

.ttt

wicked parrotBOT
#

It's time for the game! Let's begin.

#

:tada: @outer barn won this game! :tada:

outer barn
#

.ttt

wicked parrotBOT
#

It's time for the game! Let's begin.

#

:tada: @outer barn won this game! :tada:

outer barn
#

.rps scissors

wicked parrotBOT
#

@outer barn You and Sir Lancebot played scissors, it's a tie.

outer barn
#

uhh

astral ingot
#

.ttt

wicked parrotBOT
#

It's time for the game! Let's begin.

#

x_square o_square x_square
4๏ธโƒฃ o_square x_square
o_square 8๏ธโƒฃ x_square

#

:tada: @astral ingot won this game! :tada:

astral ingot
#

.ttt

wicked parrotBOT
#

It's time for the game! Let's begin.

#

x_square 2๏ธโƒฃ o_square
o_square x_square 6๏ธโƒฃ
x_square o_square x_square

#

:tada: @astral ingot won this game! :tada:

astral ingot
#

.help

wicked parrotBOT
#
Command Help

RPS
.rps <move>
Play the classic game of Rock Paper Scissors with your own sir-lancebot!

RealPython
.realpython <user_search>
Send 5 articles that match the user's search terms.

RecommendGame
.recommendgame
Sends an Embed of a random game recommendation.

Reddit
.reddit
View the top posts from various subreddits.

RomanceMovieFinder
.romancemovie
Randomly selects a romance movie and displays information about it.

astral ingot
#

.spookyavatar

wicked parrotBOT
#
Is this you or am I just really paranoid?
astral ingot
#

.halloweenify

wicked parrotBOT
#
Not spooky enough?

SidVeld wasn't spooky enough for you? That's understandable, SidVeld isn't scary at all! Let me think of something better. Hmm... I got it!

Your new nickname will be:
:ghost: Samara Morgan :jack_o_lantern:

restive wasp
#

.challenge

wicked parrotBOT
#

Definition

Balanced number is the number that * The sum of all digits to the left of the middle digit(s) and the sum of all digits to the right of the middle digit(s) are equal*.


Task

Given a number, Find if it is Balanced or not .


Warm-up (Highly recommended)

Playing With Numbers Series


Notes

  • If the number has an odd number of digits then there is only one middle digit, e.g. 92645 has middle digit 6; otherwise, there are two middle digits , e.g. 1301 has middle digits 3 and 0

  • The middle digit(s) should not be considered when determining whether a number is balanced or not, e.g 413023 is a balanced number because the left sum and right sum are both 5.

  • Number passed is always Positive .

  • Return the result as String


... continue reading

Difficulty

7 kyu

restive wasp
#

.topic

wicked parrotBOT
#
**What is the best gift you've been given?**

Suggest more topics here!

deep beacon
#

!e f"{ctx.guild.banner}"

rough gladeBOT
#

@deep beacon :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | NameError: name 'ctx' is not defined
deep beacon
#

!e print("14450,Sarah".split(','))

rough gladeBOT
#

@deep beacon :warning: Your eval job has completed with return code 0.

[No output]
deep beacon
#

!e print("14450,Sarah".split(','))

rough gladeBOT
#

@deep beacon :white_check_mark: Your eval job has completed with return code 0.

['14450', 'Sarah']
inner pendant
#

.quiz python 30

wicked parrotBOT
#
Quiz game Starting!!

Each game consists of 30 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : python

#
Question #1

How does one call a class who defines the behavior of their instance classes?

inner pendant
#

metaclass

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`a metaclass, metaclass`**

Let's move to the next question.
Remaining questions: 29

#
Score Board

MarkRems#1041: 100

#
Question #2

Which year was Python 3 released?

inner pendant
#

2008

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`2008`**

Let's move to the next question.
Remaining questions: 28

#
Score Board

MarkRems#1041: 200

#
Question #3

Is the __aiter__ method async (y/n)?

inner pendant
#

n

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`n, no`**

Let's move to the next question.
Remaining questions: 27

#
Score Board

MarkRems#1041: 300

#
Question #4

Is everything an instance of the object class (y/n)?

inner pendant
#

y

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`y, yes`**

Let's move to the next question.
Remaining questions: 26

#
Score Board

MarkRems#1041: 400

#
Question #5

Which one of these protocols/abstract base classes does the builtin range object NOT implement?
(Sequence, Iterable, Generator)

inner pendant
#

generator

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`Generator`**

Let's move to the next question.
Remaining questions: 25

#
Score Board

MarkRems#1041: 500

#
Question #6

What is the garbage collection strategy used by cpython to collect everything but reference cycles?

inner pendant
#

refcounting

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`reference counting, refcounting`**

Let's move to the next question.
Remaining questions: 24

#
Score Board

MarkRems#1041: 600

#
Question #7

How is infinity represented in Python?

inner pendant
#

float('inf')

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`float("infinity"), float('infinity'), float("inf"), float('inf')`**

Let's move to the next question.
Remaining questions: 23

#
Score Board

MarkRems#1041: 700

#
Question #8

Where does the name Python come from?

inner pendant
#

monty python

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`Monty Python, Monty Python's Flying Circus`**

Let's move to the next question.
Remaining questions: 22

#
Score Board

MarkRems#1041: 800

#
Question #9

Which standard library module is designed for making simple parsers for languages like shell, as well as safe quoting of strings for use in a shell?

inner pendant
#

shlex

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`shlex`**

Let's move to the next question.
Remaining questions: 21

#
Score Board

MarkRems#1041: 900

#
Question #10

Which attribute is the documentation string of a function/method/class stored in (answer should be enclosed in backticks!)?

inner pendant
#

__doc__

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **``__doc__``**

Let's move to the next question.
Remaining questions: 20

#
Score Board

MarkRems#1041: 1000

#
Question #11

What is the official name of this operator :=, introduced in 3.8?

inner pendant
#

assignment expression operator

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`assignment-expression operator`**

Let's move to the next question.
Remaining questions: 19

#
Score Board

MarkRems#1041: 1100

#
Question #12

Which file contains all special site builtins, such as help or credits?

inner pendant
#

.quiz stop

wicked parrotBOT
#

Quiz stopped.

wicked parrotBOT
#
Quiz game Starting!!

Each game consists of 7 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : math

#
Question #1

What's the following formula that finds the area of a triangle called?

#
Command Help

AdventOfCode
.adventofcode
All of the Advent of Code commands.

Anagram
.anagram
Given shuffled letters, rearrange them into anagrams.

AprilFoolVideos
.fool
Get a random April Fools' video from Youtube.

AvatarModify
.8bitify
Pixelates your avatar and changes the palette to an 8bit one.
.avatar_modify
Groups all of the pfp modifying commands to allow a single concurrency limit.
.avatareasterify [colours...]
This "Easterifies" the user's avatar.

#

Check out this April Fools' video by google.

https://youtu.be/4YMD6xELI_k

Dozens of wild Pokรฉmon have taken up residence on streets, amidst forests and atop mountains throughout Google Maps.

To catch 'em all, grab your Pokรฉ Ball and the newest version of Google Maps for iPhone or Android. Then tap the search bar, "press start," and begin your quest.

And, follow Google Maps on Google+, Facebook or Twitter for hints ...

โ–ถ Play video
#

20s left!

#

Check out this April Fools' video by razer.

https://youtu.be/j8UJE7DoyJ8

*** REFORMULATED FOR HUMAN CONSUMPTION - MEET RESPAWN BY RAZER: http://www.respawnbyrazer.com ***

Become the extension of the world's deadliest gaming hardware with Project Venom V2: http://rzr.to/venomv2

Formulated with Nano-mechanical bot technologies, achieve peak gaming performance and beyond. Be the machine.

Song Credit: ASCEND by Jay C...

โ–ถ Play video
rough gladeBOT
#

:incoming_envelope: :ok_hand: applied mute to @main scarab until <t:1635097477:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).

wicked parrotBOT
#

10s left!

#

No one answered correctly!

#
The correct answers are **`Heron's formula, Heron`**

Let's move to the next question.
Remaining questions: 6

#

No one has made it onto the leaderboard yet.

#
Question #2

What is the natural log of -1 (use i for imaginary number)?

#

20s left!

#

10s left!

#

Better luck next time...

#
The correct answers are **`pi*i, pii, ฯ€i`**

Let's move to the next question.
Remaining questions: 5

#

No one has made it onto the leaderboard yet.

#
Question #3

What is the term used to describe two triangles that have equal corresponding sides and angle measures?

#

20s left!

#

10s left!

#

No one answered correctly!

#
The correct answer is **`congruent`**

Let's move to the next question.
Remaining questions: 4

#

No one has made it onto the leaderboard yet.

#
Question #4

โ…“ฯ€r^2h is the volume of which 3 dimensional figure?

#

20s left!

#

10s left!

#

Better luck next time...

#
The correct answer is **`cone`**

Let's move to the next question.
Remaining questions: 3

#

No one has made it onto the leaderboard yet.

#
Question #5

6a^2 is the surface area of which 3 dimensional figure?

#

20s left!

#

10s left!

#

No one answered correctly!

#
The correct answer is **`cube`**

Let's move to the next question.
Remaining questions: 2

#

No one has made it onto the leaderboard yet.

#
Question #6

Which trigonometric function is defined as hypotenuse/opposite?

#

20s left!

#

10s left!

#

Better luck next time...

#
The correct answers are **`cosecant, cosec, csc`**

Let's move to the next question.
Remaining questions: 1

#

No one has made it onto the leaderboard yet.

#
Question #7

1/100th of a second is also termed as what?

#

20s left!

velvet igloo
#

centisecond

wicked parrotBOT
#

@velvet igloo got the correct answer :tada: 75 points!

#
You got it! The correct answers are **`a jiffy, jiffy, centisecond`**

Remaining questions: 0

#
Score Board

donluke#2684: 75

#

The round has ended.

#

@velvet igloo Congratulations on winning this quiz game with a grand total of 75 points :tada:

jaunty elbow
#

.challenge

wicked parrotBOT
#

Consider a sequence u where u is defined as follows:

  1. The number u(0) = 1 is the first one in u.
  2. For each x in u, then y = 2 * x + 1 and z = 3 * x + 1 must be in u too.
  3. There are no other numbers in u.

Example:

u = [1, 3, 4, 7, 9, 10, 13, 15, 19, 21, 22, 27, ...]

1 gives 3 and 4, then 3 gives 7 and 10, 4 gives 9 and 13, then 7 gives 15 and 22 and so on...

Task:

Given parameter n the function dbl_linear (or dblLinear...) returns the element u(n) of the ordered sequence u (ordered with < so there are no duplicates) .

Example:

dbl_linear(10) should return 22

Note:

Focus attention on efficiency

Difficulty

4 kyu

main scarab
#

bot#1889

wicked parrotBOT
mystic moon
#

.quack

wicked parrotBOT
ivory wolf
#

!.title

#

!.title()

#

!title

#

!title_case

spring tapir
inner pendant
#

.quiz python 5

wicked parrotBOT
#
Quiz game Starting!!

Each game consists of 5 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : python

#
Question #1

What file extension is used by the site module to determine what to do at every start?

inner pendant
#

.pth

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`.pth`**

Let's move to the next question.
Remaining questions: 4

#
Score Board

MarkRems#1041: 100

#
Question #2

What attribute of a closure contains the value closed over?

inner pendant
#

cell_contents

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`cell_contents`**

Let's move to the next question.
Remaining questions: 3

#
Score Board

MarkRems#1041: 200

#
Question #3

Can you pickle a running list_iterator (y/n)?

inner pendant
#

y

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`y, yes`**

Let's move to the next question.
Remaining questions: 2

#
Score Board

MarkRems#1041: 300

#
Question #4

What exception, other than StopIteration, can you raise from a __getitem__ dunder to indicate to an iterator that it should stop?

inner pendant
#

IndexError

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`IndexError`**

Let's move to the next question.
Remaining questions: 1

#
Score Board

MarkRems#1041: 400

#
Question #5

Does numbers.Rational include the builtin object float (y/n)

inner pendant
#

n

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`n, no`**

Remaining questions: 0

#
Score Board

MarkRems#1041: 500

#

The round has ended.

#

@inner pendant Congratulations on winning this quiz game with a grand total of 500 points :tada:

inner pendant
#

.quiz math 5

wicked parrotBOT
#
Quiz game Starting!!

Each game consists of 5 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : math

#
Question #1

What's 497 + 230 mod 19 congruent to?

#

20s left!

inner pendant
#

5

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 75 points!

#
You got it! The correct answer is **`5`**

Let's move to the next question.
Remaining questions: 4

#
Score Board

MarkRems#1041: 75

#
Question #2

Does the harmonic series converge or diverge?

inner pendant
#

diverge

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`diverge`**

Let's move to the next question.
Remaining questions: 3

#
Score Board

MarkRems#1041: 175

#
Question #3

โ…“ฯ€r^2h is the volume of which 3 dimensional figure?

inner pendant
#

cone

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`cone`**

Let's move to the next question.
Remaining questions: 2

#
Score Board

MarkRems#1041: 275

#
Question #4

In probability, the ______ _____ of an experiment or random trial is the set of all possible outcomes of it.

#

20s left!

inner pendant
#

potato farmer

#

chocolate rain

#

bob evans

wicked parrotBOT
#

10s left!

inner pendant
#

Help Pancakes

wicked parrotBOT
#

Better luck next time...

#
The correct answer is **`sample space`**

Let's move to the next question.
Remaining questions: 1

#
Score Board

MarkRems#1041: 275

#
Question #5

6a^2 is the surface area of which 3 dimensional figure?

inner pendant
#

cone

#

prism

wicked parrotBOT
#

20s left!

inner pendant
#

cube

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 75 points!

#
You got it! The correct answer is **`cube`**

Remaining questions: 0

#
Score Board

MarkRems#1041: 350

#

The round has ended.

#

@inner pendant Congratulations on winning this quiz game with a grand total of 350 points :tada:

inner pendant
#

.quiz math 5

wicked parrotBOT
#
Quiz game Starting!!

Each game consists of 5 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : math

#
Question #1

In set builder notation, what does {p/q | q โ‰  0, p & q โˆˆ Z} represent?

inner pendant
#

rational numbers

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`Rationals, Rational Numbers`**

Let's move to the next question.
Remaining questions: 4

#
Score Board

MarkRems#1041: 100

#
Question #2

Which trigonometric function is defined as hypotenuse/opposite?

inner pendant
#

cosecant

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`cosecant, cosec, csc`**

Let's move to the next question.
Remaining questions: 3

#
Score Board

MarkRems#1041: 200

#
Question #3

What is the formula for surface area of a sphere?

inner pendant
#

pi*r^2

wicked parrotBOT
#

20s left!

inner pendant
#

1/3 * pi * r ^2

wicked parrotBOT
#

10s left!

inner pendant
#

3.14159265

#

jdklfsdkljf

wicked parrotBOT
#

Better luck next time...

#
The correct answers are **`4pir^2, 4ฯ€r^2`**

Let's move to the next question.
Remaining questions: 2

#
Score Board

MarkRems#1041: 200

#
Question #4

6a^2 is the surface area of which 3 dimensional figure?

inner pendant
#

cube

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`cube`**

Let's move to the next question.
Remaining questions: 1

#
Score Board

MarkRems#1041: 300

#
Question #5

What's the following formula that finds the area of a triangle called?

inner pendant
#

heron's formula

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`Heron's formula, Heron`**

Remaining questions: 0

#
Score Board

MarkRems#1041: 400

#

The round has ended.

#

@inner pendant Congratulations on winning this quiz game with a grand total of 400 points :tada:

inner pendant
#

.quiz cs 1

wicked parrotBOT
#
Quiz game Starting!!

Each game consists of 1 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : cs

#
Question #1

A hypothetical point in time at which technological growth becomes uncontrollable and irreversible, resulting in unforeseeable changes to human civilization is termed as...?

inner pendant
#

singularity

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`technological singularity, singularity`**

Remaining questions: 0

#
Score Board

MarkRems#1041: 100

#

The round has ended.

#

@inner pendant Congratulations on winning this quiz game with a grand total of 100 points :tada:

inner pendant
#

.quiz

wicked parrotBOT
#
Quiz game Starting!!

Each game consists of 7 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : science

#
Question #1

The three main components of a normal atom are: protons, neutrons, and...

inner pendant
#

electron

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`electrons`**

Let's move to the next question.
Remaining questions: 6

#
Score Board

MarkRems#1041: 100

#
Question #2

The Heisenberg's Uncertainty Principle states that the position and ________ of a quantum object can't be both exactly measured at the same time.

inner pendant
#

state

#

energy

wicked parrotBOT
#

20s left!

inner pendant
#

existence

wicked parrotBOT
#

10s left!

inner pendant
#

wave

wicked parrotBOT
#

Better luck next time...

#
The correct answers are **`velocity, momentum`**

Let's move to the next question.
Remaining questions: 5

#
Score Board

MarkRems#1041: 100

#
Question #3

What is the name of our galaxy group in which the Milky Way resides?

inner pendant
#

ur mom

wicked parrotBOT
#

20s left!

inner pendant
#

ugh

wicked parrotBOT
#

10s left!

inner pendant
#

!e

print("UGH")
rough gladeBOT
#

@inner pendant :white_check_mark: Your eval job has completed with return code 0.

UGH
wicked parrotBOT
#

No one answered correctly!

#
The correct answer is **`Local Group`**

Let's move to the next question.
Remaining questions: 4

#
Score Board

MarkRems#1041: 100

#
Question #4

How does one describe the unit joule (unit of energy & quantity of heat) in SI base units?
IMPORTANT: enclose answer in backticks, use * for multiplication, ^ for exponentiation, and place your base units in this order: m - kg - s - A

#

20s left!

inner pendant
#

m - kg - s -A

#

jkdlsfjds

wicked parrotBOT
#

10s left!

inner pendant
#

!e

print("fudge")
rough gladeBOT
#

@inner pendant :white_check_mark: Your eval job has completed with return code 0.

fudge
wicked parrotBOT
#

Better luck next time...

#
The correct answer is **``m^2*kg*s^-2``**

Let's move to the next question.
Remaining questions: 3

#
Score Board

MarkRems#1041: 100

#
Question #5

What is the process used to separate substances with different polarity in a mixture, using a stationary and mobile phase?

inner pendant
#

.quiz stop

wicked parrotBOT
#

Quiz stopped.

inner pendant
#

.quiz python 3

wicked parrotBOT
#
Quiz game Starting!!

Each game consists of 3 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : python

#

20s left!

#
Question #1

What exception, other than StopIteration, can you raise from a __getitem__ dunder to indicate to an iterator that it should stop?

inner pendant
#

!e

print("IndexError")
rough gladeBOT
#

@inner pendant :white_check_mark: Your eval job has completed with return code 0.

IndexError
wicked parrotBOT
#

10s left!

inner pendant
#

indexerror

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`IndexError`**

Let's move to the next question.
Remaining questions: 2

#
Score Board

MarkRems#1041: 100

#
Question #2

Name the only non-dunder method of the builtin slice object.

#

No one answered correctly!

inner pendant
#

indices

wicked parrotBOT
#
The correct answer is **`chromatography`**

Remaining questions: -2

#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`indices`**

Let's move to the next question.
Remaining questions: 1

#
Score Board

MarkRems#1041: 200

#
Score Board

MarkRems#1041: 200

#
Question #3

Which one of these protocols/abstract base classes does the builtin range object NOT implement?
(Sequence, Iterable, Generator)

#
Question #6

Which law states that the current through a conductor between two points is directly proportional to the voltage across the two points?

inner pendant
#

generator

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`Generator`**

Remaining questions: 0

#
Score Board

MarkRems#1041: 300

#

The round has ended.

#

@inner pendant Congratulations on winning this quiz game with a grand total of 300 points :tada:

inner pendant
#

!e

print("UWU")
rough gladeBOT
#

@inner pendant :white_check_mark: Your eval job has completed with return code 0.

UWU
inner pendant
#

.quiz python 12

wicked parrotBOT
#
Quiz game Starting!!

Each game consists of 12 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : python

#
Question #1

What name does a lambda function have?

inner pendant
#

<lambda>

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`<lambda>`**

Let's move to the next question.
Remaining questions: 11

#
Score Board

MarkRems#1041: 100

#
Question #2

Name the only non-dunder method of the builtin slice object.

inner pendant
#

indices

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`indices`**

Let's move to the next question.
Remaining questions: 10

#
Score Board

MarkRems#1041: 200

#
Question #3

What is the official name of this operator :=, introduced in 3.8?

inner pendant
#

assignment expression operator

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`assignment-expression operator`**

Let's move to the next question.
Remaining questions: 9

#
Score Board

MarkRems#1041: 300

#
Question #4

What attribute of a closure contains the value closed over?

inner pendant
#

cell_contents

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`cell_contents`**

Let's move to the next question.
Remaining questions: 8

#
Score Board

MarkRems#1041: 400

#
Question #5

Which attribute is the documentation string of a function/method/class stored in (answer should be enclosed in backticks!)?

inner pendant
#

__doc__

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **``__doc__``**

Let's move to the next question.
Remaining questions: 7

#
Score Board

MarkRems#1041: 500

#
Question #6

What type is the attribute of a frame object that contains the current local variables?

inner pendant
#

dict

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`dict`**

Let's move to the next question.
Remaining questions: 6

#
Score Board

MarkRems#1041: 600

#
Question #7

Which of these is not a generator method?
(next, send, throw, close)

inner pendant
#

next

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`next`**

Let's move to the next question.
Remaining questions: 5

#
Score Board

MarkRems#1041: 700

#
Question #8

When was Python first released?

inner pendant
#

1991

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`1991`**

Let's move to the next question.
Remaining questions: 4

#
Score Board

MarkRems#1041: 800

#
Question #9

What dunder method is used by the tuple constructor to optimize converting an iterator to a tuple (answer should be enclosed in backticks!)?

inner pendant
#

__lenth_hint__

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **``__length_hint__``**

Let's move to the next question.
Remaining questions: 3

#
Score Board

MarkRems#1041: 900

#
Question #10

Which file contains all special site builtins, such as help or credits?

#

20s left!

#

10s left!

inner pendant
#

_sitebuiltins

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 50 points!

#
You got it! The correct answer is **`_sitebuiltins`**

Let's move to the next question.
Remaining questions: 2

#
Score Board

MarkRems#1041: 950

#
Question #11

Can you pickle a running list_iterator (y/n)?

inner pendant
#

y

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`y, yes`**

Let's move to the next question.
Remaining questions: 1

#
Score Board

MarkRems#1041: 1050

#
Question #12

Which standard library module is designed for making simple parsers for languages like shell, as well as safe quoting of strings for use in a shell?

inner pendant
#

shlex

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`shlex`**

Remaining questions: 0

#
Score Board

MarkRems#1041: 1150

#

The round has ended.

#

@inner pendant Congratulations on winning this quiz game with a grand total of 1150 points :tada:

inner pendant
#

.quiz python 6

wicked parrotBOT
#
Quiz game Starting!!

Each game consists of 6 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : python

#
Question #1

What is the garbage collection strategy used by cpython to collect everything but reference cycles?

inner pendant
#

refcounting

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`reference counting, refcounting`**

Let's move to the next question.
Remaining questions: 5

#
Score Board

MarkRems#1041: 100

#
Question #2

What is the official name of this operator :=, introduced in 3.8?

inner pendant
#

assignment expression operator

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`assignment-expression operator`**

Let's move to the next question.
Remaining questions: 4

#
Score Board

MarkRems#1041: 200

#
Question #3

What name does a lambda function have?

inner pendant
#

<lambda>

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`<lambda>`**

Let's move to the next question.
Remaining questions: 3

#
Score Board

MarkRems#1041: 300

#
Question #4

Which of these is a subclass of Exception?
(NotImplemented, asyncio.CancelledError, StopIteration)

inner pendant
#

stopiteration

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`StopIteration`**

Let's move to the next question.
Remaining questions: 2

#
Score Board

MarkRems#1041: 400

#
Question #5

What is a package that doesn't have a __init__ file called?

inner pendant
#

namespace package

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`namespace package`**

Let's move to the next question.
Remaining questions: 1

#
Score Board

MarkRems#1041: 500

#
Question #6

Can you pickle a running list_iterator (y/n)?

inner pendant
#

y

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`y, yes`**

Remaining questions: 0

#
Score Board

MarkRems#1041: 600

#

The round has ended.

#

@inner pendant Congratulations on winning this quiz game with a grand total of 600 points :tada:

inner pendant
#

.quiz cs

wicked parrotBOT
#
Quiz game Starting!!

Each game consists of 7 questions.
Rules :
1: No cheating and have fun!
2: Points for each question reduces by 25 after 10s or after a hint. Total time is 30s per question
Category : cs

#
Question #1

Name a universal logic gate.

inner pendant
#

nand

wicked parrotBOT
#

@inner pendant got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`NAND, NOR`**

Let's move to the next question.
Remaining questions: 6

#
Score Board

MarkRems#1041: 100

#
Question #2

What is computing capable of performing exaFLOPS called?

inner pendant
#

.quit stop

#

.quit end

wicked parrotBOT
#

20s left!

inner pendant
#

.quiz stop

wicked parrotBOT
#

Quiz stopped.

gaunt pasture
#

.halloweenify

wicked parrotBOT
#
Not spooky enough?

DM-Friends ๐ŸŽƒ | แ˜ฃแ˜แ—ข (pings ok) wasn't spooky enough for you? That's understandable, DM-Friends ๐ŸŽƒ | แ˜ฃแ˜แ—ข (pings ok) isn't scary at all! Let me think of something better. Hmm... I got it!

Your new nickname will be:
:ghost: Pinhead :jack_o_lantern:

gaunt pasture
#

wow

elfin shard
#

.halloweenify

wicked parrotBOT
#
Not spooky enough?

EE-Gamer | แ•‚แ˜แ—ข wasn't spooky enough for you? That's understandable, EE-Gamer | แ•‚แ˜แ—ข isn't scary at all! Let me think of something better. Hmm... I got it!

Your new nickname will be:
:ghost: Michael Myers :jack_o_lantern:

gaunt pasture
#

.uwu DM-Friends

wicked parrotBOT
#

DM-Fwiends

south zinc
#

.hacktober

#

.hacktoberstats

wicked parrotBOT
#

@south zinc, you have not linked a GitHub account

You can link your GitHub account using:

.hackstats link github_username

Or query GitHub stats directly using:

.hackstats github_username
south zinc
#

.hacktoberstats link bsoyka

wicked parrotBOT
#

@south zinc, your GitHub username has been added

south zinc
#

.hacktoberstats

wicked parrotBOT
#

No valid Hacktoberfest PRs found for 'bsoyka'

halcyon apex
#

hi