#sir-lancebot-playground
1 messages ยท Page 238 of 1
AvatarModify
.mosaic [squares=16]
Splits your avatar into x squares, randomizes them and stitches them back into a new image!
.prideavatar [option=lgbt] [pixels=64]
This surrounds an avatar with a border of a specified LGBT flag.
.reverse <text>
Reverses the sent text.
.spookyavatar
Spookify an user's avatar.
Battleship
.battleship
Play a game of Battleship with someone else!
BeMyValentine
.bemyvalentine <user> [valentine_type]
Send a valentine to a specified user with the lovefest role.
Bookmark
.bookmark <target_message> [title=Bookmark]
Send the author a link to target_message via DMs.
.reverse qwertyuiop
poiuytrewq
.fool
Check out this April Fools' video by google.
This spring, Google is introducing the self-driving bicycle in Amsterdam, the worldโs premier cycling city. The Dutch cycle more than any other nation in the world, almost 900 kilometres per year per person, amounting to over 15 billion kilometres annually. The self-driving bicycle enables safe navigation through the city for Amsterdam residents...
.spookyavatar
.help
TriviaQuiz
.quiz <category> <questions>
Start a quiz!
ValentineFacts
.valentine_fact
Shows a random fact about Valentine's Day.
.who_is_valentine
Displays info about Saint Valentine.
ValentineZodiac
.zodiac <zodiac_sign>
Provides information about zodiac sign by taking zodiac sign name as input.
WTFPython
.wtf_python <query>
Search WTF Python repository.
.eggquiz
You have 30 seconds to vote.
๐ฆ -> Paris, France
๐ง -> Madrid, Spain
๐จ -> Zรผrich, Switzerland
๐ฉ -> London, England
.pythonfact
Python was named after Monty Python, a British Comedy Troupe, which Guido van Rossum likes.
Suggest more facts here!
.pythonfact
If you type import this in the Python REPL, you'll get a poem about the philosophies about Python. (check it out by doing !zen in #bot-commands)
Suggest more facts here!
Nobody got it right...
VOTES:
๐ฆ - 1 vote (50%)
๐ง - 0 votes (0%)
๐จ - 0 votes (0%)
๐ฉ - 0 votes (0%)
If you type import antigravity in the Python REPL, you'll be directed to an xkcd comic about how easy Python is.
Suggest more facts here!
Python was named after Monty Python, a British Comedy Troupe, which Guido van Rossum likes.
Suggest more facts here!
If you type import this in the Python REPL, you'll get a poem about the philosophies about Python. (check it out by doing !zen in #bot-commands)
Suggest more facts here!
If you type import antigravity in the Python REPL, you'll be directed to an xkcd comic about how easy Python is.
Suggest more facts here!
:incoming_envelope: :ok_hand: applied mute to @smoky remnant until <t:1635140866:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).
!unmute 612772325850611728
:incoming_envelope: :ok_hand: pardoned infraction mute for @smoky remnant.
๐
you'll have to go a bti slower 
.quiz
.quiz help
Game is already running... do .quiz stop
**Hint #1
**The game was released in 1990.
.quiz stop
Quiz stopped.
.src
.quiz leaderboard
.hackstats heewoonkim2020
No valid Hacktoberfest PRs found for 'heewoonkim2020'
.pythonfact
Python was named after Monty Python, a British Comedy Troupe, which Guido van Rossum likes.
Suggest more facts here!
Today's Spooky Name Rate Game ends now, and the winner(s) is(are)...
Hmm... Looks like no one participated! :cry:
.spookyavatar
.spookyavatar
.quiz
super smash bros
@inner pendant got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 6
What year was Tetris released?
1984
@inner pendant got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 5
What was the first game Yoshi appeared in?
Super Mario World
@inner pendant got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 4
What did Nintendo make before video games and toys?
**Hint #1
**They were used alternatively to playing cards.
**Hint #2
**They generally have handdrawn nature images on them.
hanafuda
@inner pendant got the correct answer :tada: 50 points!
Let's move to the next question.
Remaining questions: 3
Who was Nintendo's biggest competitor in 1990?
sega
@inner pendant got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 2
What is Yoshi's (from Mario Bros.) full name?
Yoshisaur MunchaKoopas
@inner pendant got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 1
What was Mario's original occupation?
Carpenter
@inner pendant got the correct answer :tada: 100 points!
Remaining questions: 0
The round has ended.
@inner pendant Congratulations on winning this quiz game with a grand total of 650 points :tada:
.quiz
monty python
@inner pendant got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 6
What type does the & operator return when given 2 dict_keys objects?
set
@inner pendant got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 5
What is the official name of this operator :=, introduced in 3.8?
assignment expression operator
@inner pendant got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 4
What name does a lambda function have?
<lambda>
@inner pendant got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 3
What type is the attribute of a frame object that contains the current local variables?
dict
@inner pendant got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 2
When was Python first released?
1991
@inner pendant got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 1
Which module when imported opens up a web browser tab that points to the classic 353 XKCD comic mentioning Python?
antigravity
@inner pendant got the correct answer :tada: 100 points!
Remaining questions: 0
The round has ended.
@inner pendant Congratulations on winning this quiz game with a grand total of 700 points :tada:
.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.
.avatar_modify
**```
.avatar_modify
**Can also use:** `avatar_mod`, `avatarmod`, `pfp_mod`, `pfpmod`
*Groups all of the pfp modifying commands to allow a single concurrency limit.*
**Subcommands:**
**`8bitify `**
*Pixelates your avatar and changes the palette to an 8bit one.*
**`avatareasterify [colours...]`**
*This "Easterifies" the user's avatar.*
**`mosaic [squares=16]`**
*Splits your avatar into x squares, randomizes them and stitches them back into a new image!*
**`prideavatar [option=lgbt] [pixels=64]`**
*This surrounds an avatar with a border of a specified LGBT flag.*
**`reverse <text>`**
*Reverses the sent text.*
**`spookyavatar `**
*Spookify an user's avatar.*
.8bitify
.anagram
You have 60 seconds to find correct words.
tillet
Well done @quasi abyss for getting it right!
.anagram
You have 60 seconds to find correct words.
Well done @quasi abyss for getting it right!
.anagram
You have 60 seconds to find correct words.
Well done @quasi abyss for getting it right!
.help
.help bm
**```
.bookmark <target_message> [title=Bookmark]
**Can also use:** `bm`, `pin`
*Send the author a link to `target_message` via DMs.*
Your input was invalid: You must either provide a valid message to bookmark, or reply to one.
The lookup strategy for a message is as follows (in order):
- Lookup by '{channel ID}-{message ID}' (retrieved by shift-clicking on 'Copy ID')
- Lookup by message ID (the message must have been sent after the bot last started)
- Lookup by message URL
Usage:```
.bookmark [target_message] [title=Bookmark]
.8bitify
.ttt
It's time for the game! Let's begin.
2๏ธโฃ 3๏ธโฃ
4๏ธโฃ 5๏ธโฃ 6๏ธโฃ
7๏ธโฃ
9๏ธโฃ
@daring swift ran out of time. Canceling game.
.ttt
It's time for the game! Let's begin.

6๏ธโฃ
8๏ธโฃ 
:tada: @inner pendant won this game! :tada:
.ttt
It's time for the game! Let's begin.

4๏ธโฃ

8๏ธโฃ 
:tada: @inner pendant won this game! :tada:
.quiz python 3
Which of these is not a generator method?
(next, send, throw, close)
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 2
No one has made it onto the leaderboard yet.
How does one call a class who defines the behavior of their instance classes?
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 1
No one has made it onto the leaderboard yet.
Which one of these protocols/abstract base classes does the builtin range object NOT implement?
(Sequence, Iterable, Generator)
20s left!
10s left!
Better luck next time...
Remaining questions: 0
No one has made it onto the leaderboard yet.
The round has ended.
.quiz python 3
What type does the & operator return when given 2 dict_keys objects?
set
@inner pendant got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 2
What exception, other than StopIteration, can you raise from a __getitem__ dunder to indicate to an iterator that it should stop?
indexerror
@inner pendant got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 1
How does one call a class who defines the behavior of their instance classes?
metaclass
@inner pendant got the correct answer :tada: 100 points!
Remaining questions: 0
The round has ended.
@inner pendant Congratulations on winning this quiz game with a grand total of 300 points :tada:
.hi
.bye
.challenge python 6
Mutual Recursion allows us to take the fun of regular recursion (where a function calls itself until a terminating condition) and apply it to multiple functions calling each other!
Let's use the Hofstadter Female and Male sequences to demonstrate this technique. You'll want to create two functions F and M such that the following equations are true:
F(0) = 1
M(0) = 0
F(n) = n - M(F(n - 1))
M(n) = n - F(M(n - 1))
Don't worry about negative numbers, n will always be greater than or equal to zero.
You *do* have to worry about performance though, mutual recursion uses up a lot of stack space (and is highly inefficient) so you may have to find a way to make your solution consume less stack space (and time). Good luck :)
Hofstadter Wikipedia Reference http://en.wikipedia.org/wiki/Hofstadter_sequence#Hofstadter_Female_and_Male_sequences
6 kyu
.quack
.quack manduck
.ttt
.ttt
.ttt
It's time for the game! Let's begin.



:tada: @outer barn won this game! :tada:
.rps rock
@outer barn You and Sir Lancebot played rock, it's a tie.
.quiz humor
- 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.
.quiz general
dam it
20s left!
10s left!
.abandonQuiz
No one answered correctly!
Information
The title stems from the Japanese names for Japan, Nippon/Nihon, both literally translating to "the suns origin".
Let's move to the next question.
Remaining questions: 6
No one has made it onto the leaderboard yet.
Who was the winner of FIFA 2018?
20s left!
10s left!
Better luck next time...
Information
France 4 - 2 Croatia
Let's move to the next question.
Remaining questions: 5
No one has made it onto the leaderboard yet.
Diamonds are always nice in Minecraft, but can you name the "Diamond Capital in the World"?
20s left!
10s left!
No one answered correctly!
Information
Antwerp, Belgium is where 60-80% of the world's diamonds are cut and traded, and is known as the "Diamond Capital of the World."
Let's move to the next question.
Remaining questions: 4
No one has made it onto the leaderboard yet.
Which is the largest island in the world?
20s left!
10s left!
No one answered correctly!
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: 3
No one has made it onto the leaderboard yet.
What's the world's largest urban area?
20s left!
10s left!
Better luck next time...
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: 2
No one has made it onto the leaderboard yet.
What country is the world's largest coral reef system, the "Great Barrier Reef", located in?
20s left!
10s left!
No one answered correctly!
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
No one has made it onto the leaderboard yet.
In what country is the Ebro river located?
20s left!
10s left!
No one answered correctly!
Information
The Ebro river is located in Spain. It is 930 kilometers long and it's the second longest river that ends on the Mediterranean Sea.
Remaining questions: 0
No one has made it onto the leaderboard yet.
The round has ended.
Introduction
This kata is yet another version of Avanta's Coloured Triangles, once again focused on performance.
It takes Bubbler's "Insane" version a step further, hence the name "Ludicrous".
I highly recommend having a close look at these other versions first, and solving them if you haven't already: they are super nice kata, and the test cases are significantly less challenging than what you'll find here.
Problem Description
This section has been borrowed from Avanta's kata.
... continue reading
2 kyu
.quiz
Guess the title of the Wikipedia article.
The ******* ****** are American relatives, who, by birth, marriage or partnership, include professional performers, as well as the four acting siblings of Alec, Daniel, William and Stephen, who are known collectively as the ******* brothers.
.exit
20s left!
.help
WikipediaSearch
.wikipedia <search>
Sends paginated top 10 results of Wikipedia search..
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.
10s left!
Better luck next time...
Information
The Baldwin family are American relatives, who, by birth, marriage or partnership, include professional performers, as well as the four acting siblings of Alec, Daniel, William and Stephen, who are known collectively as the Baldwin brothers.
Let's move to the next question.
Remaining questions: 6
No one has made it onto the leaderboard yet.
Guess the title of the Wikipedia article.
Thomas Jacob "****" ***** is an American actor, comedian, musician, and songwriter. ***** is known for his roles in the films High Fidelity (2000), Shallow Hal (2001), School of Rock (2003), King Kong (2005), Nacho Libre (2006), Be Kind Rewind (2008), Bernie (2011) and Goosebumps (2015), in addition to his role in the Jumanji franchise. He also voices the giant panda named Po from DreamWorks Animation's Kung Fu Panda films. He gained Golden Globe nominations for his work in School of Rock and Bernie, and he was given a star on Hollywood's Walk of Fame in 2018.
20s left!
10s left!
.quiz stop
Quiz stopped.
.quiz python
lambda
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 6
No one has made it onto the leaderboard yet.
Which year was Python 3 released?
20s left!
@latent kiln got the correct answer :tada: 75 points!
Let's move to the next question.
Remaining questions: 5
Where does the name Python come from?
20s left!
ohh
monty python flying circus
@wise junco got the correct answer :tada: 75 points!
Let's move to the next question.
Remaining questions: 4
Which one of these protocols/abstract base classes does the builtin range object NOT implement?
(Sequence, Iterable, Generator)
didn't know that one
20s left!
generator
@wise junco got the correct answer :tada: 75 points!
Let's move to the next question.
Remaining questions: 3
What type is the attribute of a frame object that contains the current local variables?
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 2
What attribute of a closure contains the value closed over?
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 1
Which protocol is used to pass self to methods when accessed on classes?
20s left!
10s left!
No one answered correctly!
Remaining questions: 0
The round has ended.
@wise junco Congratulations on winning this quiz game with a grand total of 150 points :tada:
.quiz python
How does one call a class who defines the behavior of their instance classes?
metaclass
@wise junco got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 6
Name the only non-dunder method of the builtin slice object.
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 5
Is everything an instance of the object class (y/n)?
y
@wise junco got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 4
Which protocol is used to pass self to methods when accessed on classes?
descriptor
@latent kiln got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 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?
20s left!
cmd
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 2
What type is the attribute of a frame object that contains the current local variables?
dict
@latent kiln got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 1
dict
walrus
20s left!
10s left!
No one answered correctly!
Remaining questions: 0
The round has ended.
@wise junco @latent kiln Congratulations on winning this quiz game with a grand total of 200 points :tada:
.quiz python
Which of these is a subclass of Exception?
(NotImplemented, asyncio.CancelledError, StopIteration)
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 6
No one has made it onto the leaderboard yet.
Which module when imported opens up a web browser tab that points to the classic 353 XKCD comic mentioning Python?
20s left!
idke
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 5
No one has made it onto the leaderboard yet.
Which year was Python 3 released?
2008
@wise junco got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 4
Which file contains all special site builtins, such as help or credits?
20s left!
_builtin.py
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 3
Which of these is not a generator method?
(next, send, throw, close)
next
@wise junco got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 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!
Better luck next time...
Let's move to the next question.
Remaining questions: 1
How is infinity represented in Python?
float('inf')
@wise junco got the correct answer :tada: 100 points!
Remaining questions: 0
The round has ended.
@wise junco Congratulations on winning this quiz game with a grand total of 300 points :tada:
.src
.src catify
Today's Spooky Name Rate Game ends now, and the winner(s) is(are)...
Hmm... Looks like no one participated! :cry:
.src src
.src candy
.src
.quiz
1999
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 6
No one has made it onto the leaderboard yet.
Which module when imported opens up a web browser tab that points to the classic 353 XKCD comic mentioning Python?
20s left!
gravity
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 5
No one has made it onto the leaderboard yet.
What name does a lambda function have?
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 4
No one has made it onto the leaderboard yet.
Which year was Python 3 released?
20s left!
2016
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 3
No one has made it onto the leaderboard yet.
What is the garbage collection strategy used by cpython to collect everything but reference cycles?
20s left!
10s left!
No one answered correctly!
Let's move to the next question.
Remaining questions: 2
No one has made it onto the leaderboard yet.
AAAAA
Which of these is a subclass of Exception?
(NotImplemented, asyncio.CancelledError, StopIteration)
NotImplemented
20s left!
10s left!
Better luck next time...
Let's move to the next question.
Remaining questions: 1
No one has made it onto the leaderboard yet.
Which attribute is the documentation string of a function/method/class stored in (answer should be enclosed in backticks!)?
hahaha oh shit
20s left!
10s left!
No one answered correctly!
Remaining questions: 0
No one has made it onto the leaderboard yet.
The round has ended.
.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.
.8bitify
.avatareasterify
.help
AvatarModify
.mosaic [squares=16]
Splits your avatar into x squares, randomizes them and stitches them back into a new image!
.prideavatar [option=lgbt] [pixels=64]
This surrounds an avatar with a border of a specified LGBT flag.
.reverse <text>
Reverses the sent text.
.spookyavatar
Spookify an user's avatar.
Battleship
.battleship
Play a game of Battleship with someone else!
BeMyValentine
.bemyvalentine <user> [valentine_type]
Send a valentine to a specified user with the lovefest role.
Bookmark
.bookmark <target_message> [title=Bookmark]
Send the author a link to target_message via DMs.
.mosaic
.mosaic 64
.mosaic 1024
.mosaic 654239
Your input was invalid: Squares must be a positive number less than or equal to 10,000.
Usage:```
.avatar_modify mosaic [squares=16]
.mosaic 10000
.help
BotSource
.source [source_item]
Display information and a GitHub link to the source code of a command, tag, or cog.
BunnyNameGenerator
.bunnifyme
Gets your Discord username and bunnifies it.
.bunnyname
Picks a random bunny name from a JSON file.
CandyCollection
.candy
Get the candy leaderboard and save to JSON.
Catify
.catify <text>
Convert the provided text into a cat themed sentence by interspercing cats throughout text.
.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.
.8ball
Your input was invalid: question is a required argument that is missing.
Usage:```
.8ball <question>
.8ball will i lose my virginity?
Signs point to yes
.8ball Will Tesla dominate the internet infrastructure?
Don't count on it
.8ball One or two
Don't count on it
.tictactoe
It's time for the game! Let's begin.



It's a DRAW!
.quiz
monty python
@inner pendant got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 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?
shlex
@inner pendant got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 5
Which one of these protocols/abstract base classes does the builtin range object NOT implement?
(Sequence, Iterable, Generator)
generator
@inner pendant got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 4
Which of these characters is valid python outside of string literals in some context?
(@, $, ?)
@
@inner pendant got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 3
Which attribute is the documentation string of a function/method/class stored in (answer should be enclosed in backticks!)?
__doc__
@inner pendant got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 2
What decorator is used to allow a protocol to be checked at runtime?
runtime_checkable
@inner pendant got the correct answer :tada: 100 points!
Let's move to the next question.
Remaining questions: 1
Is everything an instance of the object class (y/n)?
y
@inner pendant got the correct answer :tada: 100 points!
Remaining questions: 0
The round has ended.
@inner pendant Congratulations on winning this quiz game with a grand total of 700 points :tada:
.help
EggDecorating
.eggdecorate [colours...]
Picks a random egg design and decorates it using the given colours.
EggheadQuiz
.eggquiz
Gives a random quiz question, waits 30 seconds and then outputs the answer.
Emojis
.emoji <emoji>
A group of commands related to emojis.
Fun
.caesarcipher
Translates a message using the Caesar Cipher.
.randomcase <text>
Randomly converts the casing of a given text.
.roll [num_rolls=1]
Outputs a number of random dice emotes (up to 6).
.quiz
8
@main scarab got the correct answer :tada: 75 points!
Information
In the Solar system, there are 8 planets: Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus and Neptune. Pluto isn't considered a planet in the Solar System anymore.
Let's move to the next question.
Remaining questions: 6
What is the capital of Iraq?
I dunno
20s left!
I dont know
10s left!
No one answered correctly!
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
When did the Second World War end?
1970
1945
@main scarab got the correct answer :tada: 50 points!
Information
World War 2 ended with the unconditional surrender of the Axis powers. On 8 May 1945, the Allies accepted Germany's surrender, about a week after Adolf Hitler had committed suicide. VE Day โ Victory in Europe celebrates the end of the Second World War on 8 May 1945.
Let's move to the next question.
Remaining questions: 4
In what country is the Ebro river located?
20s left!
spain
@main scarab got the correct answer :tada: 75 points!
Information
The Ebro river is located in Spain. It is 930 kilometers long and it's the second longest river that ends on the Mediterranean Sea.
Let's move to the next question.
Remaining questions: 3
Which is the largest tropical rain forest in the world?
Amazon
@main scarab got the correct answer :tada: 100 points!
Information
The Amazon is regarded as vital in the fight against global warming due to its ability to absorb carbon from the air. It's often referred to as the "lungs of the Earth," as more than 20 per cent of the world's oxygen is produced there.
Let's move to the next question.
Remaining questions: 2
The Valley Of The Kings is located in which country?
20s left!
10s left!
No one answered correctly!
Information
The Valley of the Kings, also known as the Valley of the Gates of the Kings, is a valley in Egypt where, for a period of nearly 500 years from the 16th to 11th century BC, rock cut tombs were excavated for the pharaohs and powerful nobles of the New Kingdom (the Eighteenth to the Twentieth Dynasties of Ancient Egypt).
Let's move to the next question.
Remaining questions: 1
Who lived at 221B, Baker Street, London?
20s left!
10s left!
Sherlock Holmes
@main scarab got the correct answer :tada: 50 points!
Remaining questions: 0
The round has ended.
@main scarab Congratulations on winning this quiz game with a grand total of 350 points :tada:
Your input was invalid: This is not a recognized language on codewars.com!
Usage:```
.challenge [language=python] [query]
.challenge python
Texas Hold'em is a Poker variant in which each player is given two "hole cards". Players then proceed to make a series of bets while five "community cards" are dealt. If there are more than one player remaining when the betting stops, a showdown takes place in which players reveal their cards. Each player makes the best poker hand possible using five of the seven available cards (community cards + the player's hole cards).
Possible hands are, in descending order of value:
- Straight-flush (five consecutive ranks of the same suit). Higher rank is better.
- Four-of-a-kind (four cards with the same rank). Tiebreaker is first the rank, then the rank of the remaining card.
- Full house (three cards with the same rank, two with another). Tiebreaker is first the rank of the three cards, then rank of the pair.
- Flush (five cards of the same suit). Higher ranks are better, compared from high to low rank.
- Straight (five consecutive ranks). Higher rank is better.... continue reading
3 kyu
(3, 4, 11) - minaboo แแแข
(0, 1, 10) - minaboo แแแข
(4, 7, 9) - minaboo แแแข
Flights everyone missed:
(0, 2, 4)
(3, 6, 8)
(1, 8, 9)
Each card has 4 features
Color, Number, Hat, and Accessory
A valid flight
3 cards where each feature is either all the same or all different
Call "GOOSE"
if you think there are no more flights
+1 for each valid flight
+2 for a correct "GOOSE" call
-1 for any wrong answer
The first flight below is invalid: the first card has swords while the other two have no accessory. It would be valid if the first card was empty-handed, or one of the other two had paintbrushes.
The second flight is valid because there are no 2:1 splits; each feature is either all the same or all different.
4 7 9
Final scores:
minaboo แแแข: 3
.dddg
(3, 4, 6) - minaboo แแแข
(0, 2, 11) - minaboo แแแข
(2, 8, 10) - gilly
(1, 2, 5) - minaboo แแแข
(1, 6, 10) - minaboo แแแข
All the flights were found!
Final scores:
minaboo แแแข: 4
gilly: 0
.dddg
(0, 5, 7) - minaboo แแแข
Flights everyone missed:
(1, 5, 11)
(0, 3, 9)
@vocal tendon @jaunty elbow @wise junco
3 6 11
0 5 7
1 11 9
.help txt what's this
oooo play with us
.txt testing
.help ddg
**```
.duckduckduckgoose
**Can also use:** `dddg`, `ddg`, `duckduckgoose`, `duckgoose`
*Start a new Duck Duck Duck Goose game.*
**Subcommands:**
**`help `**
*Explain the rules of the game.*
.ttt testing
.ddg help
Each card has 4 features
Color, Number, Hat, and Accessory
A valid flight
3 cards where each feature is either all the same or all different
Call "GOOSE"
if you think there are no more flights
+1 for each valid flight
+2 for a correct "GOOSE" call
-1 for any wrong answer
The first flight below is invalid: the first card has swords while the other two have no accessory. It would be valid if the first card was empty-handed, or one of the other two had paintbrushes.
The second flight is valid because there are no 2:1 splits; each feature is either all the same or all different.
Final scores:
minaboo แแแข: 1
gilly: -2
:tada: @wicked parrot won this game! :tada:
.dddg
(0, 4, 10) - minaboo แแแข
(3, 6, 11) - minaboo แแแข
(6, 7, 10) - Scoff'O'Law
(5, 9, 10) - minaboo แแแข
(2, 7, 8) - minaboo แแแข
Flights everyone missed:
(3, 4, 8)
(0, 2, 11)
6 7 10
5 9 10
8 6 11
2 7 8
5 9 10
.candy
๐ฅ @wise junco: 72
๐ฅ @royal sinew: 56
๐ฅ @past remnant: 45
๐
@viscid python: 23
๐
@outer barn: 18
Candies will randomly appear on messages sent.
Hit the candy when it appears as fast as possible to get the candy!
But beware the ghosts...
6 1 7
0 11 1
goose
Final scores:
minaboo แแแข: 3
Scoff'O'Law: 1
dawnaboo แแแข: -2
gilly: -2
.dddg
(0, 5, 6) - minaboo แแแข
(1, 4, 6) - gilly
(2, 3, 7) - minaboo แแแข
Flights everyone missed:
(0, 9, 10)
1 0 10
0 5 6
2 4 9
9 5 6
9 6 10
9 4 6
2 3 7
How does this work?
oh oh oh play with us
.ddg help
Each card has 4 features
Color, Number, Hat, and Accessory
A valid flight
3 cards where each feature is either all the same or all different
Call "GOOSE"
if you think there are no more flights
+1 for each valid flight
+2 for a correct "GOOSE" call
-1 for any wrong answer
The first flight below is invalid: the first card has swords while the other two have no accessory. It would be valid if the first card was empty-handed, or one of the other two had paintbrushes.
The second flight is valid because there are no 2:1 splits; each feature is either all the same or all different.
.ddg help
Each card has 4 features
Color, Number, Hat, and Accessory
A valid flight
3 cards where each feature is either all the same or all different
Call "GOOSE"
if you think there are no more flights
+1 for each valid flight
+2 for a correct "GOOSE" call
-1 for any wrong answer
The first flight below is invalid: the first card has swords while the other two have no accessory. It would be valid if the first card was empty-handed, or one of the other two had paintbrushes.
The second flight is valid because there are no 2:1 splits; each feature is either all the same or all different.
oops
Final scores:
minaboo แแแข: 1
dawnaboo แแแข: -3
gilly: -5
.ddg
(0, 3, 4) - minaboo แแแข
(7, 10, 11) - minaboo แแแข
(3, 6, 7) - minaboo แแแข
Flights everyone missed:
(8, 9, 11)
(2, 6, 11)
(0, 7, 8)
huhhhh
0 3 4
OHHHH
LOL
2 5 10
I've been looking for flights where every feature is the same or every feature is different ๐คฆโโ๏ธ
1 5 11
0 5 8
3 4 7
wait that's correct tho
7 10 11
3 4 10
3 6 7
2 11 5
Final scores:
minaboo แแแข: 2
dawnaboo แแแข: -1
gilly: -1
Sn4u: -3
(2, 4, 6) - gilly
(1, 5, 9) - minaboo แแแข
(4, 8, 10) - minaboo แแแข
(3, 4, 11) - minaboo แแแข
Flights everyone missed:
(6, 8, 11)
(2, 3, 10)
2 4 6
0 1 9
2 9 4
1 5 9
3 5 8
4 2 5
4 0 3
4 8 10
6 9 4
4 7 11
4 2 1
4 0 3
3 4 11
6 0 3
6 4 2
2 4 6
0 10 11
goose
Final scores:
minaboo แแแข: 2
dawnaboo แแแข: -2
Sn4u: -2
gilly: -3
Breadโข: -5
-5 ๐ณ
.dddg
(1, 7, 8) - dawnaboo แแแข
(6, 10, 11) - Sn4u
(0, 7, 9) - minaboo แแแข
(0, 1, 3) - Scoff'O'Law
Flights everyone missed:
(1, 5, 10)
3 7 6
4 9 3
6 10 11
0 7 9
how does this work ๐ณ
Lmao I finally got one
@nova radish
0 11 7
ohhhhhh
0 1 3
3 9 11
11 9 3
10 9 8
Final scores:
minaboo แแแข: 1
Scoff'O'Law: 1
Sn4u: 0
dawnaboo แแแข: -1
Breadโข: -2
gilly: -2
0 1 3
.dddg
(3, 4, 8) - Sn4u
(1, 6, 9) - minaboo แแแข
(0, 2, 7) - minaboo แแแข
(5, 7, 10) - minaboo แแแข
(2, 5, 9) - Scoff'O'Law
All the flights were found!
1 2 10
0 3 1
4 6 2
5 7 10
4 8 3
9 0 1
4 5 10
0 11 5
5 8 1
2 5 9
5 10 7
1 7 11
Final scores:
minaboo แแแข: 3
Scoff'O'Law: 0
Breadโข: -2
Sn4u: -3
gilly: -3
(3, 5, 11) - minaboo แแแข
(0, 4, 7) - Scoff'O'Law
(2, 4, 8) - Scoff'O'Law
(1, 2, 6) - Scoff'O'Law
Flights everyone missed:
(0, 5, 8)
3 5 11
2 4 8
10 11 0
4 8 2
1 11 8
goose
1 6 5
Final scores:
Scoff'O'Law: 3
minaboo แแแข: 0
gilly: -3
(1, 3, 7) - minaboo แแแข
(0, 2, 8) - Scoff'O'Law
(2, 6, 9) - gilly
(7, 9, 11) - Scoff'O'Law
(2, 10, 11) - Scoff'O'Law
All the flights were found!
1 3 7
0 8 2
9 2 6
6 9 5
9 7 11
6 9 2
2ffoggoglltly
2 10 11
3 4 7
Final scores:
minaboo แแแข: 3
Scoff'O'Law: 3
gilly: 1
Sn4u: -2
oooo
3 7 1
daaaaaang
Ayayay
.dddg
(1, 5, 7) - ./hedy
(1, 2, 9) - ./hedy
Flights everyone missed:
(1, 3, 6)
(0, 4, 5)
(1, 4, 8)
0 2 11
1 5 7
.help
AvatarModify
.mosaic [squares=16]
Splits your avatar into x squares, randomizes them and stitches them back into a new image!
.prideavatar [option=lgbt] [pixels=64]
This surrounds an avatar with a border of a specified LGBT flag.
.reverse <text>
Reverses the sent text.
.spookyavatar
Spookify an user's avatar.
Battleship
.battleship
Play a game of Battleship with someone else!
BeMyValentine
.bemyvalentine <user> [valentine_type]
Send a valentine to a specified user with the lovefest role.
Bookmark
.bookmark <target_message> [title=Bookmark]
Send the author a link to target_message via DMs.
.battleship
1 3 9
@open aspen Game cancelled.
.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.
1 2 9
Final scores:
./hedy: 0
Frontogenesis.แแแข(): -2
.help duckduckduckgoose
**```
.duckduckduckgoose
**Can also use:** `dddg`, `ddg`, `duckduckgoose`, `duckgoose`
*Start a new Duck Duck Duck Goose game.*
**Subcommands:**
**`help `**
*Explain the rules of the game.*
1 4 8
.dddg help
Each card has 4 features
Color, Number, Hat, and Accessory
A valid flight
3 cards where each feature is either all the same or all different
Call "GOOSE"
if you think there are no more flights
+1 for each valid flight
+2 for a correct "GOOSE" call
-1 for any wrong answer
The first flight below is invalid: the first card has swords while the other two have no accessory. It would be valid if the first card was empty-handed, or one of the other two had paintbrushes.
The second flight is valid because there are no 2:1 splits; each feature is either all the same or all different.
.dddg @royal sinew
(2, 6, 7) - minaboo แแแข
(3, 5, 11) - minaboo แแแข
(4, 6, 10) - minaboo แแแข
(1, 3, 7) - Mathman2028
All the flights were found!
i need to go sorryyy
1 2 10
4 6 10
6 9 10
goose
3 1 7
Final scores:
minaboo แแแข: 2
Mathman2028: -1
(0, 2, 7) - minaboo แแแข
(1, 2, 9) - Mathman2028
(1, 8, 11) - minaboo แแแข
(5, 7, 10) - Mathman2028
(3, 5, 11) - minaboo แแแข
(0, 6, 9) - Frontogenesis.แแแข()
Flights everyone missed:
(4, 8, 10)
0 2 7
1 2 9
1 8 11
5 7 10
3 5 11
6 0 9
goose
lol

11 7 5
2 4 11
Given two arrays a and b write a function comp(a, b) (orcompSame(a, b)) that checks whether the two arrays have the "same" elements, with the same multiplicities. "Same" means, here, that the elements in b are the elements in a squared, regardless of the order.
Examples
Valid arrays
a = [121, 144, 19, 161, 19, 144, 19, 11]
b = [121, 14641, 20736, 361, 25921, 361, 20736, 361]
comp(a, b) returns true because in b 121 is the square of 11, 14641 is the square of 121, 20736 the square of 144, 361 the square of 19, 25921 the square of 161, and so on. It gets obvious if we write b's elements in terms of squares:
a = [121, 144, 19, 161, 19, 144, 19, 11]
b = [11*11, 121*121, 144*144, 19*19, 161*161, 19*19, 144*144, 19*19]
Invalid arrays
If, for example, we change the first number to something else, comp may not return true anymore:
a = [121, 144, 19, 161, 19, 144, 19, 11]
b = [132, 14641, 20736, 361, 25921, 361, 20736, 361]
```... [continue reading](https://codewars.com/kata/550498447451fbbd7600041c)
6 kyu
0 6 9
already got that one))
nice
c'mon i'm waiting to goose lol
Final scores:
minaboo แแแข: 2
Mathman2028: 1
Frontogenesis.แแแข(): -2
(0, 1, 8) - Frontogenesis.แแแข()
(1, 3, 6) - minaboo แแแข
(1, 9, 11) - Mathman2028
(2, 3, 5) - minaboo แแแข
(0, 4, 6) - minaboo แแแข
(3, 4, 10) - Mathman2028
(0, 5, 7) - minaboo แแแข
Flights everyone missed:
(6, 8, 10)
5 3 4
11 9 1
ughhh
2 3 5
2 4 11
๐ฅ @wise junco: 72
๐ฅ @royal sinew: 56
๐ฅ @past remnant: 54
๐
@viscid python: 23
๐
@outer barn: 18
Candies will randomly appear on messages sent.
Hit the candy when it appears as fast as possible to get the candy!
But beware the ghosts...
0 4 6
.candy @spring tapir
๐ฅ @wise junco: 72
๐ฅ @royal sinew: 56
๐ฅ @past remnant: 55
๐
@viscid python: 23
๐
@outer barn: 18
Candies will randomly appear on messages sent.
Hit the candy when it appears as fast as possible to get the candy!
But beware the ghosts...
3 4 10
Final scores:
minaboo แแแข: 2
Mathman2028: 1
Frontogenesis.แแแข(): -4
4 6 8
(3, 4, 11) - minaboo แแแข
(2, 3, 7) - Mathman2028
(1, 8, 11) - minaboo แแแข
(7, 9, 11) - minaboo แแแข
(0, 2, 4) - minaboo แแแข
(1, 6, 9) - minaboo แแแข
Flights everyone missed:
(0, 3, 9)
3 4 11
2 3 7
1 8 11
7 9 11
0 2 4
1 6 9
why did ๐ฌ appear
goose
๐ฌ
๐ฅ @wise junco: 72
๐ฅ @past remnant: 56
๐ฅ @royal sinew: 56
๐
@viscid python: 23
๐
@outer barn: 18
Candies will randomly appear on messages sent.
Hit the candy when it appears as fast as possible to get the candy!
But beware the ghosts...
