#sir-lancebot-playground

1 messages · Page 52 of 1

cobalt scroll
#

Generator

wicked parrotBOT
#

@cobalt scroll 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

ghsotiexs: 100

#
Question #2

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

#

20s left!

#

10s left!

cobalt scroll
#

method

#

superclass

#

subclass

wicked parrotBOT
#

No one answered correctly!

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

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

#
Score Board

ghsotiexs: 100

#
Question #3

What is hash(float('iNf'))?

#

20s left!

cobalt scroll
#

if

wicked parrotBOT
#

10s left!

cobalt scroll
#

i f

#

f i

wicked parrotBOT
#

Better luck next time...

#
The correct answer is **`314159`**

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

#
Score Board

ghsotiexs: 100

#
Question #4

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

#

20s left!

#

10s left!

#

Better luck next time...

#
The correct answer is **``__length_hint__``**

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

#
Score Board

ghsotiexs: 100

#
Question #5

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

#

20s left!

cobalt scroll
#

NotIMPLEMENTED

wicked parrotBOT
#

10s left!

cobalt scroll
#

StopIteration

wicked parrotBOT
#

@cobalt scroll got the correct answer :tada: 50 points!

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

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

#
Score Board

ghsotiexs: 150

#
Question #6

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

#

20s left!

cobalt scroll
#

position

#

scope

wicked parrotBOT
#

10s left!

#

Better luck next time...

#
The correct answer is **`dict`**

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

#
Score Board

ghsotiexs: 150

#
Question #7

What common operation does this function implement?

def mystery(n: int) -> int:
    return (n>>1<<1)^n
#

20s left!

cobalt scroll
#

type

#

definition

wicked parrotBOT
#

10s left!

cobalt scroll
#

type hintinh

wicked parrotBOT
#

Better luck next time...

#
The correct answer is **`is odd`**

Remaining questions: 0

#
Score Board

ghsotiexs: 150

#

The round has ended.

#

@cobalt scroll Congratulations on winning this quiz game with a grand total of 150 points :tada:

cobalt scroll
#

.quiz matg

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.
cobalt scroll
#

.quiz math

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

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

#

20s left!

cobalt scroll
#

universe

wicked parrotBOT
#

10s left!

cobalt scroll
#

possibilities

wicked parrotBOT
#

No one answered correctly!

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

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

#

No one has made it onto the leaderboard yet.

#
Question #2

Find the square root of -36.

#

20s left!

cobalt scroll
#

6

wicked parrotBOT
#

10s left!

cobalt scroll
#

wicked parrotBOT
#

No one answered correctly!

#
The correct answer is **`6i`**

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

#

No one has made it onto the leaderboard yet.

#
Question #3

"Hexakosioihexekontahexaphobia" is the fear of which number?

#

20s left!

#

10s left!

cobalt scroll
#

666

wicked parrotBOT
#

@cobalt scroll got the correct answer :tada: 50 points!

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

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

#
Score Board

ghsotiexs: 50

#
Question #4

What is the (0,0) coordinate in a cartesian plane termed as?

#

20s left!

cobalt scroll
#

origin

wicked parrotBOT
#

@cobalt scroll got the correct answer :tada: 75 points!

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

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

#
Score Board

ghsotiexs: 125

#
Question #5

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

cobalt scroll
#

-1i

wicked parrotBOT
#

20s left!

#

10s left!

cobalt scroll
#

1i

#

10i

wicked parrotBOT
#

No one answered correctly!

#
The correct answers are **`pi*i, pii, πi`**

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

#
Score Board

ghsotiexs: 125

#
Question #6

Solve the following system of linear equations (format your answer like this <x> & <y>):
1x + 4y = 11,
5x + 2y = 19

#

20s left!

#

10s left!

#

Better luck next time...

#
The correct answer is **`3 & 2`**

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

#
Score Board

ghsotiexs: 125

#
Question #7

Which trigonometric function is defined as hypotenuse/opposite?

cobalt scroll
#

cos

wicked parrotBOT
#

20s left!

cobalt scroll
#

sin

#

arcsin

wicked parrotBOT
#

10s left!

cobalt scroll
#

tangent

#

normal

wicked parrotBOT
#

Better luck next time...

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

Remaining questions: 0

#
Score Board

ghsotiexs: 125

#

The round has ended.

#

@cobalt scroll Congratulations on winning this quiz game with a grand total of 125 points :tada:

cobalt scroll
#

.quiz h

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.
cobalt scroll
#

.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

Which of these languages is the oldest?
(Tcl, Smalltalk 80, Haskell, Standard ML, Java)

#

20s left!

cobalt scroll
#

Standart ML

wicked parrotBOT
#

10s left!

cobalt scroll
#

Smalltalk 80

wicked parrotBOT
#

@cobalt scroll got the correct answer :tada: 50 points!

#
You got it! The correct answer is **`Smalltalk 80`**

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

#
Score Board

ghsotiexs: 50

#
Question #2

What is an interpreter capable of interpreting itself called?

cobalt scroll
#

meta

wicked parrotBOT
#

20s left!

cobalt scroll
#

meta interpreter

wicked parrotBOT
#

@cobalt scroll got the correct answer :tada: 75 points!

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

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

#
Score Board

ghsotiexs: 125

#
Question #3

What are the components of digital devices that make up logic gates called?

cobalt scroll
#

transistor

wicked parrotBOT
#

@cobalt scroll got the correct answer :tada: 100 points!

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

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

#
Score Board

ghsotiexs: 225

#
Question #4

What is the name of the memory cache that stores recent mappings from virtual memory to physical memory?

cobalt scroll
#

ram

wicked parrotBOT
#

20s left!

cobalt scroll
#

s ram

#

d ram

wicked parrotBOT
#

10s left!

#

Better luck next time...

#
The correct answers are **`TLB, Translation lookaside buffer`**

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

cobalt scroll
#

volatile memory

wicked parrotBOT
#
Score Board

ghsotiexs: 225

#
Question #5

The process of moving unused page tables out of memory is called?

#

20s left!

#

10s left!

cobalt scroll
#

cache

wicked parrotBOT
#

Better luck next time...

#
The correct answer is **`Swapping`**

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

#
Score Board

ghsotiexs: 225

#
Question #6

Which DNS record contains mail servers of a given domain?

#

20s left!

#

10s left!

#

No one answered correctly!

#
The correct answers are **`MX, mail exchange`**

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

#
Score Board

ghsotiexs: 225

#
Question #7

In functional programming, a function with identical return values for identical arguments and no side effects is called?

#

20s left!

cobalt scroll
#

fatorial

wicked parrotBOT
#

10s left!

cobalt scroll
#

macros

wicked parrotBOT
#

No one answered correctly!

#
The correct answer is **`Pure function`**

Remaining questions: 0

#
Score Board

ghsotiexs: 225

#

The round has ended.

#

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

abstract willow
#

.ddg

wicked parrotBOT
#
Duck Duck Duck Goose!
#
Flights Found

(1, 2, 3) - ceweal :3 =type("cereal",(),{})
(2, 6, 8) - ceweal :3 =type("cereal",(),{})
(6, 9, 10) - ceweal :3 =type("cereal",(),{})
(0, 4, 7) - ceweal :3 =type("cereal",(),{})

Flights everyone missed:
(0, 1, 10)

abstract willow
#

3 1 2

#

6 2 8

#

9 6 10

#

0 4 7

#

goose

wicked parrotBOT
#
Time's up!

Final scores:

ceweal :3 =type("cereal",(),{}): 3

halcyon pond
#

.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 : retro

#
Question #1

What year was Tetris released?

halcyon pond
#

1982

wicked parrotBOT
#

**Hint #1
**It was released before the 90's.

#

**Hint #2
**It was released after 1980.

halcyon pond
#

1984

wicked parrotBOT
#

@halcyon pond got the correct answer :tada: 50 points!

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

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

#
Score Board

zakster_19: 50

#
Question #2

What is the best selling game on the Nintendo GameCube?

#

**Hint #1
**It is not a mainline Mario Game, although the plumber is present.

halcyon pond
#

super smash bros

wicked parrotBOT
#

@halcyon pond got the correct answer :tada: 75 points!

#
You got it! The correct answer is **`Super Smash Bros`**

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

#
Score Board

zakster_19: 125

#
Question #3

What was the first game Yoshi appeared in?

#

**Hint #1
**The game was released in 1990.

halcyon pond
#

super mario

#

super mario world

wicked parrotBOT
#

@halcyon pond got the correct answer :tada: 75 points!

#
You got it! The correct answer is **`Super Mario World`**

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

#
Score Board

zakster_19: 200

#
Question #4

What was Mario's original occupation?

halcyon pond
#

ez

wicked parrotBOT
#

**Hint #1
**The occupation was in construction

halcyon pond
#

carpenter

wicked parrotBOT
#

@halcyon pond got the correct answer :tada: 75 points!

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

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

#
Score Board

zakster_19: 275

#
Question #5

What is Yoshi's (from Mario Bros.) full name?

#

**Hint #1
**It was revealed in the Nintendo Character Guide in 1993.

#

**Hint #2
**His last name has to do with eating Mario's enemies.

halcyon pond
#

yoshioor munchakupas

wicked parrotBOT
#

Better luck next time...

#
The correct answer is **`Yoshisaur Munchakoopas`**

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

#
Score Board

zakster_19: 275

#
Question #6

What did Nintendo make before video games and toys?

#

**Hint #1
**They were used alternatively to playing cards.

halcyon pond
#

hanafuda playing cards

wicked parrotBOT
#

**Hint #2
**They generally have handdrawn nature images on them.

halcyon pond
#

hanafuda cards

wicked parrotBOT
#

@halcyon pond got the correct answer :tada: 50 points!

#
You got it! The correct answers are **`Hanafuda, Hanafuda cards`**

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

#
Score Board

zakster_19: 325

#
Question #7

Who was Nintendo's biggest competitor in 1990?

#

**Hint #1
**Before being Nintendo's main competitor in home gaming, they were successful in arcades.

halcyon pond
#

sega

wicked parrotBOT
#

@halcyon pond got the correct answer :tada: 75 points!

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

Remaining questions: 0

#
Score Board

zakster_19: 400

#

The round has ended.

#

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

halcyon pond
#

.quiz C's

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.
halcyon pond
#

.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

What function can be used to increase the length limit for string to integer conversion (answer should be enclosed in backticks!)?

#

20s left!

#

10s left!

#

Better luck next time...

#
The correct answer is **``sys.set_int_max_str_digits``**

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

#

No one has made it onto the leaderboard yet.

#
Question #2

What is the minimum length limit for converting strs to ints in CPython 3.11+?

#

20s left!

#

10s left!

#

No one answered correctly!

#
The correct answer is **`640`**

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

#

No one has made it onto the leaderboard yet.

#
Question #3

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: 4

#

No one has made it onto the leaderboard yet.

#
Question #4

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

#

20s left!

#

10s left!

#

Better luck next time...

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

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

#

No one has made it onto the leaderboard yet.

#
Question #5

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

#

20s left!

#

10s left!

#

Better luck next time...

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

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

#

No one has made it onto the leaderboard yet.

#
Question #6

Who invented Tim Sort?

#

20s left!

#

10s left!

#

Better luck next time...

#
The correct answer is **`Tim Peters`**

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

#

No one has made it onto the leaderboard yet.

#
Question #7

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

#

20s left!

#

10s left!

#

Better luck next time...

#
The correct answer is **`namespace package`**

Remaining questions: 0

#

No one has made it onto the leaderboard yet.

#

The round has ended.

abstract willow
#

.zen

frigid kite
#

.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

When was Python first released?

#

20s left!

#

10s left!

frigid kite
#

1991

wicked parrotBOT
#

@frigid kite got the correct answer :tada: 50 points!

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

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

#
Score Board

walkercitodt: 50

#
Question #2

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

#

20s left!

frigid kite
#

self

#

xd?

wicked parrotBOT
#

10s left!

frigid kite
#

super

wicked parrotBOT
#

No one answered correctly!

#
The correct answer is **`Descriptor`**

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

#
Score Board

walkercitodt: 50

#
Question #3

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

frigid kite
#

a

wicked parrotBOT
#

20s left!

frigid kite
#

Bool

wicked parrotBOT
#

10s left!

frigid kite
#

True False

wicked parrotBOT
#

Better luck next time...

#
The correct answer is **`set`**

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

#
Score Board

walkercitodt: 50

#
Question #4

What is the max value of hash(x) if x is an int on 32-bit machines?

#

20s left!

frigid kite
#

Ah, no mi rey, ni puta idea

wicked parrotBOT
#

10s left!

#

No one answered correctly!

#
The correct answers are **`2^31 - 2, 2^31-2, 2**31 - 2, 2**31-2`**

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

#
Score Board

walkercitodt: 50

#
Question #5

What is the minimum number of comparison methods a class must implement to support total ordering?

#

20s left!

frigid kite
#

no ni perra idea

wicked parrotBOT
#

10s left!

#

No one answered correctly!

#
The correct answer is **`2`**

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

#
Score Board

walkercitodt: 50

#
Question #6

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

#

20s left!

frigid kite
#

int

#

float

wicked parrotBOT
#

10s left!

frigid kite
#

str

wicked parrotBOT
#

Better luck next time...

#
The correct answer is **`dict`**

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

#
Score Board

walkercitodt: 50

#
Question #7

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

#

20s left!

frigid kite
#

no no

#

Que loquera xd

wicked parrotBOT
#

10s left!

#

Better luck next time...

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

Remaining questions: 0

#
Score Board

walkercitodt: 50

#

The round has ended.

#

@frigid kite Congratulations on winning this quiz game with a grand total of 50 points :tada:

graceful delta
#

.rp asyncio

wicked parrotBOT
#

Here are the top 5 results:

Async IO in Python: A Complete Walkthrough
Speed Up Your Python Program With Concurrency
Python 3.11 Preview: Task and Exception Groups
Getting Started With Async Features in Python
Python 3.11: Cool New Features for You to Try
sinful robin
#

!d locals

rough gladeBOT
#

locals()```
Update and return a dictionary representing the current local symbol table. Free variables are returned by [`locals()`](https://docs.python.org/3/library/functions.html#locals) when it is called in function blocks, but not in class blocks. Note that at the module level, [`locals()`](https://docs.python.org/3/library/functions.html#locals) and [`globals()`](https://docs.python.org/3/library/functions.html#globals) are the same dictionary.

Note

The contents of this dictionary should not be modified; changes may not affect the values of local and free variables used by the interpreter.
main scarab
#

!e

print(0)

rough gladeBOT
main scarab
#

!e

x = 0

while x != 100:
print(x)
x = x+1

rough gladeBOT
main scarab
#

so 10 lines is the maximum? lets try that again

#

!e

x = 0

while x != 100:
print(x, end = " ")
x = x+1

rough gladeBOT
# main scarab !e x = 0 while x != 100: print(x, end = " ") x = x+1

:white_check_mark: Your 3.12 eval job has completed with return code 0.

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 
main scarab
#

!e

x = 0

while x != 101:
print(x, end = " ")
x = x+1

rough gladeBOT
# main scarab !e x = 0 while x != 101: print(x, end = " ") x = x+1

:white_check_mark: Your 3.12 eval job has completed with return code 0.

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 
barren orchid
#

.uptime

wicked parrotBOT
#

I started up 4 days ago.

broken wigeon
#

.uptime

wicked parrotBOT
#

I started up 4 days ago.

rough gladeBOT
#
Available tags

» args-kwargs
» async-await
» blocking
» botvar
» class
» classmethod
» codeblock
» comparison
» contribute
» customchecks
» customcooldown
» customhelp
» dashmpip
» decorators

#
Bot variables

Python allows you to set custom attributes to most objects, like your bot! By storing things as attributes of the bot object, you can access them anywhere you access your bot. In the discord.py library, these custom attributes are commonly known as "bot variables" and can be a lifesaver if your bot is divided into many different files. An example on how to use custom attributes on your bot is shown below:

bot = commands.Bot(command_prefix="!")
# Set an attribute on our bot
bot.test = "I am accessible everywhere!"

@bot.command()
async def get(ctx: commands.Context):
    """A command to get the current value of `test`."""
    # Send what the test attribute is currently set to
    await ctx.send(ctx.bot.test)

@bot.command()
async def setval(ctx: commands.Context, *, new_text: str):
    """A command to set a new value of `test`."""
    # Here we change the attribute to what was specified in new_text
    bot.test = new_text

This all applies to cogs as well! You can set attributes to self as you wish.

Be sure not to overwrite attributes discord.py uses, like cogs or users. Name your attributes carefully!

broken wigeon
#

Users

#

users

#

!users

austere canyon
#

.realpython lists

wicked parrotBOT
#

Here are the top 5 results:

Manage Your To-Do Lists Using Python and Django
Linked Lists in Python: An Introduction
Custom Python Lists: Inheriting From list vs UserList
Reverse Python Lists: Beyond .reverse() and reversed()
How to Flatten a List of Lists in Python
austere canyon
#

.realpython legb

#

.realpython legb

wicked parrotBOT
#

Here are the top 5 results:

Python Scope & the LEGB Rule: Resolving Names in Your Code
Namespaces and Scope in Python
Python Keywords: An Introduction
Discover bpython: A Python REPL With IDE-Like Features
Using Python Optional Arguments When Defining Functions
austere canyon
#

.realpython class

wicked parrotBOT
#

Here are the top 5 results:

Python Classes: The Power of Object-Oriented Programming
Python's Magic Methods: Leverage Their Power in Your Classes
Providing Multiple Constructors in Your Python Classes
Python Class Constructors: Control Your Object Instantiation
Data Classes in Python 3.7+ (Guide)
austere canyon
#

.realpython deque

#

.realpython deque

wicked parrotBOT
#

Here are the top 5 results:

Python's deque: Implement Efficient Queues and Stacks
Python Stacks, Queues, and Priority Queues in Practice
Python's collections: A Buffet of Specialized Data Types
Python's .append(): Add Items to Your Lists in Place
Linked Lists in Python: An Introduction
austere canyon
#

.realpython

#

.realpython

wicked parrotBOT
austere canyon
#

.realpython pypy

wicked parrotBOT
#

Here are the top 5 results:

PyPy: Faster Python With Minimal Effort
How to Publish an Open-Source Python Package to PyPI
What Are Python Wheels and Why Should You Care?
Python import: Advanced Techniques and Tips
How to Evaluate the Quality of Python Packages
weary sand
#

.help trivia

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:**
**`quiz leaderboard`**
*View everyone's score for this bot session.*
**`quiz stop`**
*Stop a quiz game if its running in the channel.*
leaden jay
#

.wiki children's day vietnam

wicked parrotBOT
#
Wikipedia Search Results

Children's Day
countries, it is Children's Week and not Children's Day. The Sikhs celebrate Children Day on 20 December to 27 December. Children's Day began on the second

Public holidays in Vietnam
Public holidays in Vietnam are days when workers get the day off work. Prior to 2007, Vietnamese workers observed 8 days of public holiday a year, among

main scarab
#

.quiz general

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 : general

#
Question #1

What is the largest ocean in the world?

#

20s left!

steady coral
main scarab
#

Pacific

wicked parrotBOT
#

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

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

Information
The Pacific Ocean is the largest and deepest of the world ocean basins. Covering approximately 63 million square miles and containing more than half of the free water on Earth, the Pacific is by far the largest of the world's ocean basins.

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

#
Score Board

corcen.cinemre_62118: 75

#
Question #2

What is the capital of Iraq?

#

20s left!

main scarab
#

Baghdad

wicked parrotBOT
#

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

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

Information
Baghdad is the capital of Iraq. It has a population of 7 million people.

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

#
Score Board

corcen.cinemre_62118: 150

#
Question #3

What is the name of the largest dam in the world?

#

20s left!

main scarab
#

Hoover

wicked parrotBOT
#

10s left!

steady coral
#

Gorges Dam

steady coral
wicked parrotBOT
#

Better luck next time...

#
The correct answer is **`Three Gorges Dam`**

Information
At 1.4 miles wide (2.3 kilometers) and 630 feet (192 meters) high, Three Gorges Dam is the largest hydroelectric dam in the world, according to International Water Power & Dam Construction magazine. Three Gorges impounds the Yangtze River about 1,000 miles (1,610 km) west of Shanghai.

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

#
Score Board

corcen.cinemre_62118: 150

#
Question #4

Which is the smallest planet in the Solar System?

steady coral
wicked parrotBOT
#

20s left!

main scarab
#

Pluto

steady coral
#

Venus

wicked parrotBOT
#

10s left!

main scarab
#

Venus

#

Mercur

wicked parrotBOT
#

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

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

Information
Mercury is the smallest planet in our solar system. It's just a little bigger than Earth's moon. It is the closest planet to the sun, but it's actually not the hottest. Venus is hotter.

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

#
Score Board

corcen.cinemre_62118: 200

#
Question #5

Which country is Mount Etna, one of the most active volcanoes in the world, located?

#

20s left!

main scarab
#

Italy

wicked parrotBOT
#

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

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

Information
Mount Etna is the highest volcano in Europe. Towering above the city of Catania on the island of Sicily, it has been growing for about 500,000 years and is in the midst of a series of eruptions that began in 2001.

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

#
Score Board

corcen.cinemre_62118: 275

#
Question #6

Which is the largest island in the world?

#

20s left!

main scarab
#

Greenland

wicked parrotBOT
#

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

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

Information
Commonly thought to be Australia, but as it's actually a continental landmass, it doesn't get to make it in the list.

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

#
Score Board

corcen.cinemre_62118: 350

#
Question #7

Where is the "International Court Of Justice" located at?

#

20s left!

main scarab
#

Geneva

#

Geneve

wicked parrotBOT
#

10s left!

main scarab
#

Switzerland

#

Belgium

wicked parrotBOT
#

No one answered correctly!

#
The correct answer is **`The Hague`**

Remaining questions: 0

#
Score Board

corcen.cinemre_62118: 350

#

The round has ended.

#

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

wicked parrotBOT
wary wave
#

!quiz math

#

.quiz math

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

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

wary wave
#

cube

wicked parrotBOT
#

@wary wave got the correct answer :tada: 100 points!

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

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

#
Score Board

potato_is_my_favourite: 100

#
Question #2

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

wary wave
#

pii

wicked parrotBOT
#

@wary wave got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`pi*i, pii, πi`**

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

#
Score Board

potato_is_my_favourite: 200

#
Question #3

What is the only number in the entire number system which can be spelled with the same number of letters as itself?

wary wave
#

4

wicked parrotBOT
#

@wary wave got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`4, four`**

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

#
Score Board

potato_is_my_favourite: 300

#
Question #4

What is the highest power of a biquadratic polynomial?

wary wave
#

4

wicked parrotBOT
#

@wary wave got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`4, four`**

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

#
Score Board

potato_is_my_favourite: 400

#
Question #5

Does the harmonic series converge or diverge?

wary wave
#

diverge

wicked parrotBOT
#

@wary wave got the correct answer :tada: 100 points!

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

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

#
Score Board

potato_is_my_favourite: 500

#
Question #6

In statistics, what does this formula represent?

wary wave
#

sample standard deviation

wicked parrotBOT
#

@wary wave got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`sample standard deviation, standard deviation of a sample`**

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

#
Score Board

potato_is_my_favourite: 600

#
Question #7

Prime numbers only have __ factors.

weary sand
#

question ideas

wary wave
#

2

wicked parrotBOT
#

@wary wave got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`2, two`**

Remaining questions: 0

weary sand
#

1

wicked parrotBOT
#
Score Board

potato_is_my_favourite: 700

weary sand
#

32

wicked parrotBOT
#

The round has ended.

#

@wary wave Congratulations on winning this quiz game with a grand total of 700 points :tada:

weary sand
#

fopjpogjf

#

u have any ideas

wary wave
#

me doesn't know

weary sand
#

for questions

#

.quiz cscc

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.
weary sand
#

.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.

weary sand
#

nand

wicked parrotBOT
#

@weary sand 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

somehybrid: 100

#
Question #2

What does one call the optimization technique used in CPU design that attempts to guess the outcome of a conditional operation and prepare for the most likely result?

weary sand
#

branching prediction

wicked parrotBOT
#

@weary sand got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`branch prediction`**

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

#
Score Board

somehybrid: 200

#
Question #3

What is the nickname for the textbook 'Compilers: Principles, Techniques, and Tools'?

weary sand
#

dragon book

wicked parrotBOT
#

@weary sand got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`Dragon Book`**

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

#
Score Board

somehybrid: 300

#
Question #4

Given that January 1, 1970 is the starting epoch of time_t in c time, and that time_t is stored as a signed 32-bit integer, when will unix time roll over (year)?

weary sand
#

2038

wicked parrotBOT
#

@weary sand got the correct answer :tada: 100 points!

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

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

#
Score Board

somehybrid: 400

#
Question #5

The process of moving unused page tables out of memory is called?

weary sand
#

swapping

wicked parrotBOT
#

@weary sand got the correct answer :tada: 100 points!

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

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

#
Score Board

somehybrid: 500

#
Question #6

Due to what data storage medium did old programming languages, such as cobol, ignore all characters past the 72nd column?

weary sand
#

punch cards

wicked parrotBOT
#

@weary sand got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`punch cards`**

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

#
Score Board

somehybrid: 600

#
Question #7

Under what locale does making a string lowercase behave differently?

weary sand
#

turkish

wicked parrotBOT
#

@weary sand got the correct answer :tada: 100 points!

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

Remaining questions: 0

#
Score Board

somehybrid: 700

#

The round has ended.

#

@weary sand Congratulations on winning this quiz game with a grand total of 700 points :tada:

wary wave
#

.ddg

wicked parrotBOT
#
Duck Duck Duck Goose!
#
Flights Found

(0, 3, 7) - Frieren
(6, 7, 8) - Frieren
(4, 7, 11) - Frieren
(1, 10, 11) - Frieren
(1, 4, 6) - Frieren

Flights everyone missed:
(4, 8, 10)
(0, 8, 9)

wary wave
#

0 3 7

#

6 7 8

#

4 7 11

#

1 10 11

#

1 4 6

#

goose

wicked parrotBOT
#
Time's up!

Final scores:

Frieren: 4

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

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

#

20s left!

#

10s left!

main scarab
#

_builtins

wicked parrotBOT
#

Better luck next time...

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

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

#

No one has made it onto the leaderboard yet.

#
Question #2

Where does the name Python come from?

#

20s left!

wary wave
#

Flying Circus

wicked parrotBOT
#

10s left!

wary wave
#

Monty Python

wicked parrotBOT
#

@wary wave 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: 5

#
Score Board

potato_is_my_favourite: 50

#
Question #3

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

main scarab
#

i forgor

wicked parrotBOT
#

20s left!

#

10s left!

main scarab
#

intersection

#

lmfao

wicked parrotBOT
#

No one answered correctly!

#
The correct answer is **`set`**

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

#
Score Board

potato_is_my_favourite: 50

#
Question #4

What is the default length limit for converting strs to ints in CPython 3.11+?

#

20s left!

main scarab
#

100

#

nop

wicked parrotBOT
#

10s left!

#

Better luck next time...

#
The correct answer is **`4300`**

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

#
Score Board

potato_is_my_favourite: 50

#
Question #5

What function can be used to increase the length limit for string to integer conversion (answer should be enclosed in backticks!)?

#

20s left!

#

10s left!

#

No one answered correctly!

#
The correct answer is **``sys.set_int_max_str_digits``**

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

#
Score Board

potato_is_my_favourite: 50

#
Question #6

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

#

20s left!

#

10s left!

main scarab
#

package

#

module

wicked parrotBOT
#

No one answered correctly!

#
The correct answer is **`namespace package`**

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

#
Score Board

potato_is_my_favourite: 50

#
Question #7

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

#

20s left!

#

10s left!

#

Better luck next time...

#
The correct answer is **`Descriptor`**

Remaining questions: 0

#
Score Board

potato_is_my_favourite: 50

main scarab
#

oof

wicked parrotBOT
#

The round has ended.

#

@wary wave Congratulations on winning this quiz game with a grand total of 50 points :tada:

wary wave
#

why ping

#

oh

#

loll

main scarab
#

.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:**
**`quiz leaderboard`**
*View everyone's score for this bot session.*
**`quiz stop`**
*Stop a quiz game if its running in the channel.*
main scarab
#

.quiz science

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

How does one call the direct phase transition from gas to solid?

#

20s left!

main scarab
#

deposition

wicked parrotBOT
#

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

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

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

#
Score Board

super.init: 75

#
Question #2

A ____________ reaction is the one wherein an atom or a set of atoms is/are replaced by another atom or a set of atoms

main scarab
#

elimination

wicked parrotBOT
#

20s left!

main scarab
#

substitution

wicked parrotBOT
#

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

#
You got it! The correct answers are **`displacement, exchange, substitution`**

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

#
Score Board

super.init: 150

#
Question #3

What is the universal force discovered by Newton that causes objects with mass to attract each other called?

#

20s left!

main scarab
#

gravitaty

#

gravity

wicked parrotBOT
#

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

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

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

#
Score Board

super.init: 225

#
Question #4

What do you call an organism composed of only one cell?

#

20s left!

main scarab
#

unicellular

wicked parrotBOT
#

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

#
You got it! The correct answers are **`unicellular, single-celled`**

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

#
Score Board

super.init: 300

#
Question #5

What is the 6th planet of our Solar System?

main scarab
#

saturn

wicked parrotBOT
#

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

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

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

#
Score Board

super.init: 400

#
Question #6

Who discovered the theories of relativity?

main scarab
#

albert Einstein

wicked parrotBOT
#

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

#
You got it! The correct answers are **`Albert Einstein, Einstein`**

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

#
Score Board

super.init: 500

#
Question #7

What is the process by which green plants and certain other organisms transform light energy into chemical energy?

main scarab
#

photosynthesis

wicked parrotBOT
#

20s left!

#

10s left!

#

Better luck next time...

#
The correct answer is **`photosynthesis`**

Remaining questions: 0

#
Score Board

super.init: 500

#

The round has ended.

#

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

main scarab
#

.quiz math

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 is the natural log of -1 (use i for imaginary number)?

#

20s left!

#

10s left!

main scarab
#

uhh

wicked parrotBOT
#

Better luck next time...

#
The correct answers are **`pi*i, pii, πi`**

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

#

No one has made it onto the leaderboard yet.

#
Question #2

What is the only number in the entire number system which can be spelled with the same number of letters as itself?

main scarab
#

four

wicked parrotBOT
#

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

#
You got it! The correct answers are **`4, four`**

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

#
Score Board

super.init: 100

#
Question #3

BASE TWO QUESTION: Calculate 10000 + 1101

#

20s left!

main scarab
#

101101

wicked parrotBOT
#

10s left!

#

No one answered correctly!

#
The correct answer is **`11101`**

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

#
Score Board

super.init: 100

#
Question #4

⅓πr^2h is the volume of which 3 dimensional figure?

#

20s left!

main scarab
#

cone

wicked parrotBOT
#

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

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

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

#
Score Board

super.init: 175

#
Question #5

A matrix multiplied by its inverse matrix equals...

main scarab
#

identity matrix

wicked parrotBOT
#

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

#
You got it! The correct answers are **`the identity matrix, identity matrix`**

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

#
Score Board

super.init: 275

#
Question #6

0, 1, 1, 2, 3, 5, 8, 13, 21, 34 are numbers of which sequence?

main scarab
#

fibonacci

wicked parrotBOT
#

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

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

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

#
Score Board

super.init: 375

#
Question #7

"Hexakosioihexekontahexaphobia" is the fear of which number?

#

20s left!

main scarab
#

6

#

666

wicked parrotBOT
#

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

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

Remaining questions: 0

#
Score Board

super.init: 450

#

The round has ended.

#

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

lilac knoll
#

666

#

@wicked parrot

iron moth
#

!e

import math
for i in range(int(math.inf)):
    print(i)
rough gladeBOT
wicked parrotBOT
#
Day 1's pride fact!

No research has conclusively proven what causes homosexuality, heterosexuality, or bisexuality.

cursive python
#

.help

wicked parrotBOT
#
Command Help

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

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

AvatarModify
.avatar_modify 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.
.avatar_modify avatareasterify [colours...]
Easterify the user's avatar.
.avatar_modify mosaic [squares=16]
Splits your avatar into x squares, randomizes them and stitches them back into a new image!
.avatar_modify prideavatar [option=lgbt] [pixels=64]
Surround an avatar with a border of a specified LGBT flag.
.avatar_modify reverse <text>
Reverses the sent text.

cursive python
#

.pride

#

.priveavatar

#

.prideavatar

wicked parrotBOT
#
Your Lovely Pride Avatar!

Here is your lovely avatar, surrounded by
a beautiful lgbt flag. Enjoy :D

cursive python
#

.help prideavatar

wicked parrotBOT
#
Command Help

**```
.avatar_modify prideavatar [option=lgbt] [pixels=64]

**Can also use:** `avatar_modify avatarpride`, `avatar_modify pridepfp`, `avatar_modify prideprofile`, `avatarpride`, `prideavatar`, `pridepfp`, `prideprofile`

*Surround an avatar with a border of a specified LGBT flag.

Default to the LGBT rainbow flag if none is given.
The amount of pixels can be given which determines the thickness of the flag border.
A maximum of 512px is enforced, defaults to a 64px border.
The full image is 1024x1024.*

**Subcommands:**
**`avatar_modify prideavatar flags`**
*Lists the flags that can be used with the prideavatar command.*
cursive python
#

.prideavatar flags

wicked parrotBOT
#
I have the following flags:

• agender
• androgyne
• aromantic
• asexual
• bigender
• bisexual
• demiboy
• demigirl
• demisexual
• gay
• genderfluid
• genderqueer
• intersex
• lesbian
• nonbinary
• omnisexual
• pangender
• pansexual
• polyamory
• polysexual
• transgender
• trigender

cursive python
#

.prideavatar genderfluid

wicked parrotBOT
#
Your Lovely Pride Avatar!

Here is your lovely avatar, surrounded by
a beautiful genderfluid flag. Enjoy :D

ivory drift
#

.prideavatar genderfluid

wicked parrotBOT
#
Your Lovely Pride Avatar!

Here is your lovely avatar, surrounded by
a beautiful genderfluid flag. Enjoy :D

ivory drift
#

.prideavat flags

#

.prideavatar flags

wicked parrotBOT
#
I have the following flags:

• agender
• androgyne
• aromantic
• asexual
• bigender
• bisexual
• demiboy
• demigirl
• demisexual
• gay
• genderfluid
• genderqueer
• intersex
• lesbian
• nonbinary
• omnisexual
• pangender
• pansexual
• polyamory
• polysexual
• transgender
• trigender

ivory drift
#

.prideavatar bisexual

wicked parrotBOT
#
Your Lovely Pride Avatar!

Here is your lovely avatar, surrounded by
a beautiful bisexual flag. Enjoy :D

honest igloo
#

@proud ingot @final fern

#

Understanding "decorators" requires understanding two different concepts:

  1. Higher order functions, passing functions as arguments to other functions, and returning a function
  2. The @ syntax
    Do you understand the first one?
wicked parrotBOT
#

undewstanding "decowatows" wequiwes u-undewstanding two d-diffewent concepts:

  1. highew owdew functions, p-passing functions a-as awguments t-to othew functions, and wetuwning a function
  2. t-the @ syntax
    do y-you u-undewstand the fiwst onye?
honest igloo
#

nah bwo

honest igloo
#

deez too UWU fewwing

wicked parrotBOT
#
Day 2's pride fact!

Records of same-sex relationships have been found in nearly every culture throughout history with varying degrees of acceptance.

rich radish
#

.wa s define

wicked parrotBOT
honest igloo
wicked parrotBOT
#
Day 3's pride fact!

Various slurs targeting queer people have been reappropriated by them, notably "dyke", and "queer".

nova wren
#

.prideavatar

wicked parrotBOT
#
Your Lovely Pride Avatar!

Here is your lovely avatar, surrounded by
a beautiful lgbt flag. Enjoy :D

main scarab
#

.prideavatar

wicked parrotBOT
#
Your Lovely Pride Avatar!

Here is your lovely avatar, surrounded by
a beautiful lgbt flag. Enjoy :D

main scarab
small hare
late timber
#

.prideavatar

wicked parrotBOT
#
Your Lovely Pride Avatar!

Here is your lovely avatar, surrounded by
a beautiful lgbt flag. Enjoy :D

abstract willow
#

.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

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

abstract willow
#

incremental

#

o

wicked parrotBOT
#

20s left!

abstract willow
#

hint

#

.quiz hint

wicked parrotBOT
#

Game is already running... do .quiz stop

#

10s left!

abstract willow
#

whaieei

wicked parrotBOT
#

Better luck next time...

#
The correct answers are **`reference counting, refcounting`**

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

#

No one has made it onto the leaderboard yet.

#
Question #2

What kind of regex quantifiers were added in Python 3.11?

abstract willow
#

atomic

#

atomic quantifiers

#

???

wicked parrotBOT
#

20s left!

abstract willow
#

possessive

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 75 points!

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

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

#
Score Board

krowten024nabru: 75

#
Question #3

What common operation does this function implement?

def mystery(n: int) -> int:
    return (n>>1<<1)^n
abstract willow
#

round

wicked parrotBOT
#

20s left!

abstract willow
#

xor

#

is odd

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 75 points!

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

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

#
Score Board

krowten024nabru: 150

#
Question #4

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

abstract willow
#

_sitebuiltins

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

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

#
Score Board

krowten024nabru: 250

#
Question #5

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

abstract willow
#

n

#

y

wicked parrotBOT
#

@abstract willow 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

krowten024nabru: 350

#
Question #6

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

abstract willow
#

f_locals

#

dict

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

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

#
Score Board

krowten024nabru: 450

#
Question #7

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

abstract willow
#

y

#

n

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

Remaining questions: 0

#
Score Board

krowten024nabru: 550

#

The round has ended.

#

@abstract willow Congratulations on winning this quiz game with a grand total of 550 points :tada:

abstract willow
#

.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

Which year was Python 3 released?

abstract willow
#

2000

#

2002

#

2001

#

1999

wicked parrotBOT
#

20s left!

abstract willow
#

1998

#

okay

wicked parrotBOT
#

10s left!

abstract willow
#

2008

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 50 points!

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

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

#
Score Board

krowten024nabru: 50

#
Question #2

What attribute of a closure contains the value closed over?

abstract willow
#

cell_contents

wicked parrotBOT
#

@abstract willow 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: 5

#
Score Board

krowten024nabru: 150

#
Question #3

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

abstract willow
#

n

wicked parrotBOT
#

@abstract willow 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: 4

#
Score Board

krowten024nabru: 250

#
Question #4

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

abstract willow
#

IndexError

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

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

#
Score Board

krowten024nabru: 350

#
Question #5

What kind of regex quantifiers were added in Python 3.11?

abstract willow
#

possessive

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

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

#
Score Board

krowten024nabru: 450

#
Question #6

When was Python first released?

abstract willow
#

2008

#

1993

#

1983

wicked parrotBOT
#

20s left!

abstract willow
#

1991

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 75 points!

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

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

#
Score Board

krowten024nabru: 525

#
Question #7

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

abstract willow
#

antigravity

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

Remaining questions: 0

#
Score Board

krowten024nabru: 625

#

The round has ended.

#

@abstract willow Congratulations on winning this quiz game with a grand total of 625 points :tada:

abstract willow
#

.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

When was Python first released?

abstract willow
#

1991

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

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

#
Score Board

krowten024nabru: 100

#
Question #2

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

abstract willow
#

dict

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

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

#
Score Board

krowten024nabru: 200

#
Question #3

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

#

20s left!

#

10s left!

#

Better luck next time...

#
The correct answer is **`.pth`**

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

#
Score Board

krowten024nabru: 200

#
Question #4

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

abstract willow
#

Generator

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

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

#
Score Board

krowten024nabru: 300

#
Question #5

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

abstract willow
#

metaclass

wicked parrotBOT
#

@abstract willow 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: 2

#
Score Board

krowten024nabru: 400

#
Question #6

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

abstract willow
#

Indexerror

wicked parrotBOT
#

@abstract willow 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

krowten024nabru: 500

#
Question #7

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

abstract willow
#

y

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

Remaining questions: 0

#
Score Board

krowten024nabru: 600

#

The round has ended.

#

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

abstract willow
#

.quiz python 20

wicked parrotBOT
#
Quiz game Starting!!

Each game consists of 20 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?

abstract willow
#

.pth

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

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

#
Score Board

krowten024nabru: 100

#
Question #2

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

abstract willow
#

namespace package

wicked parrotBOT
#

@abstract willow 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: 18

#
Score Board

krowten024nabru: 200

#
Question #3

How is infinity represented in Python?

abstract willow
#

float('inf')

wicked parrotBOT
#

@abstract willow 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: 17

#
Score Board

krowten024nabru: 300

#
Question #4

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

abstract willow
#

y

wicked parrotBOT
#

@abstract willow 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: 16

#
Score Board

krowten024nabru: 400

#
Question #5

What kind of regex quantifiers were added in Python 3.11?

abstract willow
#

possessive

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

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

#
Score Board

krowten024nabru: 500

#
Question #6

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

abstract willow
#

_sitebuiltins

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

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

#
Score Board

krowten024nabru: 600

#
Question #7

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

abstract willow
#

dict

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

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

#
Score Board

krowten024nabru: 700

#
Question #8

What is the minimum length limit for converting strs to ints in CPython 3.11+?

abstract willow
#

4300

#

huh

wicked parrotBOT
#

20s left!

abstract willow
#

0

wicked parrotBOT
#

10s left!

abstract willow
#

no

#

none

wicked parrotBOT
#

Better luck next time...

#
The correct answer is **`640`**

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

#
Score Board

krowten024nabru: 700

abstract willow
#

ok

wicked parrotBOT
#
Question #9

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

abstract willow
#

indices

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

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

#
Score Board

krowten024nabru: 800

#
Question #10

What module should be used for extended precision floating point values?

abstract willow
#

Decimal

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

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

#
Score Board

krowten024nabru: 900

#
Question #11

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

abstract willow
#

__doc__

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

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

#
Score Board

krowten024nabru: 1000

#
Question #12

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

abstract willow
#

close

#

next

#

next

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

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

#
Score Board

krowten024nabru: 1100

#
Question #13

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

abstract willow
#

y

wicked parrotBOT
#

@abstract willow 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: 7

#
Score Board

krowten024nabru: 1200

#
Question #14

What is pow(0, 0)?

abstract willow
#

1.0

#

1

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

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

#
Score Board

krowten024nabru: 1300

#
Question #15

How many unique compiled patterns can be stored in the re module's internal caches?

abstract willow
#

256

#

128

#

512

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

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

#
Score Board

krowten024nabru: 1400

#
Question #16

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

abstract willow
#

refcnt

wicked parrotBOT
#

20s left!

abstract willow
#

refcount

#

reference counting

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 75 points!

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

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

#
Score Board

krowten024nabru: 1475

#
Question #17

Is the __aiter__ method async (y/n)?

abstract willow
#

y

#

n

wicked parrotBOT
#

@abstract willow 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: 3

#
Score Board

krowten024nabru: 1575

#
Question #18

When was Python first released?

abstract willow
#

1991

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!

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

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

#
Score Board

krowten024nabru: 1675

#
Question #19

Where does the name Python come from?

abstract willow
#

monty python

wicked parrotBOT
#

@abstract willow got the correct answer :tada: 100 points!