#voice-chat-text-0

1 messages ยท Page 613 of 1

gentle flint
#

@gentle flint

#

@gentle flint

rigid nest
#
if iJustMetYou:
gentle flint
#
    then iWouldNotCare
whole bear
#

gotem

rigid nest
#
  next()
whole bear
gentle flint
#

ah

#

very good

rare tinsel
#

nice

warped lily
#

huh

#

ive been pinged

whole bear
#

yo

rare tinsel
#

'''wow

gentle flint
#
wow
#

wow

whole bear
#

import stupid

#
import stupid```
whole knot
#
from time import die
#

Lol

#

jk

gentle flint
#

I am the resurrection and the liiiiiiiiiiiiiiiiiiiiiiife

whole bear
#

is this ur favorite module

gentle flint
#

yes no

whole bear
#

@frozen coral

whole knot
#

yumm

olive sentinel
#

Uhm, please do keep things Safe For Work on our server

whole bear
#

who are you to say that?

#

we have freedom of expression here, no?

olive sentinel
#

No, you are free to behave within the boundaries we've set for you, @whole bear

#

In fact, these boundaries are set by Discord

whole bear
#

ok myb

whole knot
#

I feel oppressed

#

TIME FOR REVOLUTION

gentle flint
#

you are
but who cares

whole knot
#

(dont ban me)

#

deepCreamy big lol

olive sentinel
#

No, not at all, but some may not be whitelisted yet

whole knot
olive sentinel
#

Partnered servers should be fine regardless

warped lily
#

dude

#

thats the lamest attempt in history

#

to rickroll ppl

#

smh

gentle flint
#

^

dapper meteor
#

is my mic muted

whole knot
#

its not rickrolling

dapper meteor
#

wait nvm

whole knot
#

its art

dapper meteor
#

i came to voice chat to learn how to start conversations, not to listen to this shit

whole knot
#

ok

#

start by making a wierd name and saying hai

dapper meteor
#

either way its entertaining

whole knot
#

weir

gentle flint
#
(
    (
        lambda __, ___, ____, _____: getattr(
    __builtins__,
    ().__class__.__name__[__ << __]
    + ().__iter__().__class__.__name__[(__).__rmul__(-1)]
    + [].__class__.__name__[____ % ___]
    + chr(_____)
    + ().__class__.__name__[__ >> __],
        )
    )(
        (lambda _: _).__code__.co_nlocals,
        (lambda _, __: _ | __).__code__.co_nlocals,
        (lambda _, __, ___: _ | __ | ___).__code__.co_nlocals,
        (
    (lambda _, __, ___: _ & __ & ___).__code__.co_nlocals.__rmul__(
        (lambda _, __, ___: _ | __ | ___).__code__.co_nlocals
    )
    + (True.__rmul__((lambda _, __: _ | __).__code__.co_nlocals))
        ).__rmul__(
    (
        lambda _, __, ___, ____, _____, ______, _______, ________, _________, __________: (
    _ % __
        )
        >> ((___ * ____) << _____ // ______)
        | _______
    ).__code__.co_nlocals
        ),
    )
)(
    (
        lambda __, ___, ____, _____, ______: hex.__class__.__name__[
    ___.__rmul__(____ * _____) - ______
        ].upper()
        + hex.__class__.__name__[___.__rmul__(____ * _____) - _____ - ______]
        + hex.__class__.__name__[___] * 2
        + hex.__class__.__name__[___.__rmul__(____ * _____)]
        + chr(__.__rmul__(___) + _____)
        + Warning.__qualname__[______ - True]
        + hex.__class__.__name__[___.__rmul__(____ * _____)]
        + Warning.__qualname__[_____]
        + ().__class__.__name__[___]
        + {}.__class__.__name__[______ - True]
        + chr(__.__rmul__(___) + ___)
    )(
        (
    lambda _, __, ___, ____, _____, ______, _______, ________, _________, __________: (
        _
    )
        ).__code__.co_nlocals,
        (lambda _, __, ___: _).__code__.co_nlocals,
        (lambda _, __, ___, ____: _).__code__.co_nlocals,
        (lambda _, __: _).__code__.co_nlocals,
        (lambda _: _).__code__.co_nlocals,
    )
)
#

prints hello world

olive sentinel
#

This is very esoteric Python

gentle flint
#

indeed

#

credit goes to SomeDude

#

he is in this server

rigid nest
#

Mainly, why does this look like lisp/scheme?

gentle flint
#

I have no idea how it works

whole knot
#

anyways, ive had a shitty day today, ill go sleep now

#

gn

gentle flint
#

gn

whole knot
#

everybody

rigid nest
#

shame we couldn't cheer you up

#

try us again 2morrow

whole knot
#

lol

olive sentinel
#

It's completely obfuscated code, but it basically manipulates some unicode code points in a very roundabout way

#

Look for things like this: chr(__.__rmul__(___) + ___)

rigid nest
#

right hand operand

#

mul looks the lhs operand

olive sentinel
#

but there's a lot of fun in there and you'd have to slowly puzzle to find out what everything does

gentle flint
#

"fun"

#

but yeah

rigid nest
#

foo.__add__()

#

chr()

olive sentinel
#

One thing is that you can start writing this with normal parameter names

#

After you're done, you replace those names with _, __, ___

#

And that makes it infinitely more difficult to read

gentle flint
#

o
omigosh

olive sentinel
#

The first step here would be to revert that change

#

Just to obfuscate

rigid nest
#

for _ in x

olive sentinel
#

sorry, did not catch what you said

gentle flint
#
lambda _, __, ___, ____, _____, ______, _______, ________, _________, __________:
lambda a, b, c, d, e, f, g, h, i, j:
rigid nest
#

foo.ad

#

__.

olive sentinel
#

yes

#

The author just replaced normal names by underscores to make it harder to read

#

It's nice to experiment with Python and learn a bit about it

gentle flint
#

juanita seems to have posted smth similar

#
print(bytes([(True << (True ^ True << True) ^ True << (True << True ^ True << (True << True))), (True ^ True << (True << True) ^ True << (True ^ True << (True << True)) ^ True << (True << True ^ True << (True << True))), (True << (True << True) ^ True << (True ^ True << True) ^ True << (True ^ True << (True << True)) ^ True << (True << True ^ True << (True << True))), (True << (True << True) ^ True << (True ^ True << True) ^ True << (True ^ True << (True << True)) ^ True << (True << True ^ True << (True << True))), (True ^ True << True ^ True << (True << True) ^ True << (True ^ True << True) ^ True << (True ^ True << (True << True)) ^ True << (True << True ^ True << (True << True))), (True << (True << True) ^ True << (True ^ True << True) ^ True << (True ^ True << (True << True))), (True << (True ^ True << (True << True))), (True ^ True << True ^ True << (True << True) ^ True << (True << (True << True)) ^ True << (True ^ True << (True << True)) ^ True << (True << True ^ True << (True << True))), (True ^ True << True ^ True << (True << True) ^ True << (True ^ True << True) ^ True << (True ^ True << (True << True)) ^ True << (True << True ^ True << (True << True))), (True << True ^ True << (True << (True << True)) ^ True << (True ^ True << (True << True)) ^ True << (True << True ^ True << (True << True))), (True << (True << True) ^ True << (True ^ True << True) ^ True << (True ^ True << (True << True)) ^ True << (True << True ^ True << (True << True))), (True << (True << True) ^ True << (True ^ True << (True << True)) ^ True << (True << True ^ True << (True << True))), (True ^ True << (True ^ True << (True << True)))]).decode())
rigid nest
#

__add__

olive sentinel
#

Yes, you can look at the implementations for the builtin types

#

But most of it is written in C

#

there is in the docs

leaden comet
#

ah yes

#

from the qualifier for code jam 2

rare tinsel
#

Brainfuck

#

+[-[<<[+[--->]-[<<<]]]>>>-]>-.---.>..>.<<<<-.<+.>>>>>.>.<<.<-.

olive sentinel
#

A better term for that is "scope"

rigid nest
#

thx

olive sentinel
#

With namespace you typically mean things like module.name

#

For an explanation of namespaces, you could just reduce the problem down to just a local thing you write with two files

#

Say you have two files:

main.py
functions.py
rigid nest
#

yea

olive sentinel
#

And the main file you're running is main.py in this case

rigid nest
#

yep

olive sentinel
#

Now, when you define names in main.py, they are just in the "global" namespace of that application

#

So,

name = "foo"
rigid nest
#

yep

olive sentinel
#

that name is just name in the global namespace

#

Now say I define something in functions.py

#

Like

def add(a, b):
    return a + b
#

If I do":

from functions import add

it would add the name add directly to the global namespace of the application

#

The same happens with star imports:

#
from functions import *
#

all the names defined in functions will be dumped in the global namespace of your application

#

This could lead to issues with name conflicts

rigid nest
#

yep

olive sentinel
#

So, another way of import would be this:

#
import functions
#

Now, the name add is in the namespace functions, so you'd have to do functions.add

rigid nest
#

makes sense

olive sentinel
#

This is the main point of using namespaces: You have separate "spaces" for names to avoid conflicts and to increase readability

rigid nest
#

when you are invoking functions.add what is the terminology used to define this process

#

what i mean is this period

#

i this context

#

in*

jovial meadow
#

from functions import add as f_add

#

from main import add as m_add

olive sentinel
#

@rigid nest Formally, the . means you're accessing an attribute of the object you assigned the name functions to

#

So, an imported module is just an object in memory; the name functions gets assigned to that "module" object

#

The . gets an attribute, and how that is resolved depends on the implementation of the class

#

It's a bit weird to get used to, but everything is an object in Python, including that module you just imported

rigid nest
#

emp1 = Employee('x', 1, [1,2,3,4])

olive sentinel
#

Yes, you'd create an instance of Employee and assign the name emp1 to it

rigid nest
olive sentinel
#

In this case, you're getting the attribute name of emp1

steady mulch
#

hi friends

olive sentinel
#

But, in a sense, when you do module.name, you have attribute-like access on the module object

#

So, it is the same idea

jovial meadow
#
from folder1 import Employee as e1
from folder2 import Employee as e2
emp1 = e1.Employee('x', 1, [1,2,3,4])
olive sentinel
#

you can actually define dynamic names for modules since Python 3.7

#

So, for a class, you can define a __getattr__ to handle "unknown attributes"

jovial meadow
#

will need to inherit dict for that class

olive sentinel
#

!e

class MyClass:
    def __getattr__(self, name):
        print(f"You tried accessing {name}")

my_object = MyClass()

my_object.name
wise cargoBOT
#

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

You tried accessing name
olive sentinel
#

You can now do that for modules as well

#

By defining a module-level __getattr__ function

jovial meadow
#
self.__name__
olive sentinel
#

The class name is self.__class__.__name__

#

or type(self).__name__

#

You can't really access the function object from within the function without using the global name of the function

#

There's no self in a regular function that refers to the function object

#

but you can do this:

#

!e

def function():
    print(function.__qualname__)
    print(function.__name__)

function()
wise cargoBOT
#

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

001 | function
002 | function
olive sentinel
#

The __qualname__ will also show the namespaced of the function (e.g., if it's assigned to a class attribute, it will show the class name)

jovial meadow
#

!e

def func():
  return 1

my_func = func()
my_func.__name__
wise cargoBOT
#

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

olive sentinel
#

!e

def func():
  return 1

my_func = func()
my_func.__name__
wise cargoBOT
#

@olive sentinel :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 5, in <module>
003 | AttributeError: 'int' object has no attribute '__name__'
jovial meadow
#

!e

def func():
  return 1

my_func = func
my_func.__name__
wise cargoBOT
#

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

olive sentinel
#

Code evaluation is restricted

#

Help channels and #bot-commands

#

!e

def func():
  return 1

my_func = func
my_func.__name__  # original name
wise cargoBOT
#

@olive sentinel :warning: Your eval job has completed with return code 0.

[No output]
olive sentinel
#

But you may want the __qualname__ in some instances

#

!e

class MyClass:
    def function():
        pass


print(MyClass.function.__qualname__)
wise cargoBOT
#

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

MyClass.function
olive sentinel
#

fully qualified name

#

This shows you that the function was originally assigned to the class attribute MyClass.function when it was created

#

That can be handy during debugging

#

It's not

#

!e

class MyClass:
    def function():
        pass


print(MyClass.function.__qualname__)
print(MyClass.function.__name__)
wise cargoBOT
#

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

001 | MyClass.function
002 | function
olive sentinel
#

As you can see, the __qualname__ registers the original name assigned to the function object when it was created

#

No, it does not include the module name

#

single

rigid nest
#

test

olive sentinel
#

Here is `code here`

rigid nest
#

Thanks <3

olive sentinel
#

By the way, if you want to look at, say, the implementation of __init__ for list, you'd have to look at the C source code in listobject.c

#

And so on for most builtins

#

Why?

#

You assign the attributes by doing:

self.running = "some value"
#

self is assigned to the instance the method is called on

#

And you assign an attribute right there and then at run time

#

What's a bit confusing is that __init__ is not really anything special. Sure, it gets called automatically by Python during the object creation process, but it's just a regular function.

#

yes

#

!e

class MyClass:
    def __init__(self):
        self.some_name = "foo"

obj = MyClass()
print(obj.some_name)
wise cargoBOT
#

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

foo
olive sentinel
#

!codeblock

wise cargoBOT
#

Discord has support for Markdown, which allows you to post code with full syntax highlighting. Please use these whenever you paste code, as this helps improve the legibility and makes it easier for us to help you.

To do this, use the following method:

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

Note:
โ€ข These are backticks, not quotes. Backticks can usually be found on the tilde key.
โ€ข You can also use py as the language instead of python
โ€ข The language must be on the first line next to the backticks with no space between them

This will result in the following:

print('Hello world!')
olive sentinel
#

No space between the backticks and python

#

And nothing after python but an enter

fringe bramble
#

`

olive sentinel
#

```python
code here
```

#

or

#

```py
code here
```

#

Yes

#

You could create a copy

#

!e

class MyClass:
    def __init__(self):
        self.name = "something"

obj = MyClass()

d = vars(obj).copy()
obj.name = "something else"
print(d)
wise cargoBOT
#

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

{'name': 'something'}
olive sentinel
#

Just the regular Python REPL/shell from my terminal, typically

fair dune
#

I use VS Code. It's lighter, but pycharm is great for more complex projects

olive sentinel
#

I use both Sublime Text (smaller projects/quick edits) and PyCharm (larger projects)

#

VSCode is just slightly too heavy for quick edits for me. I want something that opens "instantly" from my point of view but does not require me to learn VIM.

jaunty spoke
#

oh. Sublime.

#

I need to try that again

olive sentinel
#

It's okay

#

but probably I'm just used to it

#

and I'm on ancient hardware

fair dune
#

Need to figure out audio stuff. Can't get mic working ๐Ÿ˜ฆ

whole bear
#

@clever atlas Need some code help?

clever atlas
#

yes

#

I need to get the answer of an input in HTML to a python file

whole bear
#

Are you using a framework?

clever atlas
#

I made the website using Flask and I'm trying to use BeautifulSoup to get this information

#

But i think i did something wrong

whole bear
#

I'm confused. You need to get the answer of an input in HTML, and you're using Flask.
How does BeautifulSoup fall into this?

clever atlas
#

Someone said I could use it to get the information of a website, so I want to get the person's answer that will be a number and make some equations

#

But It keep saying that i am trying to multiply a nonetype

whole bear
#

Can we go into a help channel? I'd like to see your source code.

clever atlas
#

yes

fair dune
#

@somber heath Thanks for being great. I need to get my mic sorted. laters!

somber heath
#

๐Ÿ‘

jovial meadow
twilit lagoon
jovial meadow
#

%

#

x % 10 = n

whole bear
#

yoooourrrr

jovial meadow
#
granite field
#
t1 = threading.Thread(target=do_something)```
fair dune
#

@whole bear Mute yourself when joining voice chat if you are not planning to say anything. You were making a lot of noises. It's just the polite thing to do. Not trying to be a dick here ๐Ÿ˜„

whole bear
#

oh that was me?

#

sorry about that guys

#

i didn't realize

narrow trench
#

@fathom wraith unblock me

rare tinsel
#

for those who like fractals

twilit lagoon
fair dune
#

3b1b makes all his videos with his own python library https://github.com/3b1b/manim

twilit lagoon
fair dune
#

They even have a discord server

twilit lagoon
#
from random import randint

mx = int(10e15)
ln = int(10e3)
lst = [randint(0,mx) for i in range(ln)]

with open("list.txt", "w") as output:
    for i in lst:
        output.write(f"{i}\n")
somber heath
#
    file.write(_list[0])
    for each in _list[1:]:
        file.write('\n' + str(each))```
#

@twilit lagoon

fair dune
#

They disabled it because people did some horrific shit ๐Ÿ˜„

#

Like showing their frontal hose

fair dune
#

uwsgi + traefik also an aleternative

#

yes learn docker or die

#

I do

#

Docker is mandatory at this point. It's so useful that you can't comprehend not having learned it earlier once you know the basics

#

Playing with C/C++ extensions for python could be a next step after you know python

#

CPython is C

stuck furnace
#

CPython is written in C

#

But there are actually many implementations of the Python language

#

A while ago I saw a nice video series on CPython internals

#

I'll see if I can find it

fair dune
#

There are a lot of nice resources

stuck furnace
#

@twilit lagoon

#

This sounds like the plot of The Wolf of Wall Street

twilit lagoon
#

lol

stuck furnace
#

Text books are good

stuck furnace
#

because it's more structured

stuck furnace
stuck furnace
#

That design patterns book is good

#

Mathematics is more about the application

#

Most programming is plumbing

fathom brook
#

I like you lxnn

stuck furnace
#

Cracking the Coding Interview is often recommended as a one-stop-shop for tech interview preparation

#

I think they've caught up

#

It's a classic case of Goodhart's law

#

"When a measure becomes a target, it ceases to be a good measure."

somber anchor
#

o

stuck furnace
somber anchor
#

LOL

#

What the...

fair dune
#

Asking good questions is a skill that needs to be learned and constantly improved.. ๐Ÿ˜„

somber anchor
#

You are right @fair dune .

stuck furnace
#

Always use re.VERBOSE

#

Ever since I found out about that option, my regexes are much more readable

somber anchor
#

I see.

stuck furnace
#

I also find it best to stick to just the basic regex features

fair dune
#

Just re smart so you don't end up with 2000 style pcre mosters

stuck furnace
#

Oh yeah, regex puzzle?

twilit lagoon
fair dune
#

I've had to dissect so many perl scripts in the past like that

stuck furnace
#
somber anchor
#

Do you guys know anything about the metasploit?

stuck furnace
#

Bye

fair dune
#

Pushed my discord bot, so might as well wrap it up here as well

stuck furnace
#

Right, I'm off

fleet kettle
#

''' python

#

'''python

#
def tri_recursion(k):
  if(k > 0):
    result = k + tri_recursion(k - 1)
    print(result)
  else:
    result = 0
  return result

print("\n\nRecursion Example Results")
tri_recursion(5)

#

Recursion Example Results
1
3
6
10
15

fleet kettle
#
def iterative_sum(n):
    result = 1
    for i in range(2,n+1):
        result *= i
    return result
print(iterative_sum(5))

severe merlin
#

hello guys, what can voice chats section do?

stuck furnace
#

Is someone in a submarine?

granite field
#
if __name__ == '__main__':    

    with concurrent.futures.ThreadPoolExecutor() as executor:

        results = [executor.submit(methodToRun) for _ in range(10)]

        for result in results:
            print(result())
wind cobalt
jovial meadow
#
threads = list()
for _ in range(10):
  t = threading.Thread(target=do_something)
  threads.append(t)
for t in threads:
  t.start()
#DO STUFF HERE
for t in threads:
  t.join()
granite field
#
threads = []
for _ in range(10):
  t = threading.Thread(target=do_something)
  t.start()
  threads.append(t)

for t in threads:
  t.join()

stuck furnace
#

Just saying, @jovial meadow , I think your nickname might go against the nickname policy

#

Just slightly

stuck furnace
#

In all seriousness though, you should consider changing it as it's likely to be off-putting to other users

whole bear
#

@wind cobalt i think thats tamil/telegu

#

not sure

#

yea

wind cobalt
#

yes indeed

#

tamil is spoken by a lot of indians here

#

only a few spoke malayalam

granite field
#
while True:
    for _ in range(10):
        time.sleep(2)
        executor.submit(methodToRun)
    time.sleep(300)```
warm willow
#

hei theer

#

ima new here

whole bear
#

hemlo

warm willow
#

i need help

#

when i opened python ....

#

i saw like a batch file

#

is python a batch file?

#

how do i iput commands

#

huh?

dapper meteor
warm willow
#

okei

#

thankyou

dapper meteor
#

and to open python you have to invoke the command py or python @warm willow

warm willow
#

oki

dapper meteor
#

good luck

warm willow
#

thx

dapper meteor
#

@wind cobalt dude aren't you sleepy

#

youve been hear for hours

wind cobalt
#

5 hour energy dude

#

all day err day

#

not really, I slept 8 hours ago

old marten
#

what's goin on?

dapper meteor
#

sorry if that was personal or something

wind cobalt
#

nah, it's nothing

#

but thank you for your concern

dapper meteor
#

alright, see you later

wind cobalt
#

thumbs up

old marten
#

ME: print("Hello World")
Everyone in the voice chat: leave

wind cobalt
#

aannnnnndddd we're gone

old marten
#

๐Ÿ˜†

#

Ok i don't even know a word you guys said lol

fathom brook
#

sum1 cum 2 VC now

#

inn so lonley

#

plz

somber heath
somber heath
#
help(urllib.request)```
radiant geyser
somber heath
raw pumice
#

I'm not sure what I walked in to

#

But I don't like it

gentle flint
whole knot
#

your still in the vc???

gentle flint
#

no, again

#

I slept and returned

whole knot
#

Me too

wild falcon
whole bear
gentle flint
#

so, jazz, you got a USB?

whole knot
#

Intresting

#

why do i have announcement role?

gentle flint
#

so you can announce our demise

whole knot
#

Its easy

#

Flight radar gives the instructions

gentle flint
#

mhm

whole knot
#

time to do some problem solving

gentle flint
#
frozen coral
gentle flint
#

@frozen coral it won't connect

frozen coral
#

๐Ÿ˜‚

#

i think you got banned

gentle flint
#

no

#

that's not it

#

I can connect to any other voice channel

#

it's a discord bug

#

I've had it before

frozen coral
#

try restarting discord

gentle flint
#

I did

#

OK, idk

frozen coral
#

wanna go to diffrent server

#

different*

gentle flint
#

just go to general

#

it works for me

whole knot
#

Guys, is it ok if i aska question here?

frozen coral
whole knot
#

Ill send the code here

frozen coral
#

ok

whole knot
#
array = [12, 3]


for i, a in enumerate(array):
    if i <= 1:
        if len(array) - i > a:
            print(a)   
        else:
            print('oof')
#

so im trying (in the len position) to get the value of the int in that position

#

how do i do that

#

oof

#

im guessing its for the a and i values

#

i get oof twice

#

ok, take your time

#

ill think too

#

yes

#
if len(array) - i > a:
#

I want here to check the value in that certain len position

#

if you understand

#

swee

#

sweet

#

yeah if you want the problem im solving

#

this is the problem im solving

#

"Given an array of unique integers salary where salary[i] is the salary of the employee i.

Return the average salary of employees excluding the minimum and maximum salary."

frozen coral
#
l = ['-1.2', '0.0', '1']
for i in l:
    if i < x:
        x = i
#
for i in l:
    if i > x:
        x = i```
#

x = min(float(s) for s in l)

#

array = [12, 3]

whole knot
#

l = [-1.2, 0.0, 1]
for i in l:
x = min(float(s) for s in l)
if i > x:
x = i
print(x)

frozen coral
#

x = min(float(s) for s in array)

print(x)
#

output --> 1.2

whole knot
#
array = [1.2, 3.2, 1.4]

x = min(float(s) for s in array)
y = max(float(s) for s in array)

array.remove(x)
array.remove(y)
#
class Solution:
    def __init__ (self, array: list[int]):
        self.array = array
        self.x = min(float(s) for s in self.array)
        self.y = max(float(s) for s in self.array)

    def remov(self):
        self.array.remove(self.x)
        self.array.remove(self.y)


Solution = Solution([1,2,3,4])
Solution.remov()
#

class Solution:
def init (self, array):
self.array = array
self.x = min(float(s) for s in self.array)
self.y = max(float(s) for s in self.array)

def remov(self):
    self.array.remove(self.x)
    self.array.remove(self.y)

Solution = Solution([1,2,3,4])
Solution.remov()
coom = sum(Solution.array)
result = coom / len(Solution.array)

#
class Solution:
    def __init__ (self, array):
        self.array = array
        self.x = min(float(s) for s in self.array)
        self.y = max(float(s) for s in self.array)

    def remov(self):
        self.array.remove(self.x)
        self.array.remove(self.y)


Solution = Solution([1,2,3,4])
Solution.remov()
coom = sum(Solution.array)
result = coom / len(Solution.array)
somber heath
#

Yes.

#

Video streaming is restricted.

whole knot
frozen coral
#
    def average(self, salary: List[int]) -> float:```
leaden comet
#

@whole bear ?

olive sentinel
#

This is lemon

#

You recognize him by the beard.

leaden comet
#

a better question would be, who are you?

somber heath
#

Who are any of us?

olive sentinel
#

Instead of counting rings, like with trees, you count lemon's age in centimeters of beard.

leaden comet
#

beard fortnights

#

they say whenever I shave, I look ten years younger

#

so yes, that holds up

whole knot
#

class Solution:
    def average(self, salary) -> float:
        self.array = salary
        self.x = min(float(s) for s in self.array)
        self.y = max(float(s) for s in self.array)

        self.array.remove(self.x)
        self.array.remove(self.y)

        self.coom = sum(self.array)
        return self.coom / len(self.array)


Solution.average([1,2,3,4])
regal spindle
#

!rank

wise cargoBOT
#

Iterating over range(len(...)) is a common approach to accessing each item in an ordered collection.

for i in range(len(my_list)):
    do_something(my_list[i])

The pythonic syntax is much simpler, and is guaranteed to produce elements in the same order:

for item in my_list:
    do_something(item)

Python has other solutions for cases when the index itself might be needed. To get the element at the same index from two or more lists, use zip. To get both the index and the element at that index, use enumerate.

leaden comet
#

okay. hi. welcome.

olive sentinel
#

lemon's a member of this server as well

#

and he's a beardy fruit

#

or a fruitless beard

leaden comet
#

one of three.

#

you're fine

olive sentinel
#

We used to joke about lemon lemonsmashing everyone with his ban hammer, but we took his moderation role from him and now he's harmless

#

No, we're not. We're just involved in this online community that revolves around Python.

#

The programming language is about 30.5 years old at this point, if you count those first few weeks in December, 1989

#

The rise of Python is quite interesting. Unlike a lot of other language, who had an enormous rise in popularity at one point, Python's popularity has risen quite steadily over the years.

#

I'm not sure if it's really a hype if it does that. In my mind, hypes come quickly and go quickly, but Python's been growing steadily for about 30 years.

somber heath
#

Python is sexy.

#

I can say that without shame without needing to go to furaffinity.

whole knot
#
class Solution:
    def average(self, salary: List[int]) -> float:
        return (sum(self.salary) - max(self.salary) - min(self.salary)) / len(self.salary)
#

@frozen coral

#

Heres the solution

gentle flint
#

Merguez (, from Arabic: ู…ุฑู‚ุงุฒโ€Ž, also ู…ุฑูƒุงุณ, ู…ุฑู‚ุงุณ, ู…ุฑู‚ุงุต) is a red, spicy mutton- or beef-based fresh sausage from Maghrebi cuisine. It is also popular in the Middle East and Europe, having become particularly popular in France by the closing decades of the twentieth century....

swift valley
#

That sounds like overengineering honestly

#

That's like 5 levels of indirection

gentle flint
#

Mumbar is a type of sausage of possible Persian origin that is made with mutton, rice, black pepper, salt and cinnamon stuffed into an intestine casing - after the sausage has been cooked by boiling and allowed to cool, it is sliced and fried in butter. Sometimes it is dipped ...

frozen coral
#


print(session)

x = "<Response [404]>"

if session == x:
    print("this bitch not taken")

else:
    print("this bitch do be taken")```
#

<Response [404]>

gentle flint
#
session = requests.get('https://instagram.com/awfweafcdsfrawdfcwaefwEGTaqefawef')


print(session)

x = 404

if session.status_code == x:
    print("this bitch not taken")

else:
    print("this bitch do be taken")
whole knot
#

He Protecc

#

He Attacc

#

But most important:

gentle flint
#

yeah we know

whole knot
#

Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch

gentle flint
#

Taumatawhakatangihangakoauauotamateapokaiwhenuakitanatahu

#

Tweebuffelsmeteenskootmorsdoodgeskietfontein

#

means
fountain where two buffaloes where immediately shot doornail-dead with one shot

#

and it is in south africa

#

์ž์ผ๋ฆฌํ†จ ์š”์ • #ํœ˜๋ฐ”์ˆœ์žฌ ๋ณธ๊ฒฉ ์•„์ด๋Œ ๋ฐ๋ท”!
ํœ˜๋ฐ”์†ก ํœ˜๋ฐ”๋ฎค๋น„ ํ’€๋ฒ„์ „ ๊ณต๊ฐœ ๐ŸŽต
โ™ฅ์‚ฌ๋ž‘ํ•ด์š” ํœ˜๋ฐ”์ˆœ์žฌโ™ฅ

#ํ•€๋ž€๋“œ์‚ฐ๋ฐฑํ”„๋กœ๋Š”_๋กฏ๋ฐ์ž์ผ๋ฆฌํ†จ ๐ŸŽต
#๋‚ด๋งˆ์Œ์†๋ฐฑํ”„๋กœ๋Š”_ํœ˜๋ฐ”์ˆœ์žฌ

#๋กฏ๋ฐ์ž์ผ๋ฆฌํ†จ #ํ•€๋ž€๋“œ์‚ฐ์ž์ผ๋ฆฌํ†จ #๋ฐฑํ”„๋กœ #ํœ˜๋ฐ”ํœ˜๋ฐ”

โ–ถ Play video
whole knot
#

does antone recommend me other websites with problem sovling?

#

wow i just ff8888 my whole sentence

gentle flint
#

r/ihadastroke

whole knot
#

exactly

#

But anyways, do you know any other web for problem sovling

#

solving

#

์ž์ผ๋ฆฌํ†จ ์š”์ • #ํœ˜๋ฐ”์ˆœ์žฌ ๋ณธ๊ฒฉ ์•„์ด๋Œ ๋ฐ๋ท”!
ํœ˜๋ฐ”์†ก ํœ˜๋ฐ”๋ฎค๋น„ ํ’€๋ฒ„์ „ ๊ณต๊ฐœ ๐ŸŽต
โ™ฅ์‚ฌ๋ž‘ํ•ด์š” ํœ˜๋ฐ”์ˆœ์žฌโ™ฅ

#ํ•€๋ž€๋“œ์‚ฐ๋ฐฑํ”„๋กœ๋Š”_๋กฏ๋ฐ์ž์ผ๋ฆฌํ†จ ๐ŸŽต
#๋‚ด๋งˆ์Œ์†๋ฐฑํ”„๋กœ๋Š”_ํœ˜๋ฐ”์ˆœ์žฌ

#๋กฏ๋ฐ์ž์ผ๋ฆฌํ†จ #ํ•€๋ž€๋“œ์‚ฐ์ž์ผ๋ฆฌํ†จ #๋ฐฑํ”„๋กœ #ํœ˜๋ฐ”ํœ˜๋ฐ”

โ–ถ Play video
gentle flint
#

idk

#

https://www.instagram.com/{username}/?__a=1

whole knot
#

this is a drug advertisement?

gentle flint
#

sugar replacement

whole knot
#

oh

#

Chineese right

#

Chinese

#

or Korean?

gentle flint
#

korean

whole knot
#

ok

gentle flint
frozen coral
#

getting_acc = requests.get(f'https://www.instagram.com/{line}/?__a=1')

gentle flint
#

print(getting_acc.json())

frozen coral
#
            getting_acc = requests.get(f'https://www.instagram.com/{line}/?__a=1')

            checking = getting_acc.json()
#

line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

olive sentinel
#

It means the response data was empty and an empty string is not valid JSON

gentle flint
#

oh

#

good point

whole rover
#

!ban 366948861165568001 Violation of rule 5. After being instructed not to scrape instagram and receiving a 1 day ban for it you have continued to ask questions about this topic in the community.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied ban to @frozen coral permanently.

whole knot
#

OOF

gentle flint
#

how long is that ban for?

#

forever?

whole knot
#

1 day i think

quasi condor
#

Permanently

in a way that lasts or remains unchanged indefinitely; for all time.

gentle flint
#

oh well

whole knot
#

Anyone wanna play Hereos and Generals?

#

or csgo?

#

Im taking a short coding break

#

and ill move on to data structures

wind cobalt
wind cobalt
wind cobalt
gentle flint
wind cobalt
gentle flint
#

magic mark
the illusionist who lets election promises disappear

molten plaza
#

Keep in mind this channel is no exception to our rules, and is for normal conversations. Not a meme/shit posting channel.

gentle flint
#

k

#

it was accompanying our general conversation in vc, so it seemed suitable, as that is the intended purpose of this channel.

wind cobalt
#

indeed

somber heath
#

Come chat with us. We have cookies.

gentle flint
#

mhm

#

and politics

#

danger zone cue

#

we also have 1 zapped sausage roll

#

here is the video @wind cobalt

dapper meteor
#

ok

whole knot
#

Jorg Washington was the first you see, he once chopped down a unity tree

wind cobalt
#

@whole bear Shuba Prabatam

whole bear
#

namaste!

#

but nobody says that anymore lmao

#

Jorg Washington was the first you see, he once chopped down a unity tree
@whole knot ah yes! the good ol' jorg days

wind cobalt
#

We have some sanskrit loanwords in my language

whole bear
#

oh

#

do u guys all know python?

#

or learning?

somber heath
#

I tout myself as a hobbyist.

whole knot
#

ik the syntax, but my strategic thinking is poor

somber heath
#

I know Python, but I'm still always learning.

#

As everyone who does Python ought to.

#

Excelsior and all that.

whole bear
#

okk

gentle flint
#

A moderator already told me, thanks

#

also, as I said to them, it was relative to the conversation

crimson light
gentle flint
#

btw, you're not a moderator, right?
or did you become one recently?

#

not sure

somber heath
#

Join us in voice. We have evil plans.

#

Eeeevil.

gentle flint
#

Oh, I see

wind cobalt
#

Every Villian Is Lemon

gentle flint
#

maybe I'll be a self-appointed dissident

somber heath
#

Gradle, code, load, node, mode

wind cobalt
#

toad

somber heath
#

Not geeky enough.

wind cobalt
#

bloat

#

i apologize, your excellency

somber heath
#

bload, maybe. Old BASIC command, I think.

#

Binary load.

wind cobalt
#

the world is a spectrum

errant helm
balmy nymph
#

Well done

errant helm
#

haha

balmy nymph
#

^ this is a really good guide

errant helm
#

why are you not on voice with us

#

:>

balmy nymph
#

Because I'm on phone

errant helm
#

aha

balmy nymph
#

I could maybe join for like, 5 minutes lol

somber heath
#

I'm on phone.

errant helm
#

it's okay haha

gentle flint
#

I'm on chair

#

is the phone more comfortable?

balmy nymph
#

Lol I can't change the voice volume because I'm casting Spotify at the same time

#

That's actually android haha

#

Aaaanndd I need to go, cya haha

somber heath
#

@gentle flint Arse sore. Phone overheating. Sitting on phone: Not recommended.

gentle flint
#

poor arse

#

I suppose it comes of being an asshole

wind cobalt
#

@gentle flint Arse sore. Phone overheating. Sitting on phone: Not recommended.
@somber heath Arms are heavy, palms are sweating

#

mom spaghetti

whole knot
#

yumm

gentle flint
#

my microphone is a wiko jerry 1

whole bear
#

330ms

#

fuk

gentle flint
#

54

somber heath
#

HTC earphone/mic. Indestructible.

whole bear
#

nokia phone>>>htc earphone

somber heath
#

No argument.

whole bear
#

max server muted?

#

noice

#

@errant helm u look like this guy

crimson light
#

owolib

gentle flint
#

uwulib?

crimson light
#

NO!

whole bear
#

my bad

#

-_-

wind cobalt
#

UwU

errant helm
whole bear
#

can i stream myself learning python from codecademy on this server?

#

oh yea

#

F

wind cobalt
#

Pain is Bread

gentle flint
#

ok

#

baguette

errant helm
balmy nymph
#

Nice.

errant helm
gentle flint
errant helm
gentle flint
errant helm
crimson light
wind cobalt
#

is humanity an instrument?

gentle flint
#
import random
while True:
    print(random.choice(["owo", "uwu"]))
errant helm
visual leaf
#

stop simping for me

errant helm
#

pfft

#

haha

somber heath
#

We are all suitably impressed.

gentle flint
#

๐Ÿ’ฏ

crimson light
#
int i = true;
wind cobalt
#

print("why tho?")

gentle flint
whole bear
#

sorry i cant

#

ye

#

i playing minecraft

#

from japan

#

omg

#

xDDDD

#

where are you from?

#

Malaysia and London?

gentle flint
#

I'm from Amsterdam

#

not London

whole bear
#

oh

#

xD

#

the program is universal

gentle flint
#

yep

whole bear
#

LOL

#

yees

#

i am japanese xD

#

SUGOI

#

xDDDDDDDDDD

whole bear
#

?

gentle flint
#

!

whole bear
#

xD

#

yes..? xD

#

xDDD

#

please add me

#

yaay

#

thanks lextoll

#

hm

#

i'm about to leave the call

#

xD

#

again see you again? xD

#

ใพใŸๆ˜Žๆ—ฅ?see you tomorrow?

#

xD

#

ill sleep

#

good night

#

and have a nice day

#

bye

whole bear
#

hello

wind cobalt
#

hello

#

I speak human

errant helm
gentle flint
#

Youโ€™ve got to be kidding me. Iโ€™ve been further even more decided to use even go need to do look more as anyone can. Can you really be far even as decided half as much to use go wish for that? My guess is that when one really been far even as decided once to use even go want, it is then that he has really been far even as decided to use even go want to do look more like. Itโ€™s just common sense.

#

I couldn't fail to disagree with you less

whole bear
#

ok nice

#

bye

gentle flint
#

Time flies like an arrow; fruit flies like a banana.

whole knot
#

!e print('Hello')

wise cargoBOT
#

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

errant helm
#

I'm still watching it

#

it's glorious

wind cobalt
#

at 1:40

errant helm
#

:>

#

if you're interested in their improvised instruments and stuff then this is a good demo https://www.youtube.com/watch?v=qTJfITfbYNA

September 26, 2016 by BOB BOILEN โ€ข They came, they measured, and they returned to perform a show like no other. It was the great NPR Tiny Desk Takeover by Blue Man Group.

If you've not seen this performance ensemble and their production in New York, Las Vegas, Orlando, Boston...

โ–ถ Play video
wind cobalt
#

glorious indeed

#

but why?

whole knot
#

ima play csgo

#

anyone wanna join me to hear toxic russians swear?

#

answer please

errant helm
#

why? why not?

#

this also has a funny at the end

wind cobalt
#

lol

#

the tunes kinda awesome

errant helm
#

they're great

#

they have albums on spotify and stuff

wind cobalt
#

but im not sure if its a useful resource

gentle flint
fathom brook
#

What is this place

frosty lodge
#

hey i have a really simple tech issue that i can use help wit. when i open a pdf, within 5 minutes, it crashes and shows this screen.

stuck furnace
#

Erm?

fathom brook
#

please help this young man

#

he just wants to get an education

stuck furnace
#

Yeah I have no idea

#

What program did you use to open it?

#

So, google chrome?

#

Hold on, I'm furiously googling

#

Why not download the file, then use a different pdf viewer

#

see if it still crashes

#

Are you on Windows?

#

I don't use Windows so I'm guessing... yes?

#

Did it crash?

#

Idk, there are a million things that could cause it to crash

#

Yeah it might do

#

No problem

#

aha yeah

#

Say LX out loud

#

yep

#

Erm, no

#

I've heard of them

#

not seen them

#

I think they're dreamworks?

#

Righto, I'm off

#

Cya

whole knot
#

Woah you wrote alot of words

gentle flint
#

@fathom brook this chat?

#

it's for the purpose

fathom brook
#

help me

#

why is it not working

gentle flint
#

does it show voice connected in the corner

analog ginkgo
#

idk say something

#

no you dont have a mic symbol

gentle flint
#

py-flightplandb

#

perhaps?

#

fpdb

twilit lagoon
#
    def twoSum(self, nums: List[int], target: int) -> List[int]:
        numsMap = {nums[i]:i for i in range(len(nums))}
        snums = sorted([i for i in nums if i <= target])[::-1]
        l = len(snums)
        for i in range(l):
            sm = snums[i]
            indexes = [numsMap[snums[i]]]
            n = 0
            while True:
                n+=1
                for j in range(l-n-i):
                    num = snums[j+n+i]
                    total = sm+num
                    if total < target:
                        indexes += [numsMap[snums[j+n+i]]]
                        sm += num
                    elif total == target:
                        indexes += [numsMap[snums[j+n+i]]]
                        return indexes```
stuck furnace
#

Can I help?

twilit lagoon
#
    def twoSum(self, nums: List[int], target: int) -> List[int]:
        n = 0
        l = len(nums)
        for i in range(l):
            n+=1
            for j in range(l-n):
                sm = nums[i]+nums[j+n]
                if sm == target:
                    return [i,j+n]```
jovial meadow
#
for idx, item in enumerate(items, start=2):
twilit lagoon
#
    def twoSum(self, nums: List[int], target: int) -> List[int]:
        l = len(nums)
        for i in range(l-1):
            for j in range(i+1,l):
                if nums[i]+nums[j] == target: return [i,j]```
stuck furnace
#

Basically, big-oh is concerned with how the running time of the algorithm grows as the size of the input grows.

#

O(n) means that if the input size (number of elements in the list) doubles, then the running time roughly doubles

#

O(n^2) means if the input size doubles, the running time is roughly multiplied by four

#

(technically this is an abuse of notation, btw)

jovial meadow
#

O(1), O(k), O(n), O(n^2), O(nlog(n)), O(n^n)

#

O(log(n))

stuck furnace
#

O(log(n)) means if the input size doubles, the running time increases by a constant amount

#

So, for example, if you double the number of pages in the book, you have to do only one additional iteration of the binary-search algorithm.

jovial meadow
#

class Solution:
def twoSum(self, nums: List[int], target: int) -> List[int]:
l = len(nums)
for i in range(l-1):
if nums[i]+nums[j] == target: return [i,j]
for i in range(l-1):
if nums[i]+nums[j] == target: return [i,j]

#

N ? N

#

n + n

#

N + N = o(N)

#

[1,2,3,4,5], t = 5
^
{1: 0,
2: 1}

#

[1,2,2,4,5], t=4
{}

twilit lagoon
#
    def twoSum(self, nums: List[int], target: int) -> List[int]:
        hashmap = {}
        for i in range(len(nums)):
            sm = target-nums[i]
            if sm in hashmap:
                return [i, hashmap[sm]]
            hashmap[nums[i]] = i```
vestal halo
somber heath
#

๐Ÿ˜ถ

stuck furnace
#

!docs enumerate

wise cargoBOT
#
enumerate(iterable, start=0)```
Return an enumerate object. *iterable* must be a sequence, an [iterator](../glossary.html#term-iterator), or some other object which supports iteration. The [`__next__()`](stdtypes.html#iterator.__next__ "iterator.__next__") method of the iterator returned by [`enumerate()`](#enumerate "enumerate") returns a tuple containing a count (from *start* which defaults to 0) and the values obtained from iterating over *iterable*.

```py
>>> seasons = ['Spring', 'Summer', 'Fall', 'Winter']
>>> list(enumerate(seasons))
[(0, 'Spring'), (1, 'Summer'), (2, 'Fall'), (3, 'Winter')]
>>> list(enumerate(seasons, start=1))
[(1, 'Spring'), (2, 'Summer'), (3, 'Fall'), (4, 'Winter')]
```  Equivalent to:

```py
def enumerate(sequence, start=0):
    n = start
    for elem in sequence:
        yield n, elem
        n += 1
twilit lagoon
#
    MIN,MAX = min(arr),max(arr)
    lst = [0] * (MAX-MIN+1)
    for k in arr:
        lst[k-MIN] += 1
    return [k for l in [[i+MIN]*lst[i] for i in range(len(lst)) if lst[i]] for k in l]```
#
Wikiwand

Pigeonhole sorting is a sorting algorithm that is suitable for sorting lists of elements where the number of elements and the length of the range of possible key values are approximately the same.[1] It requires O time. It is similar to counting sort, but differs in that it "...

jovial meadow
#
  • Selection Sort
  • Inertion sort
  • bubble sort
  • quick sort
  • merge sort
  • radix sort
  • bucket sort
  • heap sort
stuck furnace
#

Nonsense

#

I can explain quicksort using Hungarian folk dancing

#

Created at Sapientia University, Tirgu Mures (Marosvรกsรกrhely), Romania.
Directed by Kรกtai Zoltรกn and Tรณth Lรกszlรณ.
In cooperation with "Maros Mลฑvรฉszegyรผttes", Tirgu Mures (Marosvรกsรกrhely), Romania.
Choreographer: Fรผzesi Albert.
Video: Lล‘rinc Lajos, Kรถrmรถcki Zoltรกn.
Support...

โ–ถ Play video
#

Is this A-level decision mathematics you're talking about? @twilit lagoon

#

Yeah I didn't enjoy that module

#

really monotonous

#

And gantt charts omg

#

The problem is a lot of curricula are designed by commitee

#

Yeah, it's a real shame that vocational qualifications are often looked down on

#

Ada is used a lot by the US millitary

#

He was addicted to benzodiazepines

#

Xanax is a brand name for one

dapper meteor
#

what is this conversation

fringe bramble
#

theres a random dude

#

trolling ig?

stuck furnace
#

@dapper meteor no idea, random people

dapper meteor
#

this went from making fun of college to this

fringe bramble
#

if this dude leaves we'll have a decent convo for the beginner

dapper meteor
#

im going to be honest. i only come to these conversations to improve my social skills

fringe bramble
#

watcha up 2?

dapper meteor
#

wrong timezone

stuck furnace
#

cya

dapper meteor
#

this isnt funny

#

it came from 1980

#

not ancient times

stuck furnace
#

Yeah, I think in future, just mute them rather than getting into a confrontation

#

@somber heath

#

They joined the chat at the same time

dapper meteor
#

@somber heath nice pfp

somber heath
#

@stuck furnace I'll do me. ๐Ÿ™‚

#

@dapper meteor ๐Ÿ˜‹

stuck furnace
#

Have you heard of Numba?

somber heath
#

It's a slice of a tilable random walk-influenced depth first search fill in three dimensions.

somber heath
#

With colour value averaging of alive neighbors and mutation along the walk

stuck furnace
#

Wait, just before those guys joined earlier, did anyone else randomly disconnect from Discord?

#

@somber heath what are you on about?

#

Oh, your profile pic

somber heath
#

๐Ÿ‘

dapper meteor
#

what is this

dapper meteor
#

99 C?

ruby wind
#

pog

dapper meteor
#

did they make an intel 9

#

cpu

ruby wind
#

i9?

stuck furnace
#

There was recently some drama at ARM

#

The head of their Chinese branch was fired but refused to leave

#

RISC-V looks promising

#

It's similar to ARM (they're both RISC), but with an open license

ruby wind
stuck furnace
#

cya

zinc crane
#

*play du bist

jovial meadow
#

โ˜…My Suggested Videosโ˜…
์ˆจ์–ด ๋‹ค๋‹ˆ๋ฉฐ ํ‹ˆํ‹ˆ์ด ๋‚˜๋ฅผ ์ฐพ์•„์˜ค๋Š” ์•„๊ธฐ #๋‹ค๋žŒ์ฅ ์•„๋žŒ์ด
#Chipmunk Aram Visits Me And Hides In Plain Sight
https://youtu.be/OxQ2ttgijlE

๋ชฉ๋œ๋ฏธ ๋งŒ์ ธ์ฃผ๋ฉด ์ข‹์•„ํ•˜๋Š” ์•„๊ธฐ ๋‹ค๋žŒ์ฅ ์•„๋žŒ์ด
Baby Chipmunk Aram Loves A Neck Massage
https://youtu.be/Pj5C4LAnHes

๋ฝ€์–€ ์ˆœ๋‘ฅ์ด ์•„๊ธฐ ๋‹ค๋žŒ์ฅ ์นœ๊ตฌ ์ด๋ฆ„์„ ์ง€์–ด์ฃผ์„ธ์š”
Help Me Make A Name...

โ–ถ Play video
whole bear
#

hi

kind summit
#

<h2>EU-PVP-Official-GenOne-SmallTribes102

somber heath
#

BeautifulSoup

#

Or re

kind summit
#

Fatal error in launcher: Unable to create process using '"c:\python38\python.exe" "C:\Python38\Scripts\pip.exe" install beautifulsoup4': The system cannot find the file specified.

somber heath
#

python -m pip install beautifulsoup4

#

Maybe.

somber heath
#
    print(i)```
#
print(_list)```
#

_list = [(x, 0) for x in range(10)]

#

_list = [(x,y) for x in range(10) for y in range(10)]

fringe bramble
#

009 -> 010

somber heath
#
   for y in range(10):
       print(x,y)```
#

[print('Evil code') for i in range(10)]

#

()

#

(i for i in range(10))

#

tuple(i for i in range(10))

#

{a:b for a,b in [('one', 1), ('two', 2)]}

wind cobalt
#

is there any C# discord?

fringe bramble
#

:-1

somber heath
#

{a[0]:a[1] for a in [('one', 1), ('two', 2)]}

#
a == 1
b == 2```
fringe bramble
#

gtg^ srry for not being able to say so in vc ๐Ÿ˜…

somber heath
#

๐Ÿ‘

warm jackal
#

Can someone help me?

#

I have a problem on pygame

#

Some key is not working

stuck furnace
#

What's your current mathematical background?

#

Oh, at university?

#

So basic linear algebra and calculus?

#

Ah right

#

MIT OCW courses might be right for you

#

Sure, I'll try to find it

#

I don't, but I've always found their online content good

#

Open CourseWare

#

That's true, unless you use a pointer

#

If you want to better understand the execution model of Python, you should try pythontutor.com @fast drift

#

Python does less to stop you writing really messy programs than a statically typed language

severe elm
#

oh thx i will definetly look it up

stuck furnace
#

@plush plover it's become better now that they've added optional static type checking

#

@fast drift I actually agree with you

#

I think it's a misconception that python is an 'easy' language

#

Look up Peter Norvig

#

He's got some really good examples of Python code on his GitHub

#

I think I remember reading some study that it's actually better to learn by example when learning a programming language

#

I think it's because he's an old-school Lisp programmer, and Python was inspired by lisp

#

Yeah, you have to be pretty disciplined when writing python to keep your code in order and make sure it's sufficiently documented

#

The following are equivalent:

#
@mydecorator
def f():
   ...
#

and

#
def f():
    ...
f = mydecorator(f)
#

cya

#

Aha ok

#

Right, I'm off anyway

severe elm
#

alright man

#

have a nice day, i will definetly look those links up and read through them

dapper meteor
#

too late

#

made in paint my self

#

self portrait

#

yeah

dapper meteor
#

so i made a quick program using pyautogui and i put a while true loop

#

and i couldnt move my mouse

#

so i tried to alt f4 my way through

#

i almost deleted an essay i was working on

#

wtf

#

run, its the emo kids

#

sorry i meant drunk

#

aren't trainers, shoes?

#

@crimson light are you making a plugin or mod

#

nvm i thought you were working on minecraft

stuck furnace
#

sorry, it's late here

#

just eavesdropping

crimson light
#

(it's fine)

#
class Example:
    def __init__(self):
        self.num = 42
    def print_num(self):
        print(self.num)

example = Example()
example.print_num()  # 42
example.num = -1
example.print_num()  # -1
dapper meteor
#

but its an integer

crimson light
#

fine then

dapper meteor
#

wont it be an error

crimson light
#

no

dapper meteor
#

i think you can make minecraft plugins with python

#

yeah, using a wrapper

#

but im too lazy to learn java

crimson light
dapper meteor
#

you laughing makes me laugh

#

not really

#

i smiled

stuck furnace
#

you guys must just be getting wall-to-wall political ads over there

dapper meteor
#

the mod Ok Zoomer"

#

he made me guess the name

#

it took like ten minutes

stuck furnace
#

oh yeah, he made a robot dog rickshaw

#

bridge building game

#

it's actually pretty good

#

yep

#

can be very stressful

dapper meteor
#

@jovial meadow i got the same thing with youtube

#

it was an ad from donald trump played in the top corner of the webpage

#

this is the ad

#

i think this is false advertising

#

i play minecraft

stuck furnace
#

@queen folio tell them to use vim

#

nah vs code is alright

somber heath
#
pantry = ['flour', 'egg', 'lettuce']
for meal in meal_ingredients:
    if all(ingredient in pantry for ingredient in meal_ingredients[meal]):
        print(meal)``` For whoever was talking about their Python Kitchen thing.
granite field
granite field
#

@fringe turret

fringe turret
#

file_p=input("enter file path ")
secret_word=choose_word(file_p,input("enter index "))

#

C:\Users\nadav\Desktop