#sir-lancebot-playground

1 messages · Page 261 of 1

wicked parrotBOT
#

:tada: @wicked parrot won this game! :tada:

rigid scroll
#

class method

wicked parrotBOT
#

20s left!

rigid scroll
#

method

#

dunder

#

classmethod

wicked parrotBOT
#

10s left!

main scarab
#

super()

#

super

wicked parrotBOT
#

Better luck next time...

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

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

#
Score Board

JAM4L#7675: 100

#
Question #4

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

main scarab
#

oh

wicked parrotBOT
#

20s left!

rigid scroll
#

docstring

main scarab
#

str

#

_str_

rigid scroll
#

"""

wicked parrotBOT
#

10s left!

main scarab
#

_str_:

#

idk

rigid scroll
#
"""
wicked parrotBOT
#

No one answered correctly!

main scarab
#

lol

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

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

#
Score Board

JAM4L#7675: 100

rigid scroll
#

Wh

main scarab
#

stupid

wicked parrotBOT
#
Question #5

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

main scarab
#

@wicked parrot

wicked parrotBOT
#

20s left!

rigid scroll
#

$

main scarab
#

Q

rigid scroll
#

?

main scarab
#

@

wicked parrotBOT
#

10s left!

rigid scroll
#

None

main scarab
#

@rigid scroll

wicked parrotBOT
#

Better luck next time...

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

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

#
Score Board

JAM4L#7675: 100

main scarab
#

its '@'

wicked parrotBOT
#
Question #6

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

main scarab
#

but it pings

rigid scroll
#

module

main scarab
#

so yea

#

stupid

wicked parrotBOT
#

20s left!

#

10s left!

main scarab
#

function

rigid scroll
#

module

main scarab
#

function

rigid scroll
#

namespace

wicked parrotBOT
#

Better luck next time...

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

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

#
Score Board

JAM4L#7675: 100

#
Question #7

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

rigid scroll
#

antigravity

wicked parrotBOT
#

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

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

Remaining questions: 0

#
Score Board

JAM4L#7675: 200

#

The round has ended.

#

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

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 of these is not a generator method?
(next, send, throw, close)

rigid scroll
#

close

main scarab
#

throw

rigid scroll
#

send

#

next

wicked parrotBOT
#

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

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

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

#
Score Board

JAM4L#7675: 100

#
Question #2

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

main scarab
#

next is iterator

wicked parrotBOT
#

20s left!

main scarab
#

idk this

wicked parrotBOT
#

10s left!

rigid scroll
#

no idea

wicked parrotBOT
#

No one answered correctly!

#
The correct answers are **`runtime_checkable, typing.runtime_checkable`**

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

#
Score Board

JAM4L#7675: 100

#
Question #3

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

rigid scroll
#

metaclass

wicked parrotBOT
#

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

JAM4L#7675: 200

main scarab
#

yea

wicked parrotBOT
#
Question #4

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

rigid scroll
#

@

wicked parrotBOT
#

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

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

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

#
Score Board

JAM4L#7675: 300

main scarab
#

@

wicked parrotBOT
#
Question #5

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

main scarab
#

tuple

rigid scroll
#

__tup__

wicked parrotBOT
#

20s left!

rigid scroll
#

__tuple__

main scarab
#

tuple

wicked parrotBOT
#

10s left!

main scarab
#

tuple()

wicked parrotBOT
#

Better luck next time...

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

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

#
Score Board

JAM4L#7675: 300

#
Question #6

When was Python first released?

main scarab
#

bruh what

rigid scroll
#

1991

wicked parrotBOT
#

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

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

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

#
Score Board

JAM4L#7675: 400

main scarab
#

1991

wicked parrotBOT
#
Question #7

Is the __aiter__ method async (y/n)?

rigid scroll
#

n

wicked parrotBOT
#

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

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

Remaining questions: 0

#
Score Board

JAM4L#7675: 500

#

The round has ended.

#

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

main scarab
#

bruh

#

.quiz a

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.

rigid scroll
#

aight imma head out

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

When did the First World War start?

#

20s left!

main scarab
#

1914

wicked parrotBOT
#

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

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

Information
The first world war began in August 1914. It was directly triggered by the assassination of the Austrian archduke, Franz Ferdinand and his wife, on 28th June 1914 by Bosnian revolutionary, Gavrilo Princip. This event was, however, simply the trigger that set off declarations of war.

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

#
Score Board

AlkhilJohn#3140: 75

#
Question #2

What's the world's largest urban area?

main scarab
#

beijing

wicked parrotBOT
#

20s left!

main scarab
#

Tokyo

wicked parrotBOT
#

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

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

Information
Tokyo is the most populated city in the world, with a population of 37 million people. It is located in Japan.

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

#
Score Board

AlkhilJohn#3140: 150

#
Question #3

What's known as the "Playground of Europe"?

main scarab
#

France

#

Spain

wicked parrotBOT
#

20s left!

main scarab
#

idk

#

Sweden

#

Finland

#

Denmark

wicked parrotBOT
#

10s left!

main scarab
#

Asia

#

Russia

rigid scroll
#

Africa

wicked parrotBOT
#

No one answered correctly!

#
The correct answer is **`Switzerland`**

Information
It comes from the title of a book written in 1870 by Leslie Stephen (father of Virginia Woolf) detailing his exploits of mountain climbing (not skiing) of which sport he was one of the pioneers and trekking or walking.

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

main scarab
#

lol

wicked parrotBOT
#
Score Board

AlkhilJohn#3140: 150

main scarab
#

oh

wicked parrotBOT
#
Question #4

Which country is known as the "Land of Thunderbolt"?

main scarab
#

Australia

rigid scroll
#

Bhutan?

wicked parrotBOT
#

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

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

Information
Bhutan is known as the "Land of Thunder Dragon" or "Land of Thunderbolt" due to the violent and large thunderstorms that whip down through the valleys from the Himalayas. The dragon reference was due to people thinking the sparkling light of thunderbolts was the red fire of a dragon.

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

#
Score Board

AlkhilJohn#3140: 150
JAM4L#7675: 100

#
Question #5

Which country is the largest producer of tea in the world?

main scarab
#

England

#

China

wicked parrotBOT
#

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

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

Information
Tea is mainly grown in Asia, Africa, South America, and around the Black and Caspian Seas. The four biggest tea-producing countries today are China, India, Sri Lanka and Kenya. Together they represent 75% of world production.

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

#
Score Board

AlkhilJohn#3140: 250
JAM4L#7675: 100

#
Question #6

What country is the world's largest coral reef system, the "Great Barrier Reef", located in?

rigid scroll
#

Australia

wicked parrotBOT
#

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

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

Information
The Great Barrier Reef is the world's largest coral reef system composed of over 2,900 individual reefs and 900 islands stretching for over 2,300 kilometres (1,400 mi) over an area of approximately 344,400 square kilometres (133,000 sq mi). The reef is located in the Coral Sea, off the coast of Queensland, Australia.

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

#
Score Board

AlkhilJohn#3140: 250
JAM4L#7675: 200

main scarab
#

Australia

#

cmon

wicked parrotBOT
#
Question #7

Who was the winner of FIFA 2018?

main scarab
#

france

wicked parrotBOT
#

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

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

Information
France 4 - 2 Croatia

Remaining questions: 0

#
Score Board

AlkhilJohn#3140: 350
JAM4L#7675: 200

#

The round has ended.

#

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

main scarab
#

rip

#

im australian

#

i should have got that point

#

anyway

#

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

main scarab
#

.quiz py

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.

main scarab
#

.quiz pythonn

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.

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

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

rigid scroll
#

GeneratorExit

wicked parrotBOT
#

20s left!

main scarab
#

break

#

stop

wicked parrotBOT
#

10s left!

main scarab
#

idk lol

#

_stop

#

stop

wicked parrotBOT
#

No one answered correctly!

#
The correct answer is **`IndexError`**

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

#

No one has made it onto the leaderboard yet.

main scarab
#

ohhhhhhh

wicked parrotBOT
#
Question #2

What name does a lambda function have?

rigid scroll
#

lambda

main scarab
#

lambda

rigid scroll
#

x

wicked parrotBOT
#

20s left!

main scarab
#

lambda

#

lambda:

rigid scroll
#

type(lambda)

wicked parrotBOT
#

10s left!

main scarab
#

stupid

rigid scroll
#

???

wicked parrotBOT
#

No one answered correctly!

#
The correct answer is **`<lambda>`**

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

#

No one has made it onto the leaderboard yet.

main scarab
#

bruh

wicked parrotBOT
#
Question #3

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

rigid scroll
#

metaclass

wicked parrotBOT
#

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

main scarab
#

super()

wicked parrotBOT
#
Score Board

JAM4L#7675: 100

#
Question #4

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

main scarab
#

oh

rigid scroll
#

next

wicked parrotBOT
#

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

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

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

#
Score Board

JAM4L#7675: 200

#
Question #5

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

main scarab
#

STOP

#

lol

rigid scroll
#

uh

main scarab
#

StopIteration

wicked parrotBOT
#

@main scarab 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

JAM4L#7675: 200
AlkhilJohn#3140: 100

#
Question #6

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

rigid scroll
#

Union

main scarab
#

and

#

/XOR

wicked parrotBOT
#

20s left!

main scarab
#

/or

#

or

#

and

#

not

wicked parrotBOT
#

10s left!

rigid scroll
#

str

main scarab
#

and

#

and

rigid scroll
#

tuple

#

dict

main scarab
#

and

rigid scroll
#

dict_keys

wicked parrotBOT
#

No one answered correctly!

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

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

#
Score Board

JAM4L#7675: 200
AlkhilJohn#3140: 100

#
Question #7

Is the __aiter__ method async (y/n)?

rigid scroll
#

n

wicked parrotBOT
#

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

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

Remaining questions: 0

#
Score Board

JAM4L#7675: 300
AlkhilJohn#3140: 100

#

The round has ended.

#

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

main scarab
#

cool

#

these py questions are dumb as

rigid scroll
#

they're just deep-level stuff

main scarab
#

ik

#

is ur pfp you btw

rigid scroll
#

what no

#

that's Manuel Quezon

#

former president of the Philippines

main scarab
#

oh

#

.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

Why is a DDoS attack different from a DoS attack?
(A. because the victim's server was indefinitely disrupted from the amount of traffic, B. because it also attacks the victim's confidentiality, C. because the attack had political purposes behind it, D. because the traffic flooding the victim originated from many different sources)

main scarab
#

D

wicked parrotBOT
#

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

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

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

#
Score Board

AlkhilJohn#3140: 100

#
Question #2

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

#

20s left!

main scarab
#

NOR

#

nor

#

<nor>

wicked parrotBOT
#

10s left!

main scarab
#

and, not

#

and

#

not

#

eh

wicked parrotBOT
#

Better luck next time...

#
The correct answer is **`transistors`**

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

#
Score Board

AlkhilJohn#3140: 100

#
Question #3

What does the "a" represent in a HSLA color value?

main scarab
#

ik that lol

wicked parrotBOT
#

20s left!

main scarab
#

11

wicked parrotBOT
#

10s left!

#

No one answered correctly!

#
The correct answers are **`transparency, translucency, alpha value, alpha channel, alpha`**

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

#
Score Board

AlkhilJohn#3140: 100

#
Question #4

In cryptography, the practice of establishing a shared secret between two parties using public keys and private keys is called...?

#

20s left!

main scarab
#

caesar cipher

wicked parrotBOT
#

10s left!

main scarab
#

encrypting

#

encrypt

wicked parrotBOT
#

Better luck next time...

#
The correct answer is **`key exchange`**

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

#
Score Board

AlkhilJohn#3140: 100

main scarab
#

ok

wicked parrotBOT
#
Question #5

How many bits are in a TCP checksum header?

main scarab
#

idk

wicked parrotBOT
#

20s left!

#

10s left!

#

No one answered correctly!

#
The correct answers are **`16, sixteen`**

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

main scarab
#

8

wicked parrotBOT
#
Score Board

AlkhilJohn#3140: 100

#
Question #6

Which of these sorting algorithms is not stable?
(Counting sort, quick sort, insertion sort, tim sort, bubble sort)

main scarab
#

quick sort

wicked parrotBOT
#

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

#
You got it! The correct answers are **`quick, quick sort`**

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

#
Score Board

AlkhilJohn#3140: 200

#
Question #7

What is computing capable of performing exaFLOPS called?

#

20s left!

#

10s left!

#

Better luck next time...

#
The correct answers are **`exascale computing, exascale`**

Remaining questions: 0

#
Score Board

AlkhilJohn#3140: 200

#

The round has ended.

#

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

normal rapids
#

.ms

wicked parrotBOT
#
Command Help

**```
.minesweeper

**Can also use:** `ms`

*Commands for Playing Minesweeper.*

**Subcommands:**
**`end `**
*End your current game.*
**`start [bomb_chance=0.2]`**
*Start a game of Minesweeper.*
normal rapids
#

start 0.2

#

.ms start 0.2

wicked parrotBOT
#

@normal rapids is playing Minesweeper.

#

:no_entry: Game canceled. :no_entry:
Here's your board!
:stop_button: :regional_indicator_a: :regional_indicator_b: :regional_indicator_c: :regional_indicator_d: :regional_indicator_e: :regional_indicator_f: :regional_indicator_g: :regional_indicator_h: :regional_indicator_i: :regional_indicator_j:

:one: :one: :one: :stop_button: :stop_button: :one: :bomb: :one: :stop_button: :stop_button: :stop_button:
:two: :bomb: :one: :stop_button: :stop_button: :one: :two: :two: :one: :stop_button: :stop_button:
:three: :one: :one: :one: :one: :one: :two: :bomb: :two: :stop_button: :stop_button:
:four: :one: :two: :two: :bomb: :one: :two: :bomb: :two: :stop_button: :stop_button:
:five: :bomb: :two: :bomb: :three: :two: :one: :one: :one: :stop_button: :stop_button:
:six: :one: :two: :two: :bomb: :one: :one: :one: :one: :one: :one:
:seven: :one: :two: :three: :two: :one: :one: :bomb: :two: :two: :bomb:
:eight: :two: :bomb: :bomb: :one: :stop_button: :one: :one: :two: :bomb: :three:
:nine: :two: :bomb: :four: :two: :one: :one: :two: :two: :three: :bomb:
:keycap_ten: :one: :two: :bomb: :one: :one: :bomb: :two: :bomb: :two: :one:

normal rapids
#

.ms reveal c3

wicked parrotBOT
#
NEGATORY.

You are not authorized to use this command.

normal rapids
#

🙂

#

.end

#

.ms end

spring tapir
#

.wa short a 3 F to C

wicked parrotBOT
spring tapir
#

.wa short 3 F to C

wicked parrotBOT
spring tapir
#

.wa short 1973 / 168

wicked parrotBOT
fallow trench
#

.help

wicked parrotBOT
#
Command Help

**```
.emoji <emoji>

*A group of commands related to emojis.*

**Subcommands:**
**`count [category_query]`**
*Returns embed with emoji category and info given by the user.*
**`info <emoji>`**
*Returns relevant information about a Discord Emoji.*
fallow trench
#

.riddle

wicked parrotBOT
#
What do you call a rabbit with fleas?

You have 10 seconds before the first hint.

#
Here's a hint: A bit of a looney tune!
#
Here's a hint: What's up Doc?!
potent falcon
#

bugs bunny

wicked parrotBOT
#

Well done @potent falcon for getting it right!

The answer is: Bugs Bunny!
fallow trench
#

.riddle

wicked parrotBOT
#
What do you call a rabbit with fleas?

You have 10 seconds before the first hint.

#
Here's a hint: A bit of a looney tune!
fallow trench
#

Oh its the same

#

Bugs bunney

wicked parrotBOT
#
Here's a hint: What's up Doc?!
#

Nobody got it right...

The answer is: Bugs Bunny!
fallow trench
#

.riddle

wicked parrotBOT
#
What kind of bunny can't hop?

You have 10 seconds before the first hint.

#
Here's a hint: Might melt in the sun!
#
Here's a hint: Fragile and yummy!
#

Nobody got it right...

The answer is: A chocolate one!
main scarab
#

.riddle

wicked parrotBOT
#
What kind of music do bunnies like?

You have 10 seconds before the first hint.

#
Here's a hint: Two words!
#
Here's a hint: Jump to the beat!
#

Nobody got it right...

The answer is: Hip hop!
main scarab
#

.riddle

wicked parrotBOT
#
What kind of music do bunnies like?

You have 10 seconds before the first hint.

#
Here's a hint: Two words!
#
Here's a hint: Jump to the beat!
#

Well done @main scarab for getting it right!

The answer is: Hip hop!
fallow trench
#

.help

wicked parrotBOT
#
Command Help

CheatSheet
.cheat [search_terms...]
Search cheat.sh.

CoinFlip
.coinflip [side]
Flips a coin.

Colour
.colour [colour_input]
Create an embed that displays colour information.

ConnectFour
.connect_four [board_size=7] [emoji1=🔵] [emoji2=🔴]
Play the classic game of Connect Four with someone!

ConvoStarters
.topic
Responds with a random topic to start a conversation.

fallow trench
#

.src riddle

wicked parrotBOT
#
Command: riddle

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

Source Code
fallow trench
#

.src color

wicked parrotBOT
#
Command: colour

Create an embed that displays colour information.

Source Code
spiral sage
#

.challenge

raven pike
#

.challenge

wicked parrotBOT
#

Your task is to return the sum of Triangular Numbers up-to-and-including the nth Triangular Number.

Triangular Number: "any of the series of numbers (1, 3, 6, 10, 15, etc.) obtained by continued summation of the natural numbers 1, 2, 3, 4, 5, etc."

[01]
02 [03]
04 05 [06]
07 08 09 [10]
11 12 13 14 [15]
16 17 18 19 20 [21]

e.g. If 4 is given: 1 + 3 + 6 + 10 = 20.

Triangular Numbers cannot be negative so return 0 if a negative number is given.

Difficulty

7 kyu

#

Write a function that receives two strings as parameter. This strings are in the following format of date: YYYY/MM/DD.
Your job is: Take the years and calculate the difference between them.

Examples:

'1997/10/10' and '2015/10/10' -> 2015 - 1997 = returns 18 
'2015/10/10' and '1997/10/10' -> 2015 - 1997 = returns 18

At this level, you don't need validate months and days to calculate the difference.

Difficulty

7 kyu

dense matrix
#

1help

#

.help

wicked parrotBOT
#
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.

teal stirrup
#

.challange

#

.challenge

wicked parrotBOT
#

A stranger has lost himself in a forest which looks like a 2D square grid. Night is coming, so he has to protect himself from wild animals. That is why he decided to put up a campfire.

Suppose this stranger has four sticks with the same length which is equal to k. He can arrange them in square grid so that they form k x k square (each stick endpoint lies on a grid node). Using this strategy he can build campfire with areas 1, 4, 9, ... Also, if he rotates the sticks as it is shown in the image, he will get another campfire areas 2, 5, 10, ...

(If the image does not show up, check the link)
alt text

Problem

Given campfire area A (A is a natural number) is it possible to construct a campfire with four sticks so that their endpoints lie on grid nodes?
... continue reading

Difficulty

6 kyu

teal stirrup
#

.challenge

wicked parrotBOT
#

Your task is to return the sum of Triangular Numbers up-to-and-including the nth Triangular Number.

Triangular Number: "any of the series of numbers (1, 3, 6, 10, 15, etc.) obtained by continued summation of the natural numbers 1, 2, 3, 4, 5, etc."

[01]
02 [03]
04 05 [06]
07 08 09 [10]
11 12 13 14 [15]
16 17 18 19 20 [21]

e.g. If 4 is given: 1 + 3 + 6 + 10 = 20.

Triangular Numbers cannot be negative so return 0 if a negative number is given.

Difficulty

7 kyu

teal stirrup
#

.challenge

wicked parrotBOT
#

Your task is to return the sum of Triangular Numbers up-to-and-including the nth Triangular Number.

Triangular Number: "any of the series of numbers (1, 3, 6, 10, 15, etc.) obtained by continued summation of the natural numbers 1, 2, 3, 4, 5, etc."

[01]
02 [03]
04 05 [06]
07 08 09 [10]
11 12 13 14 [15]
16 17 18 19 20 [21]

e.g. If 4 is given: 1 + 3 + 6 + 10 = 20.

Triangular Numbers cannot be negative so return 0 if a negative number is given.

Difficulty

7 kyu

dense matrix
#

.challenge

wicked parrotBOT
#

A stranger has lost himself in a forest which looks like a 2D square grid. Night is coming, so he has to protect himself from wild animals. That is why he decided to put up a campfire.

Suppose this stranger has four sticks with the same length which is equal to k. He can arrange them in square grid so that they form k x k square (each stick endpoint lies on a grid node). Using this strategy he can build campfire with areas 1, 4, 9, ... Also, if he rotates the sticks as it is shown in the image, he will get another campfire areas 2, 5, 10, ...

(If the image does not show up, check the link)
alt text

Problem

Given campfire area A (A is a natural number) is it possible to construct a campfire with four sticks so that their endpoints lie on grid nodes?
... continue reading

Difficulty

6 kyu

teal stirrup
#

.challenge

wicked parrotBOT
#

Your task is to return the sum of Triangular Numbers up-to-and-including the nth Triangular Number.

Triangular Number: "any of the series of numbers (1, 3, 6, 10, 15, etc.) obtained by continued summation of the natural numbers 1, 2, 3, 4, 5, etc."

[01]
02 [03]
04 05 [06]
07 08 09 [10]
11 12 13 14 [15]
16 17 18 19 20 [21]

e.g. If 4 is given: 1 + 3 + 6 + 10 = 20.

Triangular Numbers cannot be negative so return 0 if a negative number is given.

Difficulty

7 kyu

pastel yoke
#

You can also visit the website link to see more

teal stirrup
#

Oh thanks

dense matrix
#

i've tried code wars before but the easiest problems were too difficult for me

#

i may try again though

teal stirrup
#

True

#

Like I can code

#

But problem solving Is hard

#

Lol

dense matrix
#

my dad is teaching me how to code

teal stirrup
#

Haha lucky

dense matrix
#

i think the best advice he told me is to make a list first of what the object is

#

objective*

#

so like

teal stirrup
#

I hate problems that include numbers

dense matrix
#

if the question is Collect input from the user,so long as it's not an integer keep asking for an integer. Print their integer

#

then u create psedocode

#

Rethink\refactor step from above (aka psedocode)
Function which takes a single string parameter, checks it for an integer and returns true if it is an integer or false if it is not
Loop
Collect input
Call function
If returns true break

#

and then u code

#

the hardest part for me is coming up with that psedocode

teal stirrup
#

I see

#

I am searching for projects

#

Lol

dense matrix
#

do u wanna try an easy problem on code wars and try solving it together?

#

since it seems we're both noobs haha

lyric birch
#

.help

wicked parrotBOT
#
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.

wicked parrotBOT
#
Find anagrams from these letters: 'EILM'

You have 60 seconds to find correct words.

#

Well done @main scarab for getting it right!

The words were: `emil`, `lime`, `mile`!
main scarab
#

.anagram

wicked parrotBOT
#
Find anagrams from these letters: 'EEINRSSTT'

You have 60 seconds to find correct words.

#

Nobody got it right.

The words were: `insetters`, `interests`, `resistent`, `sternites`, `triteness`!
elder saddle
#

.madlibs

wicked parrotBOT
#
Madlibs
Enter a word that fits the given part of speech!

Part of speech: adjective

Make sure not to spam, or you may get auto-muted!

#
Star Wars

Star Wars is a cool penguin of iinteresting versus evil in a Australia far far away. There are colorful battles between spicy ships in weak space and orange duels with cats called likeable sabers. homes called "droids" are helpers and nouns to the heroes. A blue power called The book runs people to do bad things, like walk bikers use The Force for the miserable side and the Sith sleep it for the good side.

stuck basin
#

.anagram

wicked parrotBOT
#
Find anagrams from these letters: 'IMORSTU'

You have 60 seconds to find correct words.

#

Nobody got it right.

The words were: `sumitro`, `tourism`!
fallow trench
#

.src riddle

wicked parrotBOT
#
Command: riddle

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

Source Code
marsh gale
#

.anagram

wicked parrotBOT
#
Find anagrams from these letters: 'ADU'

You have 60 seconds to find correct words.

marsh gale
#

AUD

wicked parrotBOT
#

Well done @marsh gale for getting it right!

The words were: `aud`, `dau`!
fallow trench
#

.anagram

wicked parrotBOT
#
Find anagrams from these letters: 'EIILMSS'

You have 60 seconds to find correct words.

fallow trench
#

missiles

#

missile

wicked parrotBOT
#

Well done @fallow trench for getting it right!

The words were: `mislies`, `missile`, `similes`!
fallow trench
#

whoops

fallow trench
#

.battleship

wicked parrotBOT
#

@fallow trench Game cancelled.

slate kraken
#

.help

wicked parrotBOT
#
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.

slate kraken
#

.fool

wicked parrotBOT
slate kraken
#

.8bitify

wicked parrotBOT
#
Your 8-bit avatar

Here is your avatar. I think it looks all cool and 'retro'.

slate kraken
#

.angram

#

.anagram hey

wicked parrotBOT
#
Find anagrams from these letters: 'AAIMNOR'

You have 60 seconds to find correct words.

slate kraken
#

.adventofcode

wicked parrotBOT
#
Command Help

**```
.adventofcode

**Can also use:** `aoc`

*All of the Advent of Code commands.*

**Subcommands:**
**`about `**
*Learn about Advent of Code*
**`countdown `**
*Return time left until next day*
**`dayandstar [maximum_scorers_day_and_star=10]`**
*Get a view that lets you filter the leaderboard by day and star*
**`global `**
*Get a link to the global leaderboard*
**`join `**
*Learn how to join the leaderboard (via DM)*
**`leaderboard [aoc_name]`**
*Get a snapshot of the PyDis private AoC leaderboard*
**`link [aoc_name]`**
*Tie your Discord account with your Advent of Code name.*
**`stats `**
*Get daily statistics for the Python Discord leaderboard*
**`subscribe `**
*NOTE: This command has been moved to !subscribe*
slate kraken
#

.join

#

.link

#

.raid

#

.ban

wicked parrotBOT
#

Nobody got it right.

The words were: `amanori`, `moarian`!
main scarab
#

.challenge

wicked parrotBOT
#

Task

We define the weakness of number n as the number of positive integers smaller than n that have more divisors than n. It follows that the weaker the number, the greater overall weakness it has.

For the given integer n, you need to answer two questions:

  • what is the weakness of the weakest numbers in the range [1, n]?
  • how many numbers in the range [1, n] have this weakness?

Return the answer as a tuple ( where applicable: array ) of two elements, where the first element is the answer to the first question, and the second element is the answer to the second question.

Example

For n = 9, the output should be [2, 2]

Here are the number of divisors and the specific weaknesses of each number in range [1, 9]:

1: d(1) = 1, weakness(1) = 0;
2: d(2) = 2, weakness(2) = 0;
3: d(3) = 2, weakness(3) = 0;
4: d(4) = 3, weakness(4) = 0;
5: d(5) = 2, weakness(5) = 1;
6: d(6) = 4, weakness(6) = 0;
7: d(7) = 2, weakness(7) = 2;
8: d(8) = 4, weakness(8) = 0;... [continue reading](https://codewars.com/kata/5886dea04703f1712d000051)
Difficulty

5 kyu

main scarab
#

.challenge

wicked parrotBOT
#

We want to approximate the length of a curve representing a function y = f(x) with a <= x <= b.
First, we split the interval [a, b] into n sub-intervals with widths
<code>h<sub>1</sub>, h<sub>2</sub>, ... , h<sub>n</sub></code>
by defining points
<code>x<sub>1</sub>, x<sub>2</sub> , ... , x<sub>n-1</sub></code> between a and b.
This defines points
<code>P<sub>0</sub>, P<sub>1</sub>, P<sub>2</sub>, ... , P<sub>n</sub></code> on the curve
whose x-coordinates are <code>a, x<sub>1</sub>, x<sub>2</sub> , ... , x<sub>n-1</sub>, b</code>
and y-coordinates <code>f(a), f(x<sub>1</sub>), ..., f(x<sub>n-1</sub>), f(b) </code>.
By connecting these points, we obtain a polygonal path approximating the curve.

Our task is to approximate the length of a parabolic arc representing the curve y = x * x with x in the interval [0, 1].
We will take a common step h between the points <code>x<sub>i</sub>: h<sub>1</sub>, h<sub>2</sub>, ... , h<sub>n</sub> = h = 1/n</code>... continue reading

Difficulty

6 kyu

main scarab
#

.challenge

wicked parrotBOT
#

Task

We define the weakness of number n as the number of positive integers smaller than n that have more divisors than n. It follows that the weaker the number, the greater overall weakness it has.

For the given integer n, you need to answer two questions:

  • what is the weakness of the weakest numbers in the range [1, n]?
  • how many numbers in the range [1, n] have this weakness?

Return the answer as a tuple ( where applicable: array ) of two elements, where the first element is the answer to the first question, and the second element is the answer to the second question.

Example

For n = 9, the output should be [2, 2]

Here are the number of divisors and the specific weaknesses of each number in range [1, 9]:

1: d(1) = 1, weakness(1) = 0;
2: d(2) = 2, weakness(2) = 0;
3: d(3) = 2, weakness(3) = 0;
4: d(4) = 3, weakness(4) = 0;
5: d(5) = 2, weakness(5) = 1;
6: d(6) = 4, weakness(6) = 0;
7: d(7) = 2, weakness(7) = 2;
8: d(8) = 4, weakness(8) = 0;... [continue reading](https://codewars.com/kata/5886dea04703f1712d000051)
Difficulty

5 kyu

short magnet
#

8.bitify

#

.8bitify

wicked parrotBOT
#
Your 8-bit avatar

Here is your avatar. I think it looks all cool and 'retro'.

hot niche
#

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

#

Better luck next time...

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

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

#

No one has made it onto the leaderboard yet.

#
Question #2

What year was Tetris released?

hot niche
#

1989

#

1999

wicked parrotBOT
#

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

hot niche
#

1987

#

1981

wicked parrotBOT
#

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

hot niche
#

1982

#

1983

#

1984

wicked parrotBOT
#

@hot niche got the correct answer :tada: 50 points!

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

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

#
Score Board

Ryuga#1114: 50

#
Question #3

What did Nintendo make before video games and toys?

#

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

hot niche
#

comic

wicked parrotBOT
#

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

#

No one answered correctly!

#
The correct answers are **`Hanafuda, Hanafuda cards`**

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

#
Score Board

Ryuga#1114: 50

#
Question #4

What was Mario's original occupation?

#

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

hot niche
#

carpenter

wicked parrotBOT
#

@hot niche 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

Ryuga#1114: 125

#
Question #5

What is the best selling game on the Nintendo GameCube?

hot niche
#

mario brother

wicked parrotBOT
#

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

#

**Hint #2
**It is not a mainline Zelda Game, although Link is present.

#

Better luck next time...

#
The correct answer is **`Super Smash Bros`**

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

#
Score Board

Ryuga#1114: 125

#
Question #6

What was the first game Yoshi appeared in?

hot niche
#

super smash bros

wicked parrotBOT
#

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

hot niche
#

mari cart

wicked parrotBOT
#

**Hint #2
**It was released on the SNES.

#

Better luck next time...

#
The correct answer is **`Super Mario World`**

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

#
Score Board

Ryuga#1114: 125

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

#

**Hint #2
**Their first console was called the Master System.

#

No one answered correctly!

#
The correct answer is **`Sega`**

Remaining questions: 0

#
Score Board

Ryuga#1114: 125

#

The round has ended.

#

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

pastel yoke
#

.rp import

wicked parrotBOT
#

Here are the top 5 results:

Python import: Advanced Techniques and Tips
Absolute vs Relative Imports in Python
Python Modules and Packages – An Introduction
Python Zip Imports: Distribute Modules and Packages Quickly
Python Type Checking (Guide)
pastel yoke
#

.wtf stubborn

wicked parrotBOT
runic shell
#

.wtf int

wicked parrotBOT
runic shell
#

.color

wicked parrotBOT
#
Oyster Bay

Color information for Color Oyster Bay.

RGB

(218, 250, 255)

HSV

(188, 15, 100)

HSL

(188, 100, 93)

CMYK

(15, 2, 0, 0)

Hex

#DAFAFF

Name

Oyster Bay

runic shell
#

.color red

wicked parrotBOT
#
Red

Color information for Color red.

RGB

(255, 0, 0)

HSV

(0, 100, 100)

HSL

(0, 100, 50)

CMYK

(0, 100, 100, 0)

Hex

#FF0000

Name

Red

runic shell
#

.color 0 9 123

wicked parrotBOT
#
Command Help

**```
.colour [colour_input]

**Can also use:** `color`

*Create an embed that displays colour information.

If no subcommand is called, a randomly selected colour will be shown.*

**Subcommands:**
**`cmyk <cyan> <magenta> <yellow> <key>`**
*Create an embed from a CMYK input.*
**`hex <hex_code>`**
*Create an embed from a HEX input.*
**`hsl <hue> <saturation> <lightness>`**
*Create an embed from an HSL input.*
**`hsv <hue> <saturation> <value>`**
*Create an embed from an HSV input.*
**`name <user_colour_name>`**
*Create an embed from a name input.*
**`random `**
*Create an embed from a randomly chosen colour.*
**`rgb <red> <green> <blue>`**
*Create an embed from an RGB input.*
runic shell
#

.rgb 1 9 123

#

.color rgb 1 9 123

wicked parrotBOT
#
(1, 9, 123)

Color information for RGB (1, 9, 123).

RGB

(1, 9, 123)

HSV

(236, 99, 48)

HSL

(236, 98, 24)

CMYK

(99, 93, 0, 52)

Hex

#01097B

Name

No match found

dapper geyser
#

.src egg

wicked parrotBOT
#
Do you mind?

Your input was invalid: Unable to convert egg to valid command or Cog.

Usage:```
.source [source_item]

dapper geyser
#

.src eggdecorate

wicked parrotBOT
#
Command: eggdecorate

Picks a random egg design and decorates it using the given colours.

Source Code
marsh gale
#

.source egg

wicked parrotBOT
#
Please don't do that.

Your input was invalid: Unable to convert egg to valid command or Cog.

Usage:```
.source [source_item]

marsh gale
#

.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

Which vascular tissue transports water and minerals from the roots to the rest of a plant?

marsh gale
#

xylem

wicked parrotBOT
#

@marsh gale got the correct answer :tada: 100 points!

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

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

#
Score Board

MrigKrafts#0383: 100

#
Question #2

When DNA is unzipped, two strands are formed. What are they called (separate both answers by the word "and")?

marsh gale
#

leading lagging

wicked parrotBOT
#

@marsh gale got the correct answer :tada: 100 points!

#
You got it! The correct answers are **`leading and lagging, leading strand and lagging strand`**

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

#
Score Board

MrigKrafts#0383: 200

#
Question #3

How does one describe the unit hertz (unit of frequency) 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!

#

10s left!

#

No one answered correctly!

#
The correct answer is **``s^-1``**

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

#
Score Board

MrigKrafts#0383: 200

#
Question #4

What range of frequency are the average human ears capable of hearing?
(A. 10Hz-10kHz, B. 20Hz-20kHz, C. 20Hz-2000Hz, D. 10kHz-20kHz)

#

20s left!

marsh gale
#

20Hz-20KHz

#

20Hz-20kHz

wicked parrotBOT
#

@marsh gale got the correct answer :tada: 75 points!

#
You got it! The correct answers are **`B, 20Hz-20kHz`**

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

#
Score Board

MrigKrafts#0383: 275

#
Question #5

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

marsh gale
#

Local

#

Local group

wicked parrotBOT
#

@marsh gale got the correct answer :tada: 100 points!

#
You got it! The correct answer is **`Local Group`**

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

#
Score Board

MrigKrafts#0383: 375

#
Question #6

What is the 8th planet of our Solar System?

marsh gale
#

Pluto

#

Neptune

wicked parrotBOT
#

@marsh gale got the correct answer :tada: 100 points!

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

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

#
Score Board

MrigKrafts#0383: 475

#
Question #7

As of 2021, how many elements are there in the Periodic Table?

marsh gale
#

118

wicked parrotBOT
#

@marsh gale got the correct answer :tada: 100 points!

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

Remaining questions: 0

#
Score Board

MrigKrafts#0383: 575

#

The round has ended.

#

@marsh gale Congratulations on winning this quiz game with a grand total of 575 points :tada:

hollow iron
#

..challenge

#

.challenge

wicked parrotBOT
#

For this kata you will have to forget how to add two numbers.

It can be best explained using the following meme:

Dayane Rivas adding up a sum while competing in the Guatemalan television show "Combate" in May 2016

In simple terms, our method does not like the principle of carrying over numbers and just writes down every number it calculates :-)

You may assume both integers are positive integers.

Examples

\large
\begin{array}{lll}
    & 1 & 6 \\
  + & 1 & 8 \\ \hline
  & 2 & 1 4 \\
\end{array}
\qquad
\large
\begin{array}{lll}
    & 2 & 6  \\
  + & 3 & 9  \\ \hline
    & 5 & 15 \\
\end{array}
\qquad
\large
\begin{array}{lll}
    & 1 & 2  & 2 \\
  + &   & 8  & 1 \\ \hline
    & 1 & 10 & 3 \\
\end{array}
You may assume both integers are positive integers and the result will not be bigger than `Integer.MAX_VALUE`
Difficulty

7 kyu

main scarab
#

.challengr

#

.challenge

wicked parrotBOT
#

For this kata you will have to forget how to add two numbers.

It can be best explained using the following meme:

Dayane Rivas adding up a sum while competing in the Guatemalan television show "Combate" in May 2016

In simple terms, our method does not like the principle of carrying over numbers and just writes down every number it calculates :-)

You may assume both integers are positive integers.

Examples

\large
\begin{array}{lll}
    & 1 & 6 \\
  + & 1 & 8 \\ \hline
  & 2 & 1 4 \\
\end{array}
\qquad
\large
\begin{array}{lll}
    & 2 & 6  \\
  + & 3 & 9  \\ \hline
    & 5 & 15 \\
\end{array}
\qquad
\large
\begin{array}{lll}
    & 1 & 2  & 2 \\
  + &   & 8  & 1 \\ \hline
    & 1 & 10 & 3 \\
\end{array}
You may assume both integers are positive integers and the result will not be bigger than `Integer.MAX_VALUE`
Difficulty

7 kyu

pastel yoke
#

.help latex

#

.ping

wicked parrotBOT
#
:ping_pong: Pong!

Gateway Latency: 99ms

pastel yoke
#

.help

wicked parrotBOT
#
Command Help

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

RealPython
.realpython [amount=5] <user_search>
Send some articles from RealPython that match the 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.

coarse ice
#

.challenge

wicked parrotBOT
pastel yoke
#

.rp flask

wicked parrotBOT
#

Here are the top 5 results:

Use a Flask Blueprint to Architect Your Applications
Python Web Applications with Flask – Part I
Using Flask-Login for User Management with Flask
Python Web Applications With Flask – Part II
Python Web Applications: Deploy Your Script as a Flask App
pastel yoke
#

.wiki van esq sequence

pastel yoke
#

.wiki bitwise operator

wicked parrotBOT
#
Wikipedia Search Results

Bitwise operation
In computer programming, a bitwise operation operates on a bit string, a bit array or a binary numeral (considered as a bit string) at the level of its

Bitwise operations in C
bit level using bitwise operators. Bitwise operations are contrasted by byte-level operations which characterize the bitwise operators' logical counterparts

hybrid pendant
#

.colour rgb(0, 0, 1)

wicked parrotBOT
#
Black

Colour information for Colour rgb(0, 0, 1).

RGB

(0, 0, 1)

HSV

(240, 100, 0)

HSL

(240, 100, 0)

CMYK

(100, 100, 0, 100)

Hex

#000001

Name

Black

solar linden
#

.color paleblue

wicked parrotBOT
#
Command Help

**```
.colour [colour_input]

**Can also use:** `color`

*Create an embed that displays colour information.

If no subcommand is called, a randomly selected colour will be shown.*

**Subcommands:**
**`cmyk <cyan> <magenta> <yellow> <key>`**
*Create an embed from a CMYK input.*
**`hex <hex_code>`**
*Create an embed from a HEX input.*
**`hsl <hue> <saturation> <lightness>`**
*Create an embed from an HSL input.*
**`hsv <hue> <saturation> <value>`**
*Create an embed from an HSV input.*
**`name <user_colour_name>`**
*Create an embed from a name input.*
**`random `**
*Create an embed from a randomly chosen colour.*
**`rgb <red> <green> <blue>`**
*Create an embed from an RGB input.*
solar linden
#

.color lightblue

wicked parrotBOT
#
lightblue

Color information for Color lightblue.

RGB

(173, 216, 230)

HSV

(195, 25, 90)

HSL

(195, 53, 79)

CMYK

(25, 6, 0, 10)

Hex

#ADD8E6

Name

No match found

pastel yoke
#

try using .color name <your color name> for better results

#

.color hex #61845F

wicked parrotBOT
#
Glade Green

Color information for Hex #61845F.

RGB

(97, 132, 95)

HSV

(117, 28, 52)

HSL

(117, 16, 45)

CMYK

(27, 0, 28, 48)

Hex

#61845F

Name

Glade Green

solar linden
#

.color name light blue

wicked parrotBOT
#
Blue

Color information for Name light blue.

RGB

(0, 0, 255)

HSV

(240, 100, 100)

HSL

(240, 100, 50)

CMYK

(100, 100, 0, 0)

Hex

#0000FF

Name

Blue

solar linden
#

That's too saturated

pastel yoke
#

It matched blue

#

.color name lightblue

wicked parrotBOT
#
Blue

Color information for Name lightblue.

RGB

(0, 0, 255)

HSV

(240, 100, 100)

HSL

(240, 100, 50)

CMYK

(100, 100, 0, 0)

Hex

#0000FF

Name

Blue

pastel yoke
#

Huh

#

.color name pale blue

wicked parrotBOT
#
Blue

Color information for Name pale blue.

RGB

(0, 0, 255)

HSV

(240, 100, 100)

HSL

(240, 100, 50)

CMYK

(100, 100, 0, 0)

Hex

#0000FF

Name

Blue

pastel yoke
#

lol

solar linden
#

.color hsl 240 80 60

wicked parrotBOT
#
(240, 80, 60)

Color information for HSL (240, 80, 60).

RGB

(71, 71, 235)

HSV

(240, 70, 92)

HSL

(240, 80, 60)

CMYK

(70, 70, 0, 8)

Hex

#4747EB

Name

No match found

solar linden
#

Looks like discord's color 😂

#

.color hsl 240 80 75

wicked parrotBOT
#
(240, 80, 75)

Color information for HSL (240, 80, 75).

RGB

(140, 140, 242)

HSV

(240, 42, 95)

HSL

(240, 80, 75)

CMYK

(42, 42, 0, 5)

Hex

#8C8CF2

Name

No match found

pastel yoke
#

.color name teal

wicked parrotBOT
#
Teal

Color information for Name teal.

RGB

(0, 128, 128)

HSV

(180, 100, 50)

HSL

(180, 100, 25)

CMYK

(100, 0, 0, 50)

Hex

#008080

Name

Teal

main scarab
#

!voiceverify

spring tapir
#

.epoch Jan 12 2022 12:00 AM UTC -11

wicked parrotBOT
#

Date and time parsed as: Wed, 12 Jan 2022 00:00:00 +0000

#

1641945600

velvet blaze
#

!rule5

#

!rule 5

rough gladeBOT
#

5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.

velvet blaze
#

!pypi sox

rough gladeBOT
runic shell
#

.wiki moron

wicked parrotBOT
#
Wikipedia Search Results

Moron
Moron or Morón may refer to: Moron (psychology), disused term for a person with a mental age between 7 and 10 Edgar Moron (born 1941), German politician

Mörön
Mörön (Mongolian: Мөрөн;ᠮᠥᠷᠡᠨ, lit. 'river'), also spelled Murun, is the administrative center of Khövsgöl Aimag (province) in northern Mongolia. Before

runic shell
#

.wiki moon

#

.earth_photos

wicked parrotBOT
#
Earth Photo

A photo of Earth 🌎 from Unsplash.

Author

Photo by NASA on Unsplash.

runic shell
#

.eggfact

wicked parrotBOT
#
Easter Egg Fact

The first story of a rabbit (later named the "Easter Bunny") hiding eggs in a garden was published in 1680.

hot niche
#

.play

#

.pl

wicked parrotBOT
#
Tim Cook

Timothy Donald Cook popularly known as Tim Cook. Despite being a notably private person, Tim Cook became the first CEO of a 500 fortune company, coming out as gay in 2014. He revealed his sexual orientation through an open letter published in Bloomberg BusinessWeek. He strongly believes that business leaders need to do their part to make the world a better place. An excerpt from his open letter is as follows: “Part of social progress is understanding that a person is not defined only by one's sexuality, race, or gender.

Known for

CEO of Apple

D.O.B and Birth place

In November 1, 1960 at Mobile, Alabama, U.S.

Awards and honors

• Financial Times Person of the Year (2014)
• Ripple of Change Award (2015)
• Fortune Magazine's: World's Greatest Leader. (2015)
• Alabama Academy of Honor: Inductee. (2015)
• Human Rights Campaign's Visibility Award (2015)
• Honorary Doctor of Science from University of Glasgow in Glasgow, Scotland (2017)
• Courage Against Hate award from Anti-Defamation League (2018)

For More Information

Do .wiki Tim Cook in #sir-lancebot-playground

hot niche
#

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

hot niche
#

.riddle

wicked parrotBOT
#
What kind of music do bunnies like?

You have 10 seconds before the first hint.

#
Here's a hint: Two words!
hot niche
#

hip hop

#

hip hop

wicked parrotBOT
#
Here's a hint: Jump to the beat!
hot niche
#

pop

wicked parrotBOT
#

Well done @hot niche for getting it right!

The answer is: Hip hop!
hot niche
#

bruh

#

.ridde

#

.riddle

wicked parrotBOT
#
What kind of jewelry do rabbits wear?

You have 10 seconds before the first hint.

#
Here's a hint: They can eat it too!
#
Here's a hint: 14 ___ gold!
hot niche
#

14 carrot gold

wicked parrotBOT
#

Nobody got it right...

The answer is: 14 carrot gold!
hot niche
#

.riddle

wicked parrotBOT
#
Where does the easter bunny eat breakfast?

You have 10 seconds before the first hint.

hot niche
#

yo all of them bunny related

wicked parrotBOT
#
Here's a hint: No waffles here!
#
Here's a hint: An international home!
#

Nobody got it right...

The answer is: IHOP!
hot niche
#

.help

wicked parrotBOT
#
Command Help

CheatSheet
.cheat [search_terms...]
Search cheat.sh.

CoinFlip
.coinflip [side]
Flips a coin.

Colour
.colour [colour_input]
Create an embed that displays colour information.

ConnectFour
.connect_four [board_size=7] [emoji1=🔵] [emoji2=🔴]
Play the classic game of Connect Four with someone!

ConvoStarters
.topic
Responds with a random topic to start a conversation.

hot niche
#

.challenge

wicked parrotBOT
#

Triangular numbers are so called because of the equilateral triangular shape that they occupy when laid out as dots. i.e.

1st (1)   2nd (3)    3rd (6)
*          **        ***
           *         **
                     *

You need to return the nth triangular number. You should return 0 for out of range values:

For example: (Input --> Output)

0 --> 0
2 --> 3
3 --> 6
-10 --> 0
Difficulty

7 kyu

hot niche
#

.challenge

wicked parrotBOT
#

Triangular numbers are so called because of the equilateral triangular shape that they occupy when laid out as dots. i.e.

1st (1)   2nd (3)    3rd (6)
*          **        ***
           *         **
                     *

You need to return the nth triangular number. You should return 0 for out of range values:

For example: (Input --> Output)

0 --> 0
2 --> 3
3 --> 6
-10 --> 0
Difficulty

7 kyu

#
Are you trying to kill me?

Your input was invalid: Converting to "int" failed for parameter "saturation".

Usage:```
.colour hsl <hue> <saturation> <lightness>

main scarab
#

.color hsl 220 8 23

wicked parrotBOT
#
(220, 8, 23)

Color information for HSL (220, 8, 23).

RGB

(54, 57, 63)

HSV

(220, 14, 25)

HSL

(220, 8, 23)

CMYK

(14, 10, 0, 75)

Hex

#36393F

Name

No match found

hot niche
#

!e

def treestuff(branch_num):
  sub_branch = 0
  for i in range(branch_num+1):
    sub_branch += i
  return sub_branch

print(treestuff(3))
rough gladeBOT
#

@hot niche :white_check_mark: Your eval job has completed with return code 0.

6
fallow trench
#

.anagram

wicked parrotBOT
#
Find anagrams from these letters: 'AEFK'

You have 60 seconds to find correct words.

fallow trench
#

fake

wicked parrotBOT
#

Well done @fallow trench for getting it right!

The words were: `fake`, `feak`!
fallow trench
#

.riddle

wicked parrotBOT
#
What kind of bunny can't hop?

You have 10 seconds before the first hint.

#
Here's a hint: Might melt in the sun!
main scarab
#

chocolate bunny

fallow trench
#

chocolate bunny

wicked parrotBOT
#
Here's a hint: Fragile and yummy!
#

Nobody got it right...

The answer is: A chocolate one!
fallow trench
#

.src

wicked parrotBOT
main scarab
#

.color hsl 233 66 57

wicked parrotBOT
#
(233, 66, 57)

Color information for HSL (233, 66, 57).

RGB

(73, 90, 218)

HSV

(233, 67, 85)

HSL

(233, 66, 57)

CMYK

(67, 59, 0, 15)

Hex

#495ADA

Name

No match found

hot niche
#

.challenge

wicked parrotBOT
#

When provided with a String, capitalize all vowels

For example:

Input : "Hello World!"

Output : "HEllO WOrld!"

Note: Y is not a vowel in this kata.

Difficulty

7 kyu

sharp cradle
#

.help

wicked parrotBOT
#
Command Help

Wolfram
.wolfram <query>
Requests all answers on a single image, sends an image of all related pods.

WonderTwins
.formof
Command to send a Wonder Twins inspired phrase to the user invoking the command.

XKCD
.xkcd <comic>
Getting an xkcd comic's information along with the image.

sharp cradle
#

.server

#

?si

#

.si

rigid scroll
#

.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

rigid scroll
#

what

wicked parrotBOT
#
Question #1

What did Nintendo make before video games and toys?

rigid scroll
#

Cards

#

Playing cards

wicked parrotBOT
#

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

rigid scroll
#

Japanese playing cards?

wicked parrotBOT
#

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

rigid scroll
#

Poker cards

wicked parrotBOT
#

No one answered correctly!

#
The correct answers are **`Hanafuda, Hanafuda cards`**

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

#

No one has made it onto the leaderboard yet.

#
Question #2

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

rigid scroll
#

Uhhhhhhhhh

wicked parrotBOT
#

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

#

Better luck next time...

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

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

#

No one has made it onto the leaderboard yet.

#
Question #3

Who was Nintendo's biggest competitor in 1990?

rigid scroll
#

Sega

wicked parrotBOT
#

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

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

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

#
Score Board

JAM4L#7675: 100

#
Question #4

What is the best selling game on the Nintendo GameCube?

rigid scroll
#

Mario Party

wicked parrotBOT
#

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

#

**Hint #2
**It is not a mainline Zelda Game, although Link is present.

rigid scroll
#

Super Smash Bros

wicked parrotBOT
#

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

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

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

#
Score Board

JAM4L#7675: 150

#
Question #5

What was the first game Yoshi appeared in?

#

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

rigid scroll
#

Super Mario World

wicked parrotBOT
#

@rigid scroll 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: 2

#
Score Board

JAM4L#7675: 225

#
Question #6

What year was Tetris released?

rigid scroll
#

1989

#

1990

#

1991

#

1986

wicked parrotBOT
#

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

rigid scroll
#

1987

#

1988

wicked parrotBOT
#

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

rigid scroll
#

1985

#

1984

wicked parrotBOT
#

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

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

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

#
Score Board

JAM4L#7675: 275

#
Question #7

What was Mario's original occupation?

rigid scroll
#

plumber

wicked parrotBOT
#

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

rigid scroll
#

carpenter

wicked parrotBOT
#

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

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

Remaining questions: 0

#
Score Board

JAM4L#7675: 350

#

The round has ended.

#

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

rigid scroll
#

.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 type is the attribute of a frame object that contains the current local variables?

#

20s left!

#

10s left!

rigid scroll
#

builtin_method_or_object

wicked parrotBOT
#

Better luck next time...

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

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

#

No one has made it onto the leaderboard yet.

#
Question #2

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

rigid scroll
#

y

wicked parrotBOT
#

@rigid scroll 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: 5

#
Score Board

JAM4L#7675: 100

#
Question #3

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

rigid scroll
#

module

#

metamodule

wicked parrotBOT
#

20s left!

#

10s left!

rigid scroll
#

namespace package

wicked parrotBOT
#

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

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

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

#
Score Board

JAM4L#7675: 150

#
Question #4

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

rigid scroll
#

NotImplemented

#

StopIteration

wicked parrotBOT
#

20s left!

rigid scroll
#

NotImplementedError

wicked parrotBOT
#

10s left!

rigid scroll
#

Wth

#

[0]

#

[1]

wicked parrotBOT
#

No one answered correctly!

#
The correct answer is **`StopIteration`**

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

#
Score Board

JAM4L#7675: 150

#
Question #5

What name does a lambda function have?

rigid scroll
#

lambda

wicked parrotBOT
#

20s left!

rigid scroll
#

<class 'lambda'>

wicked parrotBOT
#

10s left!

rigid scroll
#

what even

wicked parrotBOT
#

No one answered correctly!

#
The correct answer is **`<lambda>`**

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

#
Score Board

JAM4L#7675: 150

rigid scroll
#

bruh

wicked parrotBOT
#
Question #6

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?

rigid scroll
#

curses

#

shlex

wicked parrotBOT
#

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

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

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

#
Score Board

JAM4L#7675: 250

#
Question #7

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

rigid scroll
#

GeneratorExit

wicked parrotBOT
#

20s left!

#

10s left!

#

Better luck next time...

#
The correct answer is **`IndexError`**

Remaining questions: 0

#
Score Board

JAM4L#7675: 250

#

The round has ended.

#

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

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 decorator is used to allow a protocol to be checked at runtime?

#

20s left!

#

10s left!

#

Better luck next time...

#
The correct answers are **`runtime_checkable, typing.runtime_checkable`**

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

#

No one has made it onto the leaderboard yet.

#
Question #2

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!

#

No one answered correctly!

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

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

#

No one has made it onto the leaderboard yet.

#
Question #3

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

#

20s left!

#

@tired blade got the correct answer :tada: 75 points!

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

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

#
Score Board

elev#5616: 75

#
Question #4

Is the __aiter__ method async (y/n)?

#

20s left!

#

10s left!

#

@tired blade got the correct answer :tada: 50 points!

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

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

#
Score Board

elev#5616: 125

#
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!

#

Better luck next time...

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

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

#
Score Board

elev#5616: 125

#
Question #6

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

#

20s left!

#

10s left!

#

No one answered correctly!

#
The correct answer is **`next`**

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

#
Score Board

elev#5616: 125

#
Question #7

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

#

20s left!

#

10s left!

#

Better luck next time...

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

Remaining questions: 0

#
Score Board

elev#5616: 125

#

The round has ended.

#

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

#
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 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: 6

#

No one has made it onto the leaderboard yet.

#
Question #2

What name does a lambda function have?

#

20s left!

#

10s left!

#

No one answered correctly!

#
The correct answer is **`<lambda>`**

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

#

No one has made it onto the leaderboard yet.

#
Question #3

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

#

20s left!

#

10s left!

#

@tired blade flipped heads.

#

No one answered correctly!

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

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

#

No one has made it onto the leaderboard yet.

#
Question #4

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

#

20s left!

#

10s left!

#

No one answered correctly!

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

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

#

No one has made it onto the leaderboard yet.

#
Question #5

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

#

20s left!

#

10s left!

#

No one answered correctly!

#
The correct answer is **`IndexError`**

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

#

No one has made it onto the leaderboard yet.

#
Question #6

Where does the name Python come from?

#

20s left!

#

10s left!

#

Better luck next time...

#
The correct answers are **`Monty Python, Monty Python's Flying Circus`**

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

#

No one has made it onto the leaderboard yet.

#
Question #7

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

#

20s left!

#
Not gonna happen.

You are not authorized to use this command.

#

10s left!

#

No one answered correctly!

#
The correct answers are **`runtime_checkable, typing.runtime_checkable`**

Remaining questions: 0

#

No one has made it onto the leaderboard yet.

#

The round has ended.

#
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 one of these protocols/abstract base classes does the builtin range object NOT implement?
(Sequence, Iterable, Generator)

#

@tired blade 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

elev#5616: 100

#
Question #2

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

#

20s left!

#

10s left!

#

No one answered correctly!

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

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

#
Score Board

elev#5616: 100

#
Question #3

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

#

20s left!

#

10s left!

#

No one answered correctly!

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

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

#
Score Board

elev#5616: 100

#
Question #4

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

#

@tired blade got the correct answer :tada: 100 points!

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

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

#
Score Board

elev#5616: 200

#
Question #5

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

#

20s left!

#

10s left!

#

Better luck next time...

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

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

#
Score Board

elev#5616: 200

#
Question #6

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

#

20s left!

#

10s left!

#

No one answered correctly!

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

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

#
Score Board

elev#5616: 200

#
Question #7

Is the __aiter__ method async (y/n)?

#

@tired blade got the correct answer :tada: 100 points!

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

Remaining questions: 0

#
Score Board

elev#5616: 300

#

The round has ended.

#

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

azure wedge
#

.src gh

wicked parrotBOT
#
Command: github

Commands for finding information related to GitHub.

Source Code
main scarab
#

.game

wicked parrotBOT
#
Command Help

**```
.games [amount=5] <genre>

**Can also use:** `game`

*Get random game(s) by genre from IGDB. Use .games genres command to get all available genres.

Also support amount parameter, what max is 25 and min 1, default 5. Supported formats:
- .games <genre>
- .games <amount> <genre>*

**Subcommands:**
**`company [amount=5]`**
*Get random Game Companies companies from IGDB API.*
**`genres `**
*Get all available genres.*
**`search <search_term>`**
*Find games by name.*
**`top [amount=10]`**
*Get current Top games in IGDB.*
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

Is the __aiter__ method async (y/n)?

main scarab
#

N

wicked parrotBOT
#

@main scarab 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: 6

#
Score Board

『《 MyStuffYT》』#9424: 100

#
Question #2

What attribute of a closure contains the value closed over?

main scarab
#

Umm

wicked parrotBOT
#

20s left!

#

10s left!

#

No one answered correctly!

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

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

#
Score Board

『《 MyStuffYT》』#9424: 100

#
Question #3

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?

main scarab
#

os

wicked parrotBOT
#

20s left!