#voice-chat-text-0

1 messages ยท Page 767 of 1

whole bear
#

if you want to intern find a major comp to intern for

#

or something

unborn storm
#

what means "intern" ?

runic forum
#

so what he's coding right now?

unborn storm
#

ohhh thanks ok i see

rugged root
whole bear
#

Any starter project recommendations for a starter vs coder?

unborn storm
#

the new "cat" OS for music XD

rugged root
#

!projects

wise cargoBOT
#

Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

swift valley
#

!kindling See this page

#

Jinx

whole bear
#

thanks

#

hello world

unborn storm
#

code a game of life

#

(depends on how begginer you are)

whole bear
#

Ill put that on the list for sure

unborn storm
#

if you know it, you can use OOP for that

swift valley
#

I can't think of anything else to do with FP

unborn storm
#

i have a one-liner

swift valley
#

Kinda just waiting on upstream because of a new compiler release

unborn storm
#

that runs it with matplotlib

#

yeees the google game of life ^^

#

funny

#

langton ant

#

funny one also

#

it is a bit simpler

#

and also proved to be universal with some conditions

#

this runs the game of life :

(lambda N, P: (lambda f, i: P.show(__import__('matplotlib.animation', fromlist=['FuncAnimation']).FuncAnimation(f, lambda i: [i.set_array((lambda g:(lambda n:N.logical_or(n == 3, N.logical_and(g, n == 2)))((N.sum([N.roll(N.roll(g, y, 1), x, 0)for x in(-1, 0, 1)for y in(-1, 0, 1)if x | y], 0))))(i.get_array())), [i]][1], interval=0, blit=1)))(P.figure(), P.imshow(N.random.rand(200, 400) < .2,)))(__import__("numpy"), __import__("matplotlib.pyplot"))
#

one line ^^

uncut meteor
#

i see 4 lines

pine ledge
#

I have to complete 50

unborn storm
#

and it is graphical

unborn storm
#

you can join them

#

yes

#

it is a "no player game"

#

what is cool is that we have better things than neural networks

#

we have algorithms that find patterns from properties

pine ledge
#

What is this server

#

I am new to discord

runic forum
uncut meteor
#

Watz A Pythang?

pine ledge
#

I see. I am pretty new to discord.i see sentdex in the list

#

I've seen his videos on YouTube

unborn storm
#

did you heard about metacells ?

#

the cells of the game of life made with hundreds of game of life cells

#

exactly what you said : game of life in the game of life

pine ledge
#

What happens in a game of Life

#

You die

unborn storm
#

it is a simulation of a world with veeery simple rules

pine ledge
#

Yes like when you don't have people around

unborn storm
#

the universe of the GOL (game of life) is a grid

#

ohhh yes

#

you die

#

the rules are :

  • 0 or 1 neighbours : you die
  • 2 neighbours : you stay as you are
  • 3 neighbours : you begin alive (birth or stay)
  • more than 3 : you die
#

because buddhu asked for it

pine ledge
#

Yes I have seen few videos on YouTube

whole bear
unborn storm
#

the only thing i know about the board game of life is because i put it at the beginning of my presentations aboug conway's one

pine ledge
#

I wish to talk

vivid palm
#

you'll be able to use voice once you meet the requirements ๐Ÿ™‚ it's worth the wait

unborn storm
#

it is quite short to meet them

vivid palm
#

hii gilly

pine ledge
#

..

glad spade
#

...

pale marsh
#

....

glad spade
#

should we stop?

pale marsh
#

probably

glad spade
#

understanable have a great day

pale marsh
#

*understandable

glad spade
#

if you understand it thats ok with me

olive hedge
pine ledge
#

What's this timer

restive geyser
#

that count down is giving me anxiety

flat sentinel
#

oh

rugged root
#

This is why I don't let emoji auto animate

restive geyser
#

LMFAO

pine ledge
#

What project should I do to get a job

pale marsh
#

you could probably abuse auto animate emoji if you put enough effort into it

rugged root
#

Let's not give ideas

#

Please

whole bear
flat sentinel
#

lol

restive geyser
#

i love him

uncut meteor
#

who be that boy?

restive geyser
#

u gon' learn today

glad spade
pale marsh
#

hes like a parody writer

#

that writes parody songs

glad spade
#

Its 1 hr long!!!!

pine ledge
#

:)

restive geyser
#

lol

pine ledge
#

Can I call anyone

restive geyser
#

no

glad spade
warped saffron
#

Hey, do any of you know any good antispam bots?

glad spade
warped saffron
#

There's a random bot spamming virus links in another server

warped saffron
#

no

rugged root
#

I mean our antispam

#

!source antispam

wise cargoBOT
#
Bad argument

Unable to convert 'antispam' to valid command, tag, or Cog.

#
Command Help

!source [source_item]
Can also use: src

Display information and a GitHub link to the source code of a command, tag, or cog.

rugged root
#

Oh for

warped saffron
#

It's for another server

rugged root
#

Oh you specifically need one now gotcha

tall latch
#

hello

warped saffron
#

Wow, it's already spammed 180 messages in a couple minutes

glad spade
#

i think

warped saffron
#

What?

glad spade
honest token
#

What project management system you using for issues?

glad spade
#

well i have a question

#

is Open cv better in C++ or Python?

#

because its giving me errors in python

paper tendon
#

hesuse

#

๐Ÿ™‚

pine ledge
#

I think I completed 50

#

And but 3 day is still left

#

1 day and 2 half hours only?

glad spade
#

i think you need to be online?

#

ok

#

@rugged root ok

rugged root
#

#bot-commands !user

glad spade
#

flattery

restive geyser
#

it's not always about you @rugged root lol

pine ledge
#

#bot-commands !Mr. Hemlock

honest token
#

#bot-commands !FunckyFizz

restive geyser
#

that's why there's modmail

uncut meteor
#

#butt-commands

glad spade
#

!user

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

honest token
#

Ah

glad spade
#

ohk i got it i need this command to run in bot-command channel

rugged root
#

!user

wise cargoBOT
#
Mr. Hemlock#2740

hypesquad_balance early_supporter

User information

Created: 5 years, 4 months and 28 days ago
Profile: @rugged root
ID: 98195144192331776

Member information

Joined: 2 years, 9 months and 23 days ago
Roles: <@&542431903886606399>, <@&463658397560995840>, <@&764802720779337729>, <@&295488872404484098>, <@&267630620367257601>, <@&797891034906099752>, <@&587606783669829632>, <@&277914926603829249>, <@&267629731250176001>, <@&807415650778742785>, <@&267628507062992896>

Infractions

Total: 13
Active: 2

pine ledge
#

Noted

glad spade
#

sorry i am noob lmao

pine ledge
#

Bored

runic forum
#

okay guys, I finally have the privileges to speak on VC. ill talk to you tomorrow!

pine ledge
#

Why not today

runic forum
#

im currently busy on something

pine ledge
#

How do you play

glad spade
#

ok sorry

honest token
#

What was that?

uncut meteor
#

FunckyFizzBuzz

glad spade
#

@rugged root told me it is not okay, listen to the moderator guys

whole bear
#

bruh

uncut meteor
#

I saw Madhav vent

#

can we vote him out

#

he sus

warped saffron
#

Yeah, I just implemented an anti-spam bot

whole bear
#

griff is looking really sus

warped saffron
#

It didn't do anything

restive geyser
#

@uncut meteor call an emergency meeting

warped saffron
#

idk

glad spade
paper tendon
#

Bruh

#

griff sus

warped saffron
#

No, there's a bot in a mutual server

#

And it's spamming virus links

glad spade
#

@warped saffron S A R C A S M

paper tendon
#

surprise mothe**uckr

warped saffron
#

dunno what to do

warped saffron
pine ledge
#

What's fizzbuzz

warped saffron
#

I just need to know how to fix it

uncut meteor
#

its a flavour of soda

paper tendon
#

3 5 15

#

๐Ÿ™‚

olive hedge
#

!e

def fizz(num: int):
    return "fizz" if not num % 3 else ""

def buzz(num: int):
    return "buzz" if not num % 5 else ""

for each in range(1, 1):
    print(f"{fizz(each)}{buzz(each)}" or each)
wise cargoBOT
#

@olive hedge :white_check_mark: Your eval job has completed with return code 0.

001 | fizzbuzz
002 | 1
003 | 2
004 | fizz
005 | 4
006 | buzz
007 | fizz
008 | 7
009 | 8
010 | fizz
011 | buzz
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/wafayuzulo.txt

restive geyser
#

well, you should just have good problem solving skills

glad spade
restive geyser
#

it's like common sense

paper tendon
#

its if elif else

uncut meteor
#

!e

from typing import List, Union


def fizz_buzzer(n: int, first_divisor: int = 3, second_divisor: int = 5) -> List[Union[str, int]]:
    return [
        [
            num,
            [
                "Fizz",
                [
                    "Buzz",
                    "FizzBuzz"
                ]
                [
                    num%first_divisor==0
                    ]
            ]
            [
                num%second_divisor==0
                ]
        ]
        [
            not
            num%first_divisor
            or
            not
            num%second_divisor
            ]
        for
        num
        in
        range
        (1,n)
    ]


print(fizz_buzzer(20))
wise cargoBOT
#

@uncut meteor :white_check_mark: Your eval job has completed with return code 0.

[1, 2, 'Fizz', 4, 'Buzz', 'Fizz', 7, 8, 'Fizz', 'Buzz', 11, 'Fizz', 13, 14, 'FizzBuzz', 16, 17, 'Fizz', 19]
honest token
#

Is there any majours that do focus on code?

restive geyser
#

ow.

whole bear
#

!e ```python
for fizzbuzz in range(51):
if fizzbuzz % 3 == 0 and fizzbuzz % 5 == 0:
print("fizzbuzz")
continue
elif fizzbuzz % 3 == 0:
print("fizz")
continue
elif fizzbuzz % 5 == 0:
print("buzz")
continue
print(fizzbuzz)

wise cargoBOT
#

@whole bear :white_check_mark: Your eval job has completed with return code 0.

001 | fizzbuzz
002 | 1
003 | 2
004 | fizz
005 | 4
006 | buzz
007 | fizz
008 | 7
009 | 8
010 | fizz
011 | buzz
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/azoxabohew.txt

glad spade
#

!e print("hello world")

wise cargoBOT
#

@glad spade :white_check_mark: Your eval job has completed with return code 0.

hello world
restive geyser
#

yup. math.

paper tendon
#

!e for fizzbuzz in range(1,51,1):
if fizzbuzz % 3 == 0 and fizzbuzz % 5 == 0:
print("fizzbuzz")
continue
elif fizzbuzz % 3 == 0:
print("fizz")
continue
elif fizzbuzz % 5 == 0:
print("buzz")
continue
print(fizzbuzz)

wise cargoBOT
#

@paper tendon :white_check_mark: Your eval job has completed with return code 0.

001 | 1
002 | 2
003 | fizz
004 | 4
005 | buzz
006 | fizz
007 | 7
008 | 8
009 | fizz
010 | buzz
011 | 11
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/xamoyowini.txt

restive geyser
#

no

#

lmao

uncut meteor
#

!e

for(i)in range(1,101):print(["FizzBuzz",["Fizz",["Buzz",i][i%3!=0]][i%5!=0]][i%15!=0])
wise cargoBOT
#

@uncut meteor :white_check_mark: Your eval job has completed with return code 0.

001 | 1
002 | 2
003 | Buzz
004 | 4
005 | Fizz
006 | Buzz
007 | 7
008 | 8
009 | Buzz
010 | Fizz
011 | 11
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/lujikocaje.txt

glad spade
#

what is a fizzbuzz?

paper tendon
#

!e for fizzbuzz in range(15, 51, 1):
if fizzbuzz % 3 == 0 and fizzbuzz % 5 == 0:
print("fizzbuzz")
continue
elif fizzbuzz % 3 == 0:
print("fizz")
continue
elif fizzbuzz % 5 == 0:
print("buzz")
continue
print(fizzbuzz)

wise cargoBOT
#

@paper tendon :white_check_mark: Your eval job has completed with return code 0.

001 | fizzbuzz
002 | 16
003 | 17
004 | fizz
005 | 19
006 | buzz
007 | fizz
008 | 22
009 | 23
010 | fizz
011 | buzz
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/ocilisajej.txt

restive geyser
#

Fizz buzz is a group word game for children to teach them about division. Players take turns to count incrementally, replacing any number divisible by three with the word "fizz", and any number divisible by five with the word "buzz".

rugged root
#

@feral willow You'll want to ask in here rather than in python general

glad spade
#

ok, i have a lot to learn๐Ÿ˜…

uncut meteor
#
def sleep(seconds: float):
    import random
    file_name = str(random.random())
    try:
        random._os.mkdir(file_name)
    except:
        ...

    cur_time = lambda: random._os.path.getatime(file_name)
    update_time = lambda: random._os.rmdir(file_name) == random._os.mkdir(file_name)

    start = cur_time()
    while cur_time() < start + seconds:
        update_time()

    try:
        random._os.rmdir(file_name)
    except:
        ...

    return

print("Y")
sleep(5)
print("A")
pine ledge
#

How do you code here

whole bear
#

!e python for i in range(100):print(i%3//2*"Fizz"+i%5//4*"Buzz"or-~i)

rugged root
#

As in the code blocks?

wise cargoBOT
#

@whole bear :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     python for i in range(100):print(i%3//2*"Fizz"+i%5//4*"Buzz"or-~i)
003 |            ^
004 | SyntaxError: invalid syntax
glad spade
#

use !e

rugged root
#

Or if you mean the code blocks:

#

!code

wise cargoBOT
#

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

glad spade
uncut meteor
#

feel free to try and do better

feral willow
glad spade
#

!e def sleep():

wise cargoBOT
#

@glad spade :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     def sleep():
003 |                 ^
004 | IndentationError: expected an indented block
whole bear
#

!e ```python
for i in range(100):print(i%3//2*"Fizz"+i%5//4*"Buzz"or-~i)

wise cargoBOT
#

@whole bear :white_check_mark: Your eval job has completed with return code 0.

001 | 1
002 | 2
003 | Fizz
004 | 4
005 | Buzz
006 | Fizz
007 | 7
008 | 8
009 | Fizz
010 | Buzz
011 | 11
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/uzusuxexex.txt

#
Did you mean ...

mutable-default-args
defaultdict

honest token
#

I don't understand why if_name needed the continue command?

olive hedge
#

@runic forum can you mute mic? background noise

pine ledge
#

!e import random random.rand(range(2,7))

wise cargoBOT
#

@pine ledge :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     import random random.rand(range(2,7))
003 |                   ^
004 | SyntaxError: invalid syntax
glad spade
#

@warped saffron you can live stream?

#

ohk

runic forum
restive geyser
#

or even a list

#

lmao

olive hedge
#

no worries

pine ledge
#

Bst

#

Tree

#

Bfs

#

Dfs

#

Heap

#

Heappify

glad spade
honest token
#

Uuugggg linked list caused me such a problem until I realised they were causing me a problem and I found deep copy

glad spade
#

@uncut meteor can we crash the server by Infinite While loop?

pine ledge
#

Recursion

#

8 Queens problem

uncut meteor
glad spade
olive hedge
pine ledge
#

I am not able to write code

glad spade
olive hedge
#

!e

print(0 is False)
print(0 == False)
wise cargoBOT
#

@olive hedge :white_check_mark: Your eval job has completed with return code 0.

001 | <string>:1: SyntaxWarning: "is" with a literal. Did you mean "=="?
002 | False
003 | True
whole bear
#

!e ```python
for i in range(1,101):print("Fizz"(i%3<1)+(i%5<1)"Buzz" or i)

wise cargoBOT
#

@whole bear :white_check_mark: Your eval job has completed with return code 0.

001 | 1
002 | 2
003 | Fizz
004 | 4
005 | Buzz
006 | Fizz
007 | 7
008 | 8
009 | Fizz
010 | Buzz
011 | 11
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/aboboxufot.txt

olive hedge
glad spade
#

@uncut meteor ohk

pine ledge
#

!e
import random
rand(0,1)?'fizz':'buzz'

wise cargoBOT
#

@pine ledge :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 2
002 |     rand(0,1)?'fizz':'buzz'
003 |              ^
004 | SyntaxError: invalid syntax
pine ledge
#

I suck at it

glad spade
#

bruh

pine ledge
#

Random.rand

#

What should I learn

glad spade
pine ledge
#

I know little python

glad spade
pine ledge
#

The last thing I was reading documents of python because I failed python online test :(

glad spade
#

I know the basic for loops and iterations and after that i started making projects in open cv

#

of facial detextion

pine ledge
#

It was for job

glad spade
#

and i completed sentdex GTA 5 neural network series

pine ledge
#

There was like code and out put mcqs

whole bear
#

!e ```python
def fizzBuzz(argument):
switcher = {
1: "1",
2: "2",
3: "Fizz",
4: "4",
5: "Buzz",
6: "Fizz",
7: "7",
8: "8",
9: "Fizz",
10: "Buzz",
11: "11",
12: "Fizz",
13: "13",
14: "14",
15: "FizzBuzz"
}
print (switcher.get(argument, "Invalid Number"))

fizzBuzz(10)

wise cargoBOT
#

@whole bear :white_check_mark: Your eval job has completed with return code 0.

Buzz
glad spade
#

!e for num in range(1, 69):
if num % 3 is 0:
print("Fizz")
print(num)

wise cargoBOT
#

@glad spade :white_check_mark: Your eval job has completed with return code 0.

001 | <string>:2: SyntaxWarning: "is" with a literal. Did you mean "=="?
002 | 1
003 | 2
004 | Fizz
005 | 3
006 | 4
007 | 5
008 | Fizz
009 | 6
010 | 7
011 | 8
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/ibekoyoduv.txt

honest token
#

!e

for i in range(50):
    if i % 3 == 0 and i % 5 == 0:
        print('fizzbuzz')
    else:
        if i % 3 == 0:
            print('fizz')
        else:
            if i % 5 == 0:
                print('buzz')
            else:
                print(i)
wise cargoBOT
#

@honest token :white_check_mark: Your eval job has completed with return code 0.

001 | fizzbuzz
002 | 1
003 | 2
004 | fizz
005 | 4
006 | buzz
007 | fizz
008 | 7
009 | 8
010 | fizz
011 | buzz
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/qinizicega.txt

glad spade
whole bear
#

wym mines better

honest token
#

That was my first fizzbuzz program and it was written on a smartphone in Discord

glad spade
coarse bramble
#

since 2019

honest token
#

From a theory standpoint I'm a beginner but I've been using it in my work for around 2 years

pine ledge
#

!e
def Val(v):
return repr(v)
Val('cd')
Val(4)

#

!e
def Val(v):
return repr(v)
Val('cd')
Val(4)

glad spade
#

hey just a quick ques, who can stream on this channel?

#

bcz i cant share screen

pine ledge
#

!e
def Val(v):
return repr(v)
Val('cd')
Val(4)

#

Damn

#

It doesn't edit code

#

Are you all teen-agers

glad spade
#

so as this discord server is full of great python programmers, and that makes me question my life choices, will i ever get a girlfriend

glad spade
#

17

pine ledge
#

Ok baby

glad spade
#

how old are you?

pine ledge
#

Way too old

rugged root
#

Debatable

glad spade
rugged root
#

Let's just not bother flexing for the sake of acting "big"

#

No one cares

#

Enjoy the server, don't bicker

glad spade
rugged root
#

Not here you don't

glad spade
#

ok lets not talk about depression๐Ÿ™

glad spade
rugged root
glad spade
#

sorry i will shut up๐Ÿ™

rugged root
#

For context I'm 31, so I've been dealing with it quite a long time

glad spade
rugged root
#

Then have fun, ask questions, etc.

glad spade
#

so I see guys like you as inspiring

rugged root
#

I'm glad! And you'll get there if you keep working at it

glad spade
olive hedge
rugged root
#

Our Rob or Ross (Red Dwarf reference)

pine ledge
#

I am a cave person

uncut meteor
#

|

glad spade
olive hedge
#

||snek||

rugged root
#

She shedding?

glad spade
uncut meteor
rugged root
#

Never seen them with that kind of coloring before

pine ledge
#

Is that real one?

glad spade
vivid palm
#

i love how pets take over owners' keyboards

rugged root
#

It's where the love is

vivid palm
#

they probably think

olive hedge
rugged root
vivid palm
#

owner is petting keyboard

#

i want

rugged root
#

Oh dope

pine ledge
#

Ita so scary

uncut meteor
#

The Hoop Snake is a legendary creature of the United States, Canada, and Australia. It appears in the Pecos Bill stories; although his description of hoop snakes is the one with which people are most familiar, stories of the creature predate those fictional tales considerably. Several sightings of the hoop snake have been alleged along the Minne...

glad spade
#

@olive hedge do they do something to take their venom out?

rugged root
#

It's a constrictor

#

Doesn't have venom

glad spade
#

@olive hedge ohk

#

@olive hedge do they shed scales?

uncut meteor
glad spade
#

@olive hedge i dont know why but my mind is like, if I am ever gonna own a snake i will train it to choke others to death

uncut meteor
#

its got a booper

#

c:

pine ledge
#

Griff hey

uncut meteor
glad spade
pine ledge
#

Do I know you Griff

uncut meteor
#

sure

pine ledge
#

How

uncut meteor
#

idk

pine ledge
#

Then I don't

uncut meteor
#

ok

wise cargoBOT
#

Hey @glad spade!

It looks like you tried to attach file type(s) that we do not allow (.jfif). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .webm, .webp, .flac, .afdesign, .m4a, .csv.

Feel free to ask in #community-meta if you think this is a mistake.

uncut meteor
#

no Gifs Jiffs or Griffs allowed

glad spade
#

ohk

#

i tried my best

glad spade
#

well there are snakes that fly

#

and they live near water

terse needle
pale marsh
#

I forget what species that is

uncut meteor
terse needle
#

so cute

pine ledge
#

None calls me

glad spade
#

@olive hedge canada needs a hero it deserves

pale marsh
#

USA Junior needs a hero it deserves

glad spade
#

they dont need any hero

#

you got the whole Avenger squad

feral willow
glad spade
#

why should you not judge a book by its cover, If you can write good just spend some more time and make the cover good

#

i am judging books by its cover

coarse bramble
pine ledge
#

Looking for a date

glad spade
#

its 27th feb here

coarse bramble
#

wrong channel?

glad spade
#

what?

#

@olive hedge you are a teacher too?

#

@olive hedge i sleep in my online class, just saying

rugged root
#

I've failed essentially every online course I've taken

pine ledge
#

Are there any dating servers

rugged root
#

I just don't have the discipline for it.

rugged root
glad spade
#

its available on youtube

#

and github

rugged root
#

And if you end up harassing our users asking them for dates, you will be banned

pine ledge
#

I did actually

#

They did ban

#

Me

rugged root
#

Oh, so ban evasion?

glad spade
rugged root
#

It kind of does, actually

pine ledge
#

No I am not able to message the person

rugged root
#

Ah, that's blocking

glad spade
#

lmao

#

@rugged root can i say the word?

tall latch
#

@pine ledge there is vsinder an extension for vscode

rugged root
#

"The word"?

glad spade
#

am i allowed? if not i will delete it

tall latch
#

@glad spade hey where you live

rugged root
#

Is it an offensive word?

glad spade
#

idk

rugged root
#

I mean the rule of thumb is, if you have to ask, you probably shouldn't

glad spade
tall latch
#

i need your exact co ordinate

glad spade
#

its easy that way

flat sentinel
glad spade
tall latch
rugged root
#

Really

#

Did you really just ask that

#

You should know better, Fab

glad spade
#

@rugged root isnt that illegal?

flat sentinel
#

that is tos

rugged root
#

Not illegal, but highly inappropriate

glad spade
#

yeah he can ddos my router

olive hedge
#

!warn 98195144192331776 Ily and you are a great mod

flat sentinel
#

lol

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied warning to @rugged root.

flat sentinel
#

what the fuck

#

why was that there

glad spade
#

!warn

pine ledge
#

What's happening

glad spade
tall latch
#

what

#

a mod warning an admin

rugged root
#

For giggles

tall latch
#

@rugged root play the reverse card

flat sentinel
#

yes

rugged root
#

Nah

nocturne junco
#

plz unmute

olive hedge
#

โค๏ธ

nocturne junco
#

i have questions

#

plz

rugged root
#

What's your question?

nocturne junco
#

fuckk u

glad spade
#

@rugged root do admins have power to unmute before 3 day

whole bear
#

Thats mean

flat sentinel
#

form now on i have the discord tos when im in a vc in here

olive hedge
#

!ban 776371199483183104 do not speak that way to anyone, let alone staff, goodbye

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied ban to @nocturne junco permanently.

pine ledge
#

:)

glad spade
#

be respectable

pine ledge
#

Kids being kids

restive geyser
#

nah that's just plain disrespectful

tall latch
#

good thing im a teen

#

or i will get banned

glad spade
#

i feel like its flaterry

#

lmao

tall latch
#

about 34 hours till my bday

flat sentinel
#

nice

glad spade
#

@tall latch happy bday in advanced

flat sentinel
#

get old

pine ledge
#

Happy birthday

glad spade
#

what is impostor syndrome

flat sentinel
#

sus

glad spade
#

i heard so much about it

tall latch
vivid palm
#

@glad spade often you are employed or in a position that you feel like you don't qualify for

glad spade
spice arrow
#

hey why did you ban my friend?

vivid palm
#

it's usually self-doubt and usually goes away after time in the role and actually achieving what you're being asked to achieve

tall latch
rugged root
restive geyser
rugged root
glad spade
spice arrow
#

oh he sweared didnt see that sr

restive geyser
#

*swore

rugged root
#

Not so much the fact that he swore, just that he did it at me out of nowhere with no reason

spice arrow
#

yeah swore

glad spade
rugged root
#

@frozen geyser You'll likely have an easier time asking your question here in the server. And probably an easier time getting it answered by using our help system. See the #โ“๏ฝœhow-to-get-help channel for more details on that

tall latch
restive geyser
#

so we can all learn and communicate without issues

pine ledge
#

:/

glad spade
#

@spice arrow take a note you cant speak wrong to the Moderator.

#

they practically run the server

tall latch
#

does this mean we cant talk python

pine ledge
#

My depression is talking toll on me

glad spade
tall latch
coarse bramble
#

okay a question, i live in Asia. not sure if this is a thing in US/Canada but universities dont teach us to develop real world codes. how do i get started? i have the basic knowledge. how do practice and master python

olive hedge
tall latch
restive geyser
#

@coarse bramble , create your own projects

flat sentinel
#

yes we are

rugged root
#

@flat sentinel You still have 2 days before you can re-verify

glad spade
coarse bramble
rugged root
#

Just wanted to clarify, apologies

restive geyser
#

@coarse bramble anything that interests you, data science, ML, web dev, etc.

pine ledge
#

๐Ÿ˜‹

tall latch
glad spade
#

the only selfmade project i have

tall latch
pine ledge
#

Your so rich

tall latch
flat sentinel
#

the rats

pine ledge
#

Bye

glad spade
pine ledge
#

Madhav you've very good name

glad spade
sick tusk
#

my fellow americans

#

im back

tall latch
rugged root
tall latch
#

@glad spade why did you block me

glad spade
#

lmao

#

i dont like to talk people online i am scared

tall latch
#

why you scared

glad spade
#

i got ddosed by someone on dicord server

tall latch
#

what is ddos

glad spade
#

distributive denial of service

rugged root
#

Essentially sending so many requests to an IP that it breaks

glad spade
#

they ask you to stream your screen and gets your ip

rugged root
#

So asking for someone's IP is rather rude and weird

glad spade
#

i was scolded by my dad

#

and we needed to call our ISP to fix that

#

why do 14 year olds do that?

#

@rugged root yeah

#

when you click on debug it shows the ip

#

yes

tall latch
#

oh thought you can only use ip address to track the location and hack into a device if the device is connected to a public wifi

glad spade
#

but kids like me got cyber bullied

#

lmao

zealous wave
tall latch
#

now that i know what ddos is lemme check more about it

glad spade
tall latch
uncut meteor
zealous wave
#

yep

tall latch
#

hey dont delete message

tall latch
tall latch
glad spade
#

guys i am scared there are 14 year old more smarter than me and they can just bully me

#

@rugged root ok sorry

tall latch
zealous wave
#

!pypi git

wise cargoBOT
#
I'm sorry Dave, I'm afraid I can't do that.

Package could not be found.

tall latch
#

i dont know to use IG

zealous wave
#

!pypi git-python

wise cargoBOT
#
Author

code-nick-python

Summary

combination and simplification of some useful git commands

rugged root
zealous wave
#

!otn a i-dont-git-it

tall latch
#

im trying to use selenium to make it use my discord

#

i tried to use it with whatsapp to get all the message info

#

but whatsapp need qr code scan every time to login

rugged root
#

That's against ToS

#

It's automating a user account

tall latch
#

yeah but not using the user token stuff

rugged root
#

It doesn't matter

#

They have clarified this previously

#

Which is why I'm telling you so that you don't potentially get you in trouble

tall latch
#

well im just trying to learn selenium

#

what will i do with selenium then

rugged root
#

It's made to be an automated site tester

#

It's not supposed to be used for automating going through a site other than your own for testing purposes

tall latch
#

obviously i cant make tinder auto swipe as im not 18+

#

but im pretty sure im gonna make it in the future

uncut meteor
tall latch
uncut meteor
#

context

#

join vc or stop questioning me

#

your choice

tall latch
amber raptor
honest pier
#

what the FUCK is a monad

rugged root
#

I wish I understood it

#

I really really do

zealous wave
#

!paste

wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

tall latch
tiny socket
#

https://ducks.vcokltf.re/duck/replace_with_your_name

tall latch
#

i got interested in selenium when i saw aaron jack's video in which he automates tinder

#

how does color thing work @tiny socket

rugged root
harsh island
#

nice duck

rugged root
tall latch
uncut meteor
tall latch
#

@whole bear ask here or something

zealous wave
whole bear
#

ello I need help extracting information from a csv file and then creating a curve from the points given in the file.

honest pier
#

what

#

!d csv

wise cargoBOT
#

Source code: Lib/csv.py

The so-called CSV (Comma Separated Values) format is the most common import and export format for spreadsheets and databases. CSV format was used for many years prior to attempts to describe the format in a standardized way in RFC 4180. The lack of a well-defined standard means that subtle differences often exist in the data produced and consumed by different applications. These differences can make it annoying to process CSV files from multiple sources. Still, while the delimiters and quoting characters vary, the overall format is similar enough that it is possible to write a single module which can efficiently manipulate such data, hiding the details of reading and writing the data from the programmer.... read more

zealous wave
tall latch
whole bear
#

thanks

zealous wave
#
message = "bad name"

_ = "good name"
uncut meteor
#

!e

Mess4ge = "name bad"
terse needle
#
x <- 5
zealous wave
#

!e ```py
(:="walrus is amazing", print())

__ = "normal is boring"
print(__)

wise cargoBOT
#

@zealous wave :white_check_mark: Your eval job has completed with return code 0.

001 | walrus is amazing
002 | normal is boring
uncut meteor
#

+------------+-------------------------------------------------+
| Example    | Name                                            |
+------------+-------------------------------------------------+
| twowords   | flatcase                                        |
| TWOWORDS   | UPPERFLATCASE                                   |
| twoWords   | camelCase, dromedaryCase                        |
| TwoWords   | PascalCase, UpperCamelCase, StudlyCase          |
| two_words  | snake_case, pothole_case                        |
| TWO_WORDS  | SCREAMING_SNAKE_CASE, MACRO_CASE, CONSTANT_CASE |
| two_Words  | camel_Snake_Case                                |
| Two_Words  | Pascal_Snake_Case                               |
| two-words  | kebab-case, dash-case, lisp-case                |
| two|words  | doner|case                                      |
| TWO-WORDS  | TRAIN-CASE, COBOL-CASE, SCREAMING-KEBAB-CASE    |
| Two-Words  | Train-Case, HTTP-Header-Case                    |
+------------+-------------------------------------------------+

#

Wrong

whole bear
#

camel case nice D;<

zealous wave
#

!e ```py
(:="Train-Case-Best-Case", print())

__ = "\ncamelCaseworstCase"
print(__)

wise cargoBOT
#

@zealous wave :white_check_mark: Your eval job has completed with return code 0.

001 | Train-Case-Best-Case
002 | 
003 | camelCaseworstCase
zealous wave
#

there we go

whole bear
#

;.;

#

cri

jaunty falcon
#

@uncut meteor I don't hear it at all :P.

#

I feel a need to add a period after typing :P. just because this looks so weird: ๐Ÿ˜›

zealous wave
#

!e ```py
def newadd(num):
return num.invert().abs()

print(newadd(9))

wise cargoBOT
#

@zealous wave :white_check_mark: Your eval job has completed with return code 0.

10
tall latch
#

:p.

terse needle
#

ห˜

uncut meteor
#

||||

terse needle
#

|

uncut meteor
#

ยฌ <-- 6 shooter

tall latch
#
^  ^
-  -
 ..
 == 
uncut meteor
#

ยฆยฆ yike ยฆยฆ

jaunty falcon
#

I hear it once in a while.

#

but barley

#

barely* ๐Ÿ˜ฆ

tall latch
#

does anyone wanna be my test subject

#

its to test if my bot can dm anyone on discord as long as they got dms on

uncut meteor
#

Delete dis

#
int main() {

    char test[] = "Hello World";

    std::cout << test[3];

}
rugged root
#

If anyone wants to join in on hanging out with cam let me know

tall latch
#

how clean

jaunty falcon
#

@rugged root People were doing work on their house

dire oriole
jaunty falcon
#

Without context that sounded strange

terse needle
#

how clean

vivid palm
#

nah you just have a strong jaw

zealous wave
tall latch
#

can i join cam gang

dire oriole
#

orange ๐Ÿ˜

honest pier
#

cc @rugged root ^^

vivid palm
#

loll

jaunty falcon
#

Anyone know how to make pycharm stop double indenting everything?

uncut meteor
#

Shift + Enter

jaunty falcon
#

No it's indenting twice for some reason

uncut meteor
#

nvm

jaunty falcon
#

O that's cool

#

like when I hit tab once it's this size:
or depending on how hard that is to see xxxxxxxx (not actually a bunch of Xs but spaces)

harsh island
#

is there a way to see how many more words i need to write to be able to share screen and talk?

vivid palm
#

alec baldwin played russian santa

harsh island
#

hmmm

#

ok

#

oh I was gonna use it in the future for help

#

imagine

jaunty falcon
#

@rugged root "I refuse" Land the plane I refuse.

whole bear
#

Hi guys

#

hi plus

zealous wave
vivid palm
honest pier
#

wait you didn't get muted?

zealous wave
#

^

#

She's just built dif

tall latch
#

oh no its 4:44 at night here

#

@honest pier why is your cam citrous

honest pier
#

it is what it is

whole bear
#

@honest pier now that you're not using Marie's Kondo pic anymore I'll use it. thx.

honest pier
#

๐Ÿค”

tall latch
#
NameError: name 'scope_data' is not defined```
#

why am i getting this

dire oriole
#

i guess scope_data isn't defined :P

tall latch
#
class Mod(commands.Cog):
    def __init__(self, bot):
        self.bot = bot
        
    scope_data = {
        "userTag": None,
        "userId": None,
        "channelId": None,
    }

    def stringCorrecting(strlist):
        string = strlist[0]
        for i in strlist:
            string += f" {i}"
        return string
    
    @commands.Cog.listener()
    async def on_message(self, message):```
tall latch
dire oriole
#

Mod.scope_data

tall latch
#
class Mod(commands.Cog):
    def __init__(self, bot):
        self.bot = bot
        
    scope_data = {
        "userTag": None,
        "userId": None,
        "channelId": None,
    }

    def stringCorrecting(strlist):
        string = strlist[0]
        for i in strlist:
            string += f" {i}"
        return string
    
    @commands.Cog.listener()
    async def on_message(self, message):
        server = self.bot.get_guild(server_id)
        mess = message.content.lower().split(" ")
        ctx = message.channel
        author = message.author
        founders = server.get_role(803748792859885628)
        if mess[0]=="m?" and not author.bot:
            if founders in author.roles:
                if mess[1] == "scope" and len(mess) >= 3:
                    if mess[2] == "quit":
                        scope_data["userTag"] = None
                        scope_data["userID"] = None
                        scope_data["channelId"] = None
                    elif scope_data["userTag"] and scope_data["userID"] and scope_data["channelId"]:
dire oriole
#

slightly different

uncut meteor
#

fd8a25
fa8904

scarlet drift
#

yo guys is there a way to change the value of a variable that is not defined in the function scope but is defined outside the function's scope without using global?

honest pier
#

standard temperature and pressure ๐Ÿ˜”

strong arch
honest pier
#

๐Ÿ‘€

#

the real kutie kat?

hollow haven
#

The real me!

hollow haven
#

why... are you just orange?

honest pier
#

why are you orange

hollow haven
#

. . . alright then

vivid palm
#

watcha eating

#

vicariously munching

honest pier
#

seems like orange to me ๐Ÿค” ๐Ÿค” ๐Ÿค”

hollow haven
#

I miss my event lead color ;_;

#

it was such a good color

honest pier
#

it was much better

#

the current leads color is nice too

hollow haven
#

urgh, i should go work on my research

honest pier
#

๐Ÿ˜”

coarse mortar
#
--Vector3
["#uservalue"] = {
    [1] = {},
    [2] = {},
    [3] = {},
}

--CFrame3
["#uservalue"] = {
    [1]  = 1, --X
    [2]  = 3, --Y
    [3]  = 1, --Z
    [4]  = 23,
    [5]  = 23,
    [6]  = 43,
    [7]  = .,
    [8]  = 43,
    [9]  = 123,
    [10] = 23,
    [11] = 123,
    [12] = 123
}

local table = {
    ["#CarPostion"] = CFrame.new("")
}
--Color3
["#uservalue"] = {
    ["R:1"] = {},
    ["G:2"] = {},
    ["B:3"] = {},
}
vivid palm
#

bbye

near niche
honest pier
#

๐Ÿ˜”

wise cargoBOT
#

@honest pier :white_check_mark: Your eval job has completed with return code 0.

[('e', 'f', 'w'), ('h', 'm', 'q'), ('w', 'd', 'g'), ('d', 'w', 's'), ('c', 'l', 'd'), ('l', 'g', 'b'), ('e', 'x', 'j'), ('e', 'w', 'i'), ('m', 'r', 'o'), ('f', 'e', 'h'), ('l', 'r', 'g'), ('y', 'f', 'd'), ('g', 'a', 's'), ('s', 'k', 'm'), ('l', 'c', 'o'), ('x', 'l', 'k'), ('z', 'q', 'f'), ('o', 'k', 'n'), ('y', 'i', 'b'), ('p', 'v', 'e'), ('v', 'l', 'b'), ('t', 'w', 'p'), ('v', 'j', 'l'), ('d', 'a', 'b'), ('p', 'y', 'l'), ('l', 'i', 'a'), ('g', 'y', 's'), ('h', 's', 'v'), ('t', 'q', 'g'), ('f', 'e', 'j'), ('o', 's', 'c'), ('f', 'j', 'y'), ('h', 'l', 'k'), ('v', 't', 'y'), ('p', 'k', 's'), ('s', 'm', 'e'), ('y', 'z', 'v'), ('v', 'k', 'z'), ('o', 'b', 'a'), ('d', 'w', 'y'), ('j', 'r', 'y'), ('y', 'l', 'c'), ('z', 'v', 'x'), ('d', 'b', 'q'), ('i', 'c', 'w'), ('g', 'd', 's'), ('h', 'p', 's'), ('h', 'u', 'b'), ('o', 'f', 'r'), ('w', 'p', 't'), ('h', 's', 'n'), ('w', 's', 'j'), ('c', 'm', 'g'), ('s', 'p', 'r'), ('l', 'd', 'r'), ('t', 'x', 'j'), ('x', 'f', 'd'), ('c', 'h', 'k'), ('c', 'z', 'q
... (truncated - too long)

Full output: too long to upload

vivid palm
#

@swift hawk type here

swift hawk
#

Why doesn't my MagicPython extension not change the syntax and leaves it the same? I'm VS Code

#

anyone have a fix??

dire oriole
#

๐Ÿ˜”

honest pier
#

๐Ÿ˜”

#

i'll just write it in an editor

#

oop, read problem wrong. name has at least 4 letters, not 4

#

ยฏ_(ใƒ„)_/ยฏ

topaz schooner
#

๐Ÿ˜”

leaden arch
#

Finally have access to vc

plain mica
#

Hello

#

It is a friday for me

#

So how is every one doing

#

good

daring orbit
#

Hello all

plain mica
#

why did you leave

#

also are you wearing a Pope's hat @tidal salmon

severe cape
#

@tidal salmon Bless me pope

#

lol

#

thanks pope

#

lol

plain mica
#

kiss

#

what is your pope name

severe cape
#

JK

plain mica
#

in all the popes in history which one is similar to you

severe cape
#

k, sorry

plain mica
#

what about the playboy boy pope

severe cape
#

wait a sec, are you a real pope or are you wearing a costume??

plain mica
#

no

severe cape
#

cya boys

#

I gtg

plain mica
#

he gave land to his mistress

somber heath
#

The Young Pope is a drama television series created and directed by Paolo Sorrentino for Sky Atlantic, HBO, and Canal+. The series stars Jude Law as the disruptive Pope Pius XIII and Diane Keaton as his confidante, Sister Mary, in a Vatican full of intrigues. The series was co-produced by the European production companies Wildside, Haut et Court...

#

A little bit...different, too.

plain mica
#

wow

#

any heretics slain

#

yeah

#

but have you slain any

#

Can you turn on camera @tidal salmon I liked your face and your hat

#

I have a question

#

Does any of you have good recommendations for a good Arduino starter kit

#

Oh

#

no it is a micro controller

somber heath
#

Hence "sort of."

plain mica
#

what is the website called again

#

Hello?

#

anyone there

#

okay I will go now

#

bye

quick bison
#

now

#

now

#

how do u tell nope only when i talk ?

#

k

#

i think i have some problem i will leave

#

ya me too

winged marsh
#

@red stratus

#

I cannot speak...

#

So I left

somber heath
#

@winged marsh Are you aware of how to pass the voice gate?

winged marsh
#

No

somber heath
#

!voice

wise cargoBOT
#

Voice verification

Canโ€™t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

somber heath
#

You qualify right now, unless something's up.

whole bear
#

!projectgy

wise cargoBOT
#

Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

runic forum
#

!projectgy

wise cargoBOT
#

Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

runic forum
#

!e

wise cargoBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code
block. Code can be re-evaluated by editing the original message within 10 seconds and
clicking the reaction that subsequently appears.

We've done our best to make this sandboxed, but do let us know if you manage to find an
issue with it!*

runic forum
#

!e print("Hello World!")

wise cargoBOT
#

@runic forum :white_check_mark: Your eval job has completed with return code 0.

Hello World!
runic forum
#

can I also discuss HTML programming on this server?

runic forum
#

bonjour!

paper tendon
#

can you share a link to the codewars question

terse needle
uncut meteor
#
from datetime import datetime, timedelta

def date_to_mins(d):
    try:
        return ((datetime.strptime(d, "%m/%d/%Y") + timedelta(days=1)).timestamp() - datetime.strptime(d.split("/")[-1], "%Y").timestamp()) // 60
    except ValueError:
        return -1
terse needle
#

month, day, year = d[:2], d[3:5], d[6:]

uncut meteor
#
month, day, year = d.split("/")
paper tendon
#

day, month, year = d.splite("/")

terse needle
#

"4of Fo1r pe6ople g3ood th5e the2" -> "Fo1r the2 g3ood 4of th5e pe6ople"

tall latch
sick cloud
#

helo

uncut meteor
#

!project

wise cargoBOT
#

Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

tall latch
sick cloud
tall latch
#

a good way to rick roll people

runic forum
#

who watches or has watched Silicon Valley???

tall latch
#

does anyone know what are the things a leveling discord bot need

runic forum
#

anyone?

#

guess not...

whole bear
tall latch
runic forum
whole bear
#

It's a meme

#

a cicada meme

faint ermine
# tall latch

never gonna give you cry
never gonna tell a lie and hurt you down
never gonna gonny run around and desert you up

runic forum
whole bear
#

ywp

#

yep

#

pretty cool right

runic forum
#

idk

#

someone come play Roblox with me

#

we gonna play games....

#

ill come back....

wicked sundial
#

!e print("KAM IS GOOD")

tall latch
#

can someone give me a formula to gen exp

somber heath
somber heath
#

Do you perhaps mean regular expressions?

tall latch
#

something like exp = 5+random.randint(1,6)

somber heath
#

Are you talking about progression curves?

#

The higher your level, the more exp you need to advance a level?

uncut meteor
#

do a DnD

#

double it each time

limpid pagoda
#

hello everyone

tall latch
short canopy
#

Hey

limpid pagoda
#

how're you all??

tall latch
#

@somber heath how about add the exp for next level by 12

limpid pagoda
#

@somber heath can u sing a song๐Ÿ‘€

#

ohh np๐Ÿ‘€

tall latch
fiery hearth
#
def decimalToBinary(self, IP): 
        return bin(self.IP).replace("0b", "") 
    
def clean_input (self):
      IP = self.user.split('.')
      first_octat = self.decimalToBinary(int(IP[0]))

How do i call the function below?

limpid pagoda
#

well idk y i really like opal's voice๐Ÿ‘€

tall latch
somber heath
#
format(80, 'b') == '1010000'```
limpid pagoda
somber heath
#
f'{80:b}' == '1010000'```
fiery hearth
#
class IP():
    def __init__(self, user):
        self.user = user

    def decimalToBinary(self, IP): 
        return bin(self.IP).replace("0b", "") 
    
    def clean_input(self):
        IP = self.user.split('.')
        first_octat = self.decimalToBinary(IP)
clear shadow
#

()

#

@fiery hearth So what does this program do

fiery hearth
#

second_octat = f'{(int(IP[0])):o}'

#

15.2

#

second_octat = format(int(IP[1]), 'o')

#
Enter a IP> 15.3
['15', '3']
3
wise glade
#

๐Ÿ˜ฉ visual studio is heavy
as in heavy to get used to

clear shadow
#

Actually

#

I think its not

#

You had download several extensions then

#

It could be

#

So remove the useless extensions

wise glade
#

no it runs fine
its just pain in the ass to use it faster than VSCode right now

#

not used to using it ๐Ÿ˜‚

clear shadow
#

lol

vestal halo
#

@somber heath oh great

#

ok i will try bro @somber heath

#

@somber heath i know very less about this project and would not be able to expain it in text

#

thats why i wanted to stream and ask you for solution

#

still let me try

wise glade
#

you can share screenshots too if you like

vestal halo
#

ok

#

i have this json code

vestal halo
wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @vestal halo until 2021-02-27 15:20 (9 minutes and 59 seconds) (reason: chars rule: sent 3110 characters in 5s).

sick cloud
#

hmmmmmmmmmmmmmmmmmmmmmmmmmmmmm

#

rip

balmy nymph
#

!unmute @vestal halo

wise cargoBOT
#

:incoming_envelope: :ok_hand: pardoned infraction mute for @vestal halo.

balmy nymph
#

!paste Please use a paste for that

wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

tall latch
#

sorted_list = fetched_list.sort(key=check)

wise cargoBOT
#

Hey @vestal halo!

It looks like you tried to attach file type(s) that we do not allow (.json). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .webm, .webp, .flac, .afdesign, .m4a, .csv.

Feel free to ask in #community-meta if you think this is a mistake.

runic forum
#

thats good to hear @somber heath

wise cargoBOT
#

Hey @vestal halo!

It looks like you tried to attach file type(s) that we do not allow (.text). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .webm, .webp, .flac, .afdesign, .m4a, .csv.

Feel free to ask in #community-meta if you think this is a mistake.

tall latch
#

def check(e): return e[3]

wise glade
#

@tall latch share the error or screenshot of the error, that would help

#

I guess Opal's got it with the guessing game ๐Ÿ˜‚

vestal halo
#

in that container there are different file there are lists

somber heath
#

I would suggest that you have more descriptive variable names.

vestal halo
#

and i want to define data from different lists

somber heath
#

and to verify at each point that the data looks like what you think it is

vestal halo
#

based on location there are different blocks and i want them to show up in form of a1=str(jsonData["main"]["temp_min"]) type format

#

@somber heath

#

can you help me

sick cloud
#

@wise glade halo

#

how u doing

sick cloud
#

โ™•โ™•

somber heath
#

@vestal halo As I said. Make sure you know what the data is at each point. Then, once you do, operate on it and so on.

tall latch
#

@somber heath is it 28 there

vestal halo
#

ive sent you txt file in dm as i was not able to paste it here @somber heath

wise glade
somber heath
#

I guess I'm having a bad brain day and I don't understand what you're trying to achieve.

sick cloud
wise glade
#

I mean' how can it be 27 and sunday?

vestal halo
#

better

tall latch
#

my birthday is valentines_day + valentines_day.day

wise glade
#

one of my friend's birthday is on 14 feb, we tease him a lot for it

sick cloud
#

imagine being born on 29 feb

tall latch
tall latch
sick cloud
wise glade
wise glade
#

ok, I promised myself, I'll take a 5 when it hits 9
brb

tall latch
sick cloud
#

@tall latch im making a program which translates python to pesudocode

#

@tall latch type it

sick cloud
sick cloud
tall latch
#
c.execute(f"SELECT * FROM user WHERE guildid = {guild.id} AND userid = {author.id}")
        fetched_result = c.fetchall()
        if len(fetched_result) != 0:
            exp = randint(3, 9)
            exp += fetched_result[0][3]
            lvl = fetched_result[0][2]
            if exp >= lvl*11:
                lvl += 1
            c.execute(f"UPDATE user SET exp = {exp} AND level = {lvl} WHERE guildid = {guild.id} AND userid = {author.id}")```
runic forum
#

okay...

#

im back!

#

something weird was happening to my internet

wise glade
sick cloud
runic forum
#

@zealous wave what are you doing right now?

#

could you share us the screen?

zealous wave
#
def toJadenCase(string):        
    return " ".join(w.capitalize() for w in string.split())
sick cloud
#

!e

def toJadenCase(string):        
    return " ".join(w.capitalize() for w in string.split())

print(toJadenCase("hello gammers"))
wise cargoBOT
#

@sick cloud :white_check_mark: Your eval job has completed with return code 0.

Hello Gammers
sick cloud
#

!e

def toJadenCase(string):        
    return " ".join(w.upper() for w in string.split())

print(toJadenCase("hello gammers"))
wise cargoBOT
#

@sick cloud :white_check_mark: Your eval job has completed with return code 0.

HELLO GAMMERS
sick cloud
#

upper

zealous wave
#

!e ```py
def toJadenCase1(string):
return " ".join(w.capitalize() for w in string.split())

def toJadenCase2(string):
return string.title()

print(toJadenCase1("hello, world!\n"))
print(toJadenCase2("hello, world!"))

wise cargoBOT
#

@zealous wave :white_check_mark: Your eval job has completed with return code 0.

001 | Hello, World!
002 | Hello, World!
sick cloud
#

there is a lib called string ?

#

!e

import string as s
print(dir(s))
wise cargoBOT
#

@sick cloud :white_check_mark: Your eval job has completed with return code 0.

['Formatter', 'Template', '_ChainMap', '__all__', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', '_re', '_sentinel_dict', '_string', 'ascii_letters', 'ascii_lowercase', 'ascii_uppercase', 'capwords', 'digits', 'hexdigits', 'octdigits', 'printable', 'punctuation', 'whitespace']
zealous wave
#

!e ```py
def filter_list(l):
for thing in l:
if thing.is_alpha():
del l[thing]

print(filter_list([1,2,'a','b']))

sick cloud
#

!e

def filter_list(l):
  l = list(map(str, l))
  for thing in l:
      if thing.is_alpha():
          del l[thing]

print(filter_list([1,2,'a','b']))
#

!e

def filter_list(l):
  l = list(map(str, l))
  for thing in l:
      if thing.isalpha():
          del l[thing]

print(filter_list([1,2,'a','b']))
wise cargoBOT
#

@sick cloud :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 7, in <module>
003 |   File "<string>", line 5, in filter_list
004 | TypeError: list indices must be integers or slices, not str
sick cloud
#

hmmm

#

!e

def filter_list(l):
  l = list(map(str, l))
  for index, thing in enumerate(l):
      if thing.isalpha():
          del l[index]

print(filter_list([1,2,'a','b']))
wise cargoBOT
#

@sick cloud :white_check_mark: Your eval job has completed with return code 0.

None
whole bear
#

Hello btw

sick cloud
#

@waxen aspen helo

#

nahh,i cant talk

#

come to vc1

#

voice chat 1

terse needle
#
>>> x = {'a': 'b'}
>>> x.keys()
dict_keys(['a'])
uncut meteor
#

!e

x = {'a': 'b'}
for k in x.keys():
  print(k)
wise cargoBOT
#

@uncut meteor :white_check_mark: Your eval job has completed with return code 0.

a
pure path
#

!d

wise cargoBOT
uncut meteor
#

!d str.isalpha

wise cargoBOT
#
str.isalpha()```
Return `True` if all characters in the string are alphabetic and there is at least one character, `False` otherwise. Alphabetic characters are those characters defined in the Unicode character database as โ€œLetterโ€, i.e., those with general category property being one of โ€œLmโ€, โ€œLtโ€, โ€œLuโ€, โ€œLlโ€, or โ€œLoโ€. Note that this is different from the โ€œAlphabeticโ€ property defined in the Unicode Standard.
pure path
#

ooo

zealous wave
#
def is_valid_walk(walk: list):
    return True if len(walk) == 10 and walk.count('n') == walk.count('s') and walk.count('e') == walk.count('w') else False
faint ermine
#

!e ```py
def dec(fn):
print(fn)

@dec
def a():
pass

wise cargoBOT
#

@faint ermine :white_check_mark: Your eval job has completed with return code 0.

<function a at 0x7f338f9dc940>
faint ermine
#

!e ```py
a: list[int]

wise cargoBOT
#

@faint ermine :warning: Your eval job has completed with return code 0.

[No output]
coarse bramble
#

!e

faint ermine
#

!e ```py
def dec(fn):
print(fn)

@dec()
def a():
pass

wise cargoBOT
#

@faint ermine :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 4, in <module>
003 | TypeError: dec() missing 1 required positional argument: 'fn'
uncut meteor
#

!e



def dec(*args):
    if not len(args):
        def empty(*args, **kwargs):
            ...
        return empty
    else:
        return args[0]


@dec()
def a():
    pass
wise cargoBOT
#

@uncut meteor :warning: Your eval job has completed with return code 0.

[No output]
faint ermine
#

!e ```py
from functools import partial

def dec(*args, **kwargs):
if len(args) > 0:
print(args[0], kwargs)
else:
return partial(dec, **kwargs)

@dec
def a():
pass

@dec(a=1)
def a():
pass

wise cargoBOT
#

@faint ermine :white_check_mark: Your eval job has completed with return code 0.

001 | <function a at 0x7f60f4efb3a0> {}
002 | <function a at 0x7f60f4efb3a0> {'a': 1}
uncut meteor
#

!e

from functools import partial

def dec(*args, **kwargs):
    if len(args) > 0:
        print(args[0], kwargs)
    else:
        return partial(dec, **kwargs)

@dec
def a():
    pass

@dec(1)
def a():
    pass

@dec(a=1)
def a():
    pass
wise cargoBOT
#

@uncut meteor :x: Your eval job has completed with return code 1.

001 | <function a at 0x7f60ebed13a0> {}
002 | 1 {}
003 | Traceback (most recent call last):
004 |   File "<string>", line 14, in <module>
005 | TypeError: 'NoneType' object is not callable
uncut meteor
#

!e

from functools import partial
from typing import Callable


def dec(*args, **kwargs):
    if len(args) > 0:
        assert any(isinstance(arg, Callable) for arg in args), "You cannot pass positional arguments into this Decorator"
        print(args[0], kwargs)
    else:
        print(type(args[0]))
        return partial(dec, **kwargs)

@dec
def a():
    pass

@dec(1)
def a():
    pass

@dec(a=1)
def a():
    pass
wise cargoBOT
#

@uncut meteor :x: Your eval job has completed with return code 1.

001 | <function a at 0x7fbe80eee5e0> {}
002 | Traceback (most recent call last):
003 |   File "<string>", line 17, in <module>
004 |   File "<string>", line 7, in dec
005 | AssertionError: You cannot pass positional arguments into this Decorator
faint ermine
terse needle
#

!e

number = {
1000: 'M',
900: 'CM',
500: 'D',
400: 'CD',
100: 'C',
90: 'XC',
50: 'L',
40: 'XL',
10: 'X',
9: 'IX',
5: 'V',
4: 'IV',
1: 'I'
}

def to_roman(n: int):
    result = []

    while n: 
        for i in number.keys():
            if n >= i:
                n -= i
                result.append(number.get(i))
                break

    return ''.join(result)

print(to_roman(2032))
wise cargoBOT
#

@terse needle :white_check_mark: Your eval job has completed with return code 0.

MMXXXII
craggy zephyr
#
Palindrome is a string that can be read in the same way in both left-to-right and right-to-left directions.```
#

can any of you know how to start??

craggy zephyr
#
1 2 3 4 5

**Sample Output**
Stable

**Explanation**
The power of every power ranger is less than the sum of powers of other power rangers. ```
#
1 2 3 4 100

**Sample Output**
SPD Emergency

**Explanation**
The power of the 5th power ranger (100) is not less than the sum of powers of other power rangers (1+2+3+4=10).```
runic forum
#

!e
print("hello world")

wise cargoBOT
#

@runic forum :white_check_mark: Your eval job has completed with return code 0.

hello world
runic forum
#

how come you have syntax colors on your code?

zealous wave
wise cargoBOT
#

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

runic forum
#

oohhh

#

!code

#

!close