#off-topic-lounge-text

1 messages · Page 3 of 1

warm parrot
#
for file in files_to_store:
    dupe = file.split("\")[-1]
    dupe = f"{file}_dupe.txt"
    find_common_names(master, file, dupe)
next saffron
#

.split(r"\")[-1]

warm parrot
#
 file = file.split(r"\")[-1]"

#
file = file.split(r"\")"[-1])
next saffron
#

str(file).replace(r"\", "/").split("/")

warm parrot
#
import os

dir_path = r'C:\Users\itayb\Desktop\NNames'
files_to_store = []
master = input("please drag the master file")
for file in os.listdir(dir_path):

    if file.endswith('.txt'):
        files_to_store.append(dir_path + "/" + file)


def find_common_names( file1, file2, output ):
    with open( file1, "r") as _f1:
        file1 = _f1.readlines()

    with open( file2, "r") as _f2:
        file2 = _f2.readlines()

    with open( output, "w") as _out:
        for name in file1:
            if name in file2:
                _out.write(name)


for file in files_to_store:
    #file = str(file).replace(r"\", "/").split("/")
    print(file)
    dupe = f"{file}_dupe.txt"
    print (dupe)
    find_common_names(master, file, dupe)

adi.txt_dupe.txt

#
files_to_store.append(dir_path+file)
#
C:\Users\itayb\Desktop\NNames/itay.txt_dupe.txt
warm parrot
#
import os

dir_path = r'C:\Users\itayb\Desktop\NNames'
master = r'C:\Users\itayb\Desktop\master.txt'
files_to_store = []

for file in os.listdir(dir_path):

    if file.endswith('.txt'):
        files_to_store.append(dir_path+"/"+file)

def this_is_how_i_count():
    this_is_how_i_count.counter += 1
this_is_how_i_count.counter = 0


def find_common_names( file1, file2, output ):
    with open( file1, "r") as _f1:
        file1 = _f1.readlines()

    with open( file2, "r") as _f2:
        file2 = _f2.readlines()

    with open( output, "w") as _out:
        for name in file1:
            if name in file2:
                _out.write(name)
                this_is_how_i_count()


for file in files_to_store:
    ##file = str(file).replace(r"\"", "/").split("/")
    dupe = f"{file}_dupe.txt"
    find_common_names(master, file, dupe)
    print(f"this is how many duplicates were found inside {dupe} : {this_is_how_i_count.counter}")
    this_is_how_i_count.counter = 0




#

this is how many duplicates were found inside C:\Users\itayb\Desktop\NNames/itay.txt_dupe.txt : 1

#

itay.txt_dupe.txt

#

itay_dupe.txt

calm bay
#

!d pathlib.Path

timid fjordBOT
#

class pathlib.Path(*pathsegments)```
A subclass of [`PurePath`](https://docs.python.org/3/library/pathlib.html#pathlib.PurePath "pathlib.PurePath"), this class represents concrete paths of the system’s path flavour (instantiating it creates either a [`PosixPath`](https://docs.python.org/3/library/pathlib.html#pathlib.PosixPath "pathlib.PosixPath") or a [`WindowsPath`](https://docs.python.org/3/library/pathlib.html#pathlib.WindowsPath "pathlib.WindowsPath")):

```py
>>> Path('setup.py')
PosixPath('setup.py')
```  *pathsegments* is specified similarly to [`PurePath`](https://docs.python.org/3/library/pathlib.html#pathlib.PurePath "pathlib.PurePath").
calm bay
#

!e

from pathlib import Path

p = Path("/a/b/c/d/file.txt")
name = p.stem
print(name)
timid fjordBOT
#

@calm bay :white_check_mark: Your 3.11 eval job has completed with return code 0.

file
viral egret
#

hi

neat quail
#

!e

timid fjordBOT
#
Missing required argument

code

gilded granite
#

👋

primal bison
#

!e

timid fjordBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <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.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

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

primal bison
#

@timid fjord

soft reef
#

!e 3 import discord
from discord.ext import commands

bot = commands.Bot(command_prefix='!', intents=intents)

@bot.event
async def on_ready():
print('Logged in as')
print(bot.user.name)
print(bot.user.id)
print('------------')

@bot.command()
async def hello(ctx):
await ctx.send("hello")

@bot.command()
async def clear(ctx, amount:int):
"""Clears lines depending on the ammount"""
await ctx.channel.purge(limit=amount)

bot.run('Token')

timid fjordBOT
#

@soft reef :x: Your 3.10 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     3 import discord
003 |       ^^^^^^
004 | SyntaxError: invalid syntax
soft reef
#

!e import discord
from discord.ext import commands

bot = commands.Bot(command_prefix='!', intents=intents)

@bot.event
async def on_ready():
print('Logged in as')
print(bot.user.name)
print(bot.user.id)
print('------------')

@bot.command()
async def hello(ctx):
await ctx.send("hello")

@bot.command()
async def clear(ctx, amount:int):
"""Clears lines depending on the ammount"""
await ctx.channel.purge(limit=amount)

bot.run('Token')

#

!e print("Im alive")

timid fjordBOT
#

@soft reef :white_check_mark: Your 3.11 eval job has completed with return code 0.

Im alive
primal bison
#

!e print("Im alive")

woeful mauve
#

!e print("test")

timid fjordBOT
#

@woeful mauve :white_check_mark: Your 3.10 eval job has completed with return code 0.

test
buoyant lake
#

!e print("alu World")

timid fjordBOT
#

@buoyant lake :white_check_mark: Your 3.11 eval job has completed with return code 0.

alu World
primal bison
#

DM ME TO HELP ME IN VC

fallen ledge
#

hey guys how to exit this vim ???.

obtuse pond
#

How to go live codding?

formal pewter
#

Write a python program to check prime number or not. help me for this code pls

pine tusk
pine tusk
pine tusk
hard perch
#

!e print("test")

fallen ledge
vernal canyon
#

giacomo è ricchione

inland gale
#

sup guys can i ask a little question

#

does somebody know how i can sort a string in alphabetic form. I can't use the function sorted() tho??

hot quail
#

!code

timid fjordBOT
#

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.

clear light
#

Why your terminal is blinking

#

Do directly on cloud

#

you mean ETL

twin magnet
#

!cose

#

!code

timid fjordBOT
#

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.

shy dragon
#

Anyone know how to solve this?

vast comet
#

["Hi name", "name Hi", "Hi is", "is Hi", "Joey Hi", "is my", "is name", "my is", "is Joey", "Joey my", "Hi my", "my name", "name Joey", "name my", "Joey name", "name is", "my Hi", "Hi Joey", "my Joey", "Joey is"]

heavy crane
#

@tawny heart

#Bonus: Plot Cp (for p=0) and Cv (for V=Vo) as a function of temperature. Comment on how different they are? (do the derivatives numerically)
import numpy as np

T = np.linspace(1, 1000, 10000)  # K
figure6 = plt.figure(figsize=(10, 6))  # set figure size, name figure
HeatCapacityAtConstantVolume = []
Vratio = 1
s = 0
for temperature in range(10000): #runs through temperatures from 300 to 800
    temp = T[s]
    w = w0*(1-gamma*(Vratio-1)) #frequency
    B = np.exp(hbar*w/(k*temp))  # e^-hw/kt
    Epot = A*(Vratio-1)**2 #Potential energy
    HeatCapacityAtConstantVolume.append((3*N*k*((hbar*w/(k*temp))**2))*(B/((B-1)**2)))
    s += 1

Cp = []
Vratio = np.linspace(0, 1.6, 10000)
s = 0
for temperature in range(10000): #runs through temperatures from 300 to 800
    temp = T[s]
    w = w0*(1-gamma*(Vratio-1)) #frequency
    B = np.exp(-hbar*w/(k*temp))  # e^-hw/kt
    Epot = A*(Vratio-1)**2 #Potential energy
    F = np.array((3*N)*(hbar*w/2)+3*N*k*temp*np.log(1-B)+Epot) #Helmholtz energy function
    minimumy = np.min(F)
    xindex = np.where(F == minimumy)
    minimumx = np.array(Vratio[xindex])
    w = w0*(1-gamma*(minimumx-1)) #frequency
    B = np.exp(hbar*w/(k*temp))  # e^-hw/kt
    Epot = A*(minimumx-1)**2 #Potential energy
    Cp.append((3*N*k*((hbar*w[0]/(k*temp))**2))*(B[0]/((B[0]-1)**2)))
    s += 1

axes6 = figure6.add_subplot(121)
axes6.plot(T, HeatCapacityAtConstantVolume, label = "Cv")  # plot y v x and label
axes6.set_xlabel('Temperature')  # label x axis
axes6.set_ylabel('Heat Capacity [eV/K]')  # label y axis
axes6.set_title('Heat Capacity vs Temperature')
plt.legend()

axes6 = figure6.add_subplot(122)
axes6.plot(T, Cp, label = "Cp", color = "green")  # plot y v x and label
axes6.set_xlabel('Temperature')  # label x axis
axes6.set_ylabel('Heat Capacity [eV/K]')  # label y axis
axes6.set_title('Heat Capacity vs Temperature')
plt.legend()
plt.show()  # show plot
nocturne plume
#

" ".join(permutations(words, 25))

#
>>> words = words.split()
>>> print(words)
['word1', 'word2', 'word3']
>>> print(permutations(words, 3))
<itertools.permutations object at 0x000001FBE6D43920>
>>> print(*permutations(words, 3))
('word1', 'word2', 'word3') ('word1', 'word3', 'word2') ('word2', 'word1', 'word3') ('word2', 'word3', 'word1') ('word3', 'word1', 'word2') ('word3', 'word2', 'word1')
>>>
heavy crane
tawny heart
heavy crane
#

in the chapter 3

tawny heart
#

Not using probability or geometry in any way

heavy crane
#

ur right

#

lol

#

i misread it

nocturne plume
#
>>> words = "word1 word2 word3"
>>> words = words.split()
>>> print(words)
['word1', 'word2', 'word3']
>>> print(permutations(words, 3))
<itertools.permutations object at 0x000001FBE6D43920>
>>> print(*permutations(words, 3))
('word1', 'word2', 'word3') ('word1', 'word3', 'word2') ('word2', 'word1', 'word3') ('word2', 'word3', 'word1') ('word3', 'word1', 'word2') ('word3', 'word2', 'word1')
>>> perms = list(permutations(words, 3))
>>> all_possible_phrases = []
>>> for perm in perms:
...     all_possible_phrases.append(" ".join(perm))
...
>>> all_possible_phrases
['word1 word2 word3', 'word1 word3 word2', 'word2 word1 word3', 'word2 word3 word1', 'word3 word1 word2', 'word3 word2 word1']
#

!e

x = [1, 2, 3, 4 , 5]
for i in x:
  print(i)
timid fjordBOT
#

@nocturne plume :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 1
002 | 2
003 | 3
004 | 4
005 | 5
vast comet
#

for phrase in [all_possible_phrases]:

nocturne plume
#

for phrase in all_possible_phrases:

night lily
#

How many words are in play here in practice?

left prism
#

@carmine current what's your GPU?

#

thanks

snow grail
#

sniff

#

tortuous means complex.

#

🥴

#

kernel get perms.

#

weew

#

shy

#

@high geode

#

ye

#

uhk

#

y

#

shy

#

snek doesn't talk

#

kree

#

@high geode

buoyant kestrel
#

!stream 575108662457139201

timid fjordBOT
#

✅ @ornate sigil can now stream until <t:1668190591:f>.

buoyant kestrel
#

@high geode long time no see

#

!stream 575108662457139201 30M

timid fjordBOT
#

✅ @ornate sigil can now stream until <t:1668192529:f>.

glass forum
paper seal
#

i have no idea what im looking at 🥴

#

@ornate sigil 😭

carmine kelp
high geode
undone vessel
#

py```
sss = f'x:{f"{x:05}":>8} y:{f"{y:05}":>8}'
print(sss)

#

can we make a 3rd level of format ?

undone vessel
#

it seems not. this is because same symbol for opening and closing string ...

warped ore
#

I am in dire need of help i have a school assignment/project

#

and im blanking

#

pls i speak fluent english if anyone can help pls dm me and we can call or message pls

winged steppe
#

Hello anyone help me in coding

swift wyvern
#

hello srublord

#

oh i thought this was a live coding session

#

mb

tepid skiff
#

hi

crystal notch
#

Why not

#

Get a cig

#

Choke on smoal

#

Smoak

#

Smoke

#

What ever the spelling is

crystal notch
#

Leesss GOOOOO

#

10k 12knock

pallid raft
#

tf

barren brook
#

Bro i need help

tame citrus
#

alright im here @quasi thistle

quasi thistle
#

ik

tame citrus
#

just need to finish setting up python on this profile

quasi thistle
#

ok

#

@light axle shush

tame citrus
#

i guess that's what you wanted

quasi thistle
#

@tame citrus

import datetime

date_time_str = 'Jun 28 2018 7:40AM'
date_time_obj = datetime.datetime.strptime(date_time_str, '%b %d %Y %I:%M%p')

print('Date:', date_time_obj.date())
print('Time:', date_time_obj.time())
print('Date-time:', date_time_obj)
#

try once

vagrant wadi
#

i wish i could talk

tame citrus
#

you can type

#

i can't hear you so it would be wasted anyways

#

is there a reason as to why you dont wanna use that module before @quasi thistle

quasi thistle
#

huh no

tame citrus
#

nvm

#

it works now

quasi thistle
#

yooo

it works

tame citrus
#
import datetime

date_time_str = 'Jun 28 2018 7:40AM'.lower()
date_time_obj = datetime.datetime.strptime(date_time_str, '%b %d %Y %H:%M%p')

print('Date:', date_time_obj.date())
print('Time:', date_time_obj.time())
print('Date-time:', date_time_obj)```
quasi thistle
#

great

tame citrus
#

the reason being is that you were supposed to use %H

quasi thistle
#

ok

tame citrus
#

now im gonna freestyle a bit

quasi thistle
#

@light axle

brother can you pls be in mute

quiet heath
#

Hello there

tame citrus
#

Hi

quasi thistle
#

ay

quiet heath
quasi thistle
tame citrus
#

you need perms

quiet heath
quasi thistle
quiet heath
quasi thistle
quiet heath
quasi thistle
quasi thistle
quiet heath
tame citrus
#

you can ask a mod but i doubt they'll randomly give your perms tbh

quiet heath
#

what's the problem if someone else ss in same time

cold lintel
#

@light axle You've got music coming though

quasi thistle
quasi thistle
cold lintel
#

Or you're speaking though a vocoder pithink

quiet heath
#

Imma go make a module

#

any ideas?

quasi thistle
tame citrus
#

i didnt realize a mod was here lol

#

anyways

quiet heath
quasi thistle
cold lintel
# tame citrus vorcoder?

A vocoder (, a portmanteau of voice and encoder) is a category of speech coding that analyzes and synthesizes the human voice signal for audio data compression, multiplexing, voice encryption or voice transformation.
The vocoder was invented in 1938 by Homer Dudley at Bell Labs as a means of synthesizing human speech. This work was developed int...

cold lintel
quiet heath
quiet heath
#

yo

#

what @tame citrus installing

tame citrus
#

i didnt install anything?

tame citrus
quiet heath
cold lintel
#

i c

tame citrus
quiet heath
#

kk

#

nah

#

its not annoying

quasi thistle
#

who was playing twinkle twinkle

quiet heath
cold lintel
quiet heath
tame citrus
#

was helping bonky with something they needed help with and now just freestyling

#

from what i helped them with

quiet heath
tame citrus
#

im okay

quiet heath
#

kk

cold lintel
#

gtg 👋

tame citrus
quiet heath
#

hey

#

@primal bison can yall live coding?

primal bison
quiet heath
hardy remnant
#

@manic valve

primal bison
#
x = ['1', '2', '3']
y = map(int, x)
print(y)
#

@restive orchid

#
int('1')
#
range(0, 1)
#

!e

x = ['1', '2', '3']
y = map(int, x)
print(y)
timid fjordBOT
#

@primal bison :white_check_mark: Your 3.11 eval job has completed with return code 0.

<map object at 0x7f3d9ef38ac0>
primal bison
#

!e

x = ['1', '2', '3']
y = list(map(int, x))
print(y)
#

!e

x = ['1', '2', '3']
y = list(map(int, x))
print(y)
timid fjordBOT
#

@primal bison :white_check_mark: Your 3.11 eval job has completed with return code 0.

[1, 2, 3]
restive orchid
#
def math_op(arg1, arg2):
    return(arg1*arg2)
x = ['1','2','3']

y = list(map(math_op, x))

print(y)
primal bison
#

!e

x = ['1', '2', '3']
y = [int(i) for i in x]
print(y)
timid fjordBOT
#

@primal bison :white_check_mark: Your 3.11 eval job has completed with return code 0.

[1, 2, 3]
restive orchid
#

!e

def math_op(arg1, arg2):
    return(arg1*arg2)
x = ['1','2','3']

y = list(map(math_op, x))

print(y)
timid fjordBOT
#

@restive orchid :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 5, in <module>
003 | TypeError: math_op() missing 1 required positional argument: 'arg2'
restive orchid
#

!e

def is_equal(param):
    if param % 2 == 0: return(True)
    else: return(False)

x = [1,2,3,4,9]

y = list(map(is_equal(x),x)))

print(y)
timid fjordBOT
#

@restive orchid :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 7
002 |     y = list(map(is_equal(x),x)))
003 |                                 ^
004 | SyntaxError: unmatched ')'
restive orchid
#

!e

def is_equal(param):
    if param % 2 == 0: return True
    else: return False

x = [1,2,3,4,9]

y = list(map(is_equal,x))

print(y)
timid fjordBOT
#

@restive orchid :white_check_mark: Your 3.11 eval job has completed with return code 0.

[False, True, False, True, False]
primal bison
#
def is_equal(param):
    return param % 2 == 0
calm bay
#

!e

x = [1,2,3,4,9]
y = list(map(lambda y: y,x))
print(y)
restive orchid
#

!e


x = [1,2,3,4,9]

y = list(map(x))

print(y)

timid fjordBOT
#

@restive orchid :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 3, in <module>
003 | TypeError: map() must have at least two arguments.
restive orchid
#

!e


x = [1,2,3,4,9]

y = list(map(type(x),x))

print(y)

timid fjordBOT
#

@restive orchid :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 3, in <module>
003 | TypeError: 'int' object is not iterable
#

@calm bay :white_check_mark: Your 3.11 eval job has completed with return code 0.

[1, 2, 3, 4, 9]
restive orchid
#

!e


x = [1,2,3,4,9]

y = list(map(int(x),x))

print(y)

timid fjordBOT
#

@restive orchid :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 3, in <module>
003 | TypeError: int() argument must be a string, a bytes-like object or a real number, not 'list'
restive orchid
#

!e


x = [1,2,3,4,9]

y = list(map(int,x))

print(y)

timid fjordBOT
#

@restive orchid :white_check_mark: Your 3.11 eval job has completed with return code 0.

[1, 2, 3, 4, 9]
calm bay
#

!e

print([] is [])
print(id([]) == id([]))
timid fjordBOT
#

@calm bay :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | False
002 | True
restive orchid
#

!e


arr = [1,2,3,4]

y = [x * 2 for x in arr]

print(y)
timid fjordBOT
#

@restive orchid :white_check_mark: Your 3.11 eval job has completed with return code 0.

[2, 4, 6, 8]
restive orchid
#

!e


double = lambda a: i*2 for i in a

x = [1,2,3,4,5,6]

y = list(map(double, x))

print(y)
timid fjordBOT
#

@restive orchid :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     double = lambda a: i*2 for i in a
003 |                            ^^^
004 | SyntaxError: invalid syntax
restive orchid
#

!e


double = lambda a: a*2

x = [1,2,3,4,5,6]

y = list(map(double, x))

print(y)
timid fjordBOT
#

@restive orchid :white_check_mark: Your 3.11 eval job has completed with return code 0.

[2, 4, 6, 8, 10, 12]
restive orchid
#

!e



x = [1,2,3,4,5,6]

y = list(map(lambda a: a*2, x))

print(y)
timid fjordBOT
#

@restive orchid :white_check_mark: Your 3.11 eval job has completed with return code 0.

[2, 4, 6, 8, 10, 12]
restive orchid
#

!e



x = [1,2,3,4,5,6]

y = [i*2 for i in x] 

print(y)
timid fjordBOT
#

@restive orchid :white_check_mark: Your 3.11 eval job has completed with return code 0.

[2, 4, 6, 8, 10, 12]
calm bay
#
def is_equal(param):
    if param % 2 == 0: return True
    else: return False

x = [1,2,3,4,9]

y = list(map(is_equal,x))
y = [is_equal(param) for param in x]

print(y)
restive orchid
#

char = "t"

strr = "This is a test"

if strr.find(char) > -1:
    print("idk, some output")
hardy remnant
#

.

primal bison
#

Lol

#

!e

timid fjordBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <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.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

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

primal bison
#

!e



x = [1,2,3,4,5,6]

y = list(map(lambda a: a*2, x))

print(y)
timid fjordBOT
#

@primal bison :white_check_mark: Your 3.10 eval job has completed with return code 0.

[2, 4, 6, 8, 10, 12]
lapis canyon
#

Hellooo @calm bay

calm bay
#

Hello

indigo marlin
#

!e

global x
x = 'hello'
timid fjordBOT
#

@indigo marlin :warning: Your 3.11 eval job has completed with return code 0.

[No output]
primal bison
#

!e

timid fjordBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <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.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

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

grave marlin
little harness
#

!e ```python
for i in range(5):
print("*" * i)

timid fjordBOT
#

@little harness :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 
002 | *
003 | **
004 | ***
005 | ****
little harness
#

!e ```python
import os
print(os.environ)

timid fjordBOT
#

@little harness :white_check_mark: Your 3.11 eval job has completed with return code 0.

environ({'LANG': 'en_US.UTF-8', 'OMP_NUM_THREADS': '5', 'OPENBLAS_NUM_THREADS': '5', 'MKL_NUM_THREADS': '5', 'VECLIB_MAXIMUM_THREADS': '5', 'NUMEXPR_NUM_THREADS': '5', 'PYTHONPATH': '/snekbox/user_base/lib/python3.11/site-packages', 'PYTHONIOENCODING': 'utf-8:strict', 'LC_CTYPE': 'C.UTF-8'})
#

@little harness :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     `python
003 |     ^
004 | SyntaxError: invalid syntax
little harness
timid fjordBOT
#

@little harness :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | ModuleNotFoundError: No module named 'requests'
little harness
#

!e ```python
from urllib.request import urlopen
import ssl

ssl._create_default_https_context = ssl._create_unverified_context

with urlopen("https://3.101.140.252") as response:
body = response.read()
print(body)

timid fjordBOT
#

@little harness :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/usr/local/lib/python3.11/urllib/request.py", line 1348, in do_open
003 |     h.request(req.get_method(), req.selector, req.data, headers,
004 |   File "/usr/local/lib/python3.11/http/client.py", line 1282, in request
005 |     self._send_request(method, url, body, headers, encode_chunked)
006 |   File "/usr/local/lib/python3.11/http/client.py", line 1328, in _send_request
007 |     self.endheaders(body, encode_chunked=encode_chunked)
008 |   File "/usr/local/lib/python3.11/http/client.py", line 1277, in endheaders
009 |     self._send_output(message_body, encode_chunked=encode_chunked)
010 |   File "/usr/local/lib/python3.11/http/client.py", line 1037, in _send_output
011 |     self.send(msg)
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/wejakewumu.txt?noredirect

little harness
#

!e ```python
while true:
print("test")

timid fjordBOT
#

@little harness :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | NameError: name 'true' is not defined. Did you mean: 'True'?
little harness
#

!e ```python
while True:
print("test")

timid fjordBOT
#

@little harness :x: Your 3.11 eval job has completed with return code 143 (SIGTERM).

001 | test
002 | test
003 | test
004 | test
005 | test
006 | test
007 | test
008 | test
009 | test
010 | test
011 | test
... (truncated - too many lines)

Full output: too long to upload

little harness
#

!e ```python
from os import listdir
print(listdir())

timid fjordBOT
#

@little harness :white_check_mark: Your 3.11 eval job has completed with return code 0.

['requirements', 'config', 'user_base']
little harness
#

!e ```python
with open('requiertments', 'r') as f:
print(f.read())

timid fjordBOT
#

@little harness :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | FileNotFoundError: [Errno 2] No such file or directory: 'requiertments'
little harness
#

!e ```python
with open('requirements', 'r') as f:
print(f.read())

timid fjordBOT
#

@little harness :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | IsADirectoryError: [Errno 21] Is a directory: 'requirements'
little harness
#

!e ```python
import os
for root, dirs, files in os.walk(".", topdown=False):
for name in files:
print(os.path.join(root, name))
for name in dirs:
print(os.path.join(root, name))

timid fjordBOT
#

@little harness :white_check_mark: Your 3.10 eval job has completed with return code 0.

001 | ./requirements/pip-tools.pip
002 | ./requirements/coverage.pip
003 | ./requirements/coveralls.in
004 | ./requirements/pip-tools.in
005 | ./requirements/coverage.in
006 | ./requirements/lint.in
007 | ./requirements/coveralls.pip
008 | ./requirements/lint.pip
009 | ./requirements/requirements.pip
010 | ./config/__pycache__/gunicorn.conf.cpython-310.pyc
011 | ./config/snekbox.cfg
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/osazehuxat.txt?noredirect

little harness
#

!e ```python
import urllib.request
local_filename, headers = urllib.request.urlretrieve('http://python.org/')
html = open(local_filename)
html.close()

timid fjordBOT
#

@little harness :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/usr/local/lib/python3.11/urllib/request.py", line 1348, in do_open
003 |     h.request(req.get_method(), req.selector, req.data, headers,
004 |   File "/usr/local/lib/python3.11/http/client.py", line 1282, in request
005 |     self._send_request(method, url, body, headers, encode_chunked)
006 |   File "/usr/local/lib/python3.11/http/client.py", line 1328, in _send_request
007 |     self.endheaders(body, encode_chunked=encode_chunked)
008 |   File "/usr/local/lib/python3.11/http/client.py", line 1277, in endheaders
009 |     self._send_output(message_body, encode_chunked=encode_chunked)
010 |   File "/usr/local/lib/python3.11/http/client.py", line 1037, in _send_output
011 |     self.send(msg)
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/suyirupefi.txt?noredirect

stoic ridge
#

hi

primal bison
#

hello

pastel ore
#

Hello @upper vector

upper vector
#

Hi

#

we can't talk?

pastel ore
#

we need 50 + messages and 3 days in server

upper vector
#

are you very good with python?

pastel ore
#

Not very good, I came on here to ask a question about lists with a leetcode question im doing

upper vector
#

oh dam same

#

I wanna ask something about functions

#

but explaining over text would require a lot and it could come out as very confusing

pastel ore
#

Hello @primal bison

upper vector
#

@primal bisonhi

#

yea

pastel ore
#

@upper vector I know of another programming server where you could ask yoru question. I'm not sure about what channel you could ask your question on here

upper vector
#

ye ye ye

lucid sequoia
#

e

tough monolith
#

!e

timid fjordBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <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.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

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

tough monolith
#

!e [3.11] <for i in range of(10):

timid fjordBOT
#

@tough monolith :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     [3.11] <for i in range of(10):
003 |             ^^^
004 | SyntaxError: invalid syntax
tough monolith
#

!e [3.11] <for i in range of(10): print ("*"xi)>

timid fjordBOT
#

@tough monolith :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     [3.11] <for i in range of(10): print ("*"xi)>
003 |             ^^^
004 | SyntaxError: invalid syntax
tough monolith
#

!e [3.11] for i in range of(10): print ("*"xi)

timid fjordBOT
#

@tough monolith :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     [3.11] for i in range of(10): print ("*"xi)
003 |            ^^^
004 | SyntaxError: invalid syntax
tough monolith
#

!e [3.11] for i in range of(10):
print ("*"xi)

timid fjordBOT
#

@tough monolith :x: Your 3.10 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     [3.11] for i in range of(10): 
003 |            ^^^
004 | SyntaxError: invalid syntax
tough monolith
#

!e 3.11 for i in range of(10):

timid fjordBOT
#

@tough monolith :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     for i in range of(10):
003 |                    ^^
004 | SyntaxError: invalid syntax
tough monolith
#

!e 3.11 for i in range (10):
print ("X"Xi)

timid fjordBOT
#

@tough monolith :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 2
002 |     print ("X"Xi)
003 |     ^
004 | IndentationError: expected an indented block after 'for' statement on line 1
tough monolith
#

!e 3.11 for i in range (10):
print ("X"Xi)

timid fjordBOT
#

@tough monolith :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 2
002 |     print ("X"Xi)
003 |            ^^^^^
004 | SyntaxError: invalid syntax. Perhaps you forgot a comma?
tough monolith
#

!e 3.11 for i in range (10):
print ("X"*i)

timid fjordBOT
#

@tough monolith :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 
002 | X
003 | XX
004 | XXX
005 | XXXX
006 | XXXXX
007 | XXXXXX
008 | XXXXXXX
009 | XXXXXXXX
010 | XXXXXXXXX
tough monolith
#

!e

timid fjordBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <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.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

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

tough monolith
#

!e 3.11 import pygame
pygame.init()
screen = pygame.display.set_mode((100,100))
while True:
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
sys.exit()
screen.fill ('black')
pygame.display.update()
clock.tick(30)

timid fjordBOT
#

@tough monolith :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | ModuleNotFoundError: No module named 'pygame'
primal bison
#

!e
temp = eval(input('Enter a temperature in Celsius: '))
print('In Fahrenheit, that is', 9/5*temp+32)

timid fjordBOT
#

@primal bison :x: Your 3.11 eval job has completed with return code 1.

001 | Enter a temperature in Celsius: Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | EOFError: EOF when reading a line
primal bison
#

hmmmm

brave drum
#

!e

print(9/5 * 30 + 32)
timid fjordBOT
#

@brave drum :white_check_mark: Your 3.11 eval job has completed with return code 0.

86.0
warped escarp
#

!e

timid fjordBOT
#
Missing required argument

code

warped escarp
#

!e

timid fjordBOT
#
Missing required argument

code

primal bison
#

!e

timid fjordBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <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.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

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

primal bison
#

?

coarse elk
#

!e print("It's not that hard to use this.")

timid fjordBOT
#

@coarse elk :white_check_mark: Your 3.10 eval job has completed with return code 0.

It's not that hard to use this.
versed sand
#

hello

#

@hazy latch

hazy latch
#

fair enough

solemn fox
#

!format

timid fjordBOT
#

String Formatting Mini-Language
The String Formatting Language in Python is a powerful way to tailor the display of strings and other data structures. This string formatting mini language works for f-strings and .format().

Take a look at some of these examples!

>>> my_num = 2134234523
>>> print(f"{my_num:,}")
2,134,234,523

>>> my_smaller_num = -30.0532234
>>> print(f"{my_smaller_num:=09.2f}")
-00030.05

>>> my_str = "Center me!"
>>> print(f"{my_str:-^20}")
-----Center me!-----

>>> repr_str = "Spam \t Ham"
>>> print(f"{repr_str!r}")
'Spam \t Ham'

Full Specification & Resources
String Formatting Mini Language Specification
pyformat.info

hazy latch
raw ridge
#

what does the built in "lambda" do in python?

sharp harness
#

Guess it's just the normal lambda-functionality of python

wide aurora
#

!stream @sharp harness

timid fjordBOT
#

✅ @sharp harness can now stream until <t:1669573146:f>.

raw ridge
#

oh, now I go it

#

thanks

wide aurora
#

!stream @sharp harness

timid fjordBOT
#

✅ @sharp harness can now stream until <t:1669574018:f>.

tender tangle
sharp harness
lucid sequoia
#

\

#

!e 3.11 import math
s = input("Enter the number: ")
print(s)

timid fjordBOT
#

@lucid sequoia :x: Your 3.11 eval job has completed with return code 1.

001 | Enter the number: Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | EOFError: EOF when reading a line
median monolith
#

!e 3.11 (lambda __g, __print: [(__print(zlib.decompress('x\x9c\xf3H\xcd\xc9\xc9W\x08\xcf/\xcaIQ\x04\x00\x1cI\x04>').decode('utf-8')), None)[1] for __g['zlib'] in [(import('zlib', __g, __g))]][0])(globals(), import('builtin', level=0).dict['print'])

timid fjordBOT
#

@median monolith :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | ModuleNotFoundError: No module named '__builtin__'
median monolith
#

!e 3.11 import zlib
print(zlib.decompress(b'x\x9c\xf3H\xcd\xc9\xc9W\x08\xcf/\xcaIQ\x04\x00\x1cI\x04>').decode('utf-8'))

timid fjordBOT
#

@median monolith :white_check_mark: Your 3.11 eval job has completed with return code 0.

Hello World!
median monolith
#

!e 3.11 import zlib
print(zlib.decompress(b'x\x9cs\xf4\x18\x05#\x12\x00\x00ZF\x8e\x02').decode('utf-8'))

timid fjordBOT
#

@median monolith :white_check_mark: Your 3.11 eval job has completed with return code 0.

AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
silk bluff
#

!e 3.10 import tkinter
root = tkinter.Tk()
root.mainloop()

timid fjordBOT
#

@silk bluff :x: Your 3.10 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 |   File "/usr/local/lib/python3.10/tkinter/__init__.py", line 37, in <module>
004 |     import _tkinter # If this fails your Python may not be configured for Tk
005 | ImportError: libtk8.6.so: cannot open shared object file: No such file or directory
median monolith
#

!e 3.11 import zlib, base64
print(zlib.decompress(base64.b64decode(b'eNqN00EKxCAMBdC9p3CRXeRvhYLMzXL2idMaG2uYfigU+vim1qZswae6EPItad7qM8BJ3kI1Fx+OKII1w7kYehZByzHcAn3VrNOgnUGHNXYGm8JY3WFbIdEruDDKx3CMFDrG7GOWdGOAtF24xyAJRNNk78bSffDOgjqDdMKQ8dE3/LEVD6aFClECOJnAHQoTYsdjf3o2dX9hnwov4G/6jADm4lYtRa89vL6tvWuLftfBRQnwBQV2tN4=')).decode('utf-8'))

timid fjordBOT
#

@median monolith :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 
002 |           .?77777777777777$.            
003 |           777..777777777777$+           
004 |          .77    7777777777$$$           
005 |          .777 .7777777777$$$$           
006 |          .7777777777777$$$$$$           
007 |          ..........:77$$$$$$$           
008 |   .77777777777777777$$$$$$$$$.=======.  
009 |  777777777777777777$$$$$$$$$$.========  
010 | 7777777777777777$$$$$$$$$$$$$.========= 
011 | 77777777777777$$$$$$$$$$$$$$$.========= 
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/jogotazayi.txt?noredirect

median monolith
#

!e 3.11 import zlib, base64
print(zlib.decompress(base64.b64decode(b'eNp7NKXhERxNm4yOkGXBiAtVdQtBPVyYZmDRMG0SCCE0YJqKZjxEA1gPF0FHI1SDEaoN2FSgIIQf0JyLpIKQp7EY3ICsk4ugo9HsAQDufiC1')).decode('utf-8'))

timid fjordBOT
#

@median monolith :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | ────▓▓▓▓▓▓──────
002 | ───▓▄▓▓▓▓▓▓─────
003 | ──────▓▓▓▓▓─▒▒──
004 | ─▓▓▓▓▓▓▓▓▓──▒▒▒─
005 | ▓▓▓▓▓──────▒▒▒▒▒
006 | ─▓▓▓──▒▒▒▒▒▒▒▒▒─
007 | ──▓▓─▒▒▒▒▒──────
008 | ─────▒▒▒▒▒▒▀▒───
009 | ──────▒▒▒▒▒▒────
analog vault
#

is anyone is availble now

calm bay
#

!e

import zlib, base64
print(zlib.decompress(base64.b64decode(b'eJxTUFBQeDRtMhpSAAMumFwLDhVcEHXoUo+mTQIikDSmPiQDIMpAKrmwWg+XhyAk0zDkkBHIVSgOQcggORqb1gaIGi6s1kP1AwC8raPO')).decode('utf-8'))
timid fjordBOT
#

@calm bay :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 |     ▓▓▓▓▓▓      
002 |    ▓▄▓▓▓▓▓▓     
003 |       ▓▓▓▓▓ ▒▒  
004 |  ▓▓▓▓▓▓▓▓▓  ▒▒▒ 
005 | ▓▓▓▓▓      ▒▒▒▒▒
006 |  ▓▓▓  ▒▒▒▒▒▒▒▒▒ 
007 |   ▓▓ ▒▒▒▒▒      
008 |      ▒▒▒▒▒▒▀▒   
009 |       ▒▒▒▒▒▒    
edgy scaffold
primal bison
#

!e

timid fjordBOT
#
Missing required argument

code

primal bison
#

!e print('test)

timid fjordBOT
#

@primal bison :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     print('test)
003 |           ^
004 | SyntaxError: unterminated string literal (detected at line 1)
primal bison
#

!e print ("hello")

timid fjordBOT
#

@primal bison :white_check_mark: Your 3.11 eval job has completed with return code 0.

hello
kind pilot
#

!e input("what is your name?")

timid fjordBOT
#

@kind pilot :x: Your 3.11 eval job has completed with return code 1.

001 | what is your name?Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | EOFError: EOF when reading a line
kind pilot
#

!e print("lol i dont know what dat means")

timid fjordBOT
#

@kind pilot :white_check_mark: Your 3.11 eval job has completed with return code 0.

lol i dont know what dat means
primal bison
timid fjordBOT
#

@primal bison :white_check_mark: Your 3.11 eval job has completed with return code 0.

You know python?
primal bison
#

!e 3.11 import zlib, base64
print(zlib.decompress(base64.b64decode(b'eNp7NKXhERxNm4yOkGXBiAtVdQtBPVyYZmDRMG0SCCE0YJqKZjxEA1gPF0FHI1SDEaoN2FSgIIQf0JyLpIKQp7EY3ICsk4ugo9HsAQDufiC1')).decode('utf-8'))

timid fjordBOT
#

@primal bison :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | ────▓▓▓▓▓▓──────
002 | ───▓▄▓▓▓▓▓▓─────
003 | ──────▓▓▓▓▓─▒▒──
004 | ─▓▓▓▓▓▓▓▓▓──▒▒▒─
005 | ▓▓▓▓▓──────▒▒▒▒▒
006 | ─▓▓▓──▒▒▒▒▒▒▒▒▒─
007 | ──▓▓─▒▒▒▒▒──────
008 | ─────▒▒▒▒▒▒▀▒───
009 | ──────▒▒▒▒▒▒────
kind pilot
#

!e print("barely")

timid fjordBOT
#

@kind pilot :white_check_mark: Your 3.11 eval job has completed with return code 0.

barely
primal bison
#

!e print ("nice")

timid fjordBOT
#

@primal bison :white_check_mark: Your 3.11 eval job has completed with return code 0.

nice
kind pilot
#

nice code imma steal it

#

!e 3.11 import zlib, base64
print(zlib.decompress(base64.b64decode(b'eNp7NKXhERxNm4yOkGXBiAtVdQtBPVyYZmDRMG0SCCE0YJqKZjxEA1gPF0FHI1SDEaoN2FSgIIQf0JyLpIKQp7EY3ICsk4ugo9HsAQDufiC1')).decode('utf-8'))

timid fjordBOT
#

@kind pilot :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | ────▓▓▓▓▓▓──────
002 | ───▓▄▓▓▓▓▓▓─────
003 | ──────▓▓▓▓▓─▒▒──
004 | ─▓▓▓▓▓▓▓▓▓──▒▒▒─
005 | ▓▓▓▓▓──────▒▒▒▒▒
006 | ─▓▓▓──▒▒▒▒▒▒▒▒▒─
007 | ──▓▓─▒▒▒▒▒──────
008 | ─────▒▒▒▒▒▒▀▒───
009 | ──────▒▒▒▒▒▒────
primal bison
#

!e while true print("lel")

timid fjordBOT
#

@primal bison :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     while true print("lel")
003 |                ^^^^^
004 | SyntaxError: invalid syntax
kind pilot
#

!e 3.11 import zlib, base64
print(zlib.decompress(base64.b64decode(b'eNp7NKXhERxNm4yOkGXBiAtVdQtBPVyYZmDRMG0SCCE0YJqKZjxEA1gPF0FHI1SDEaoN2FSgIIQf0JyLpIKQp7EY3Csk4ugo9HsAQDufiC1')).decode('utf-8'))

timid fjordBOT
#

@kind pilot :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 |   File "/usr/local/lib/python3.11/base64.py", line 88, in b64decode
004 |     return binascii.a2b_base64(s, strict_mode=validate)
005 |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
006 | binascii.Error: Incorrect padding
kind pilot
#

!e 3.11 import zlib, base64
print(zlib.decompress(base64.b64decode(b'eNp7NKXhERxNm4yOkGXBiAtVdQtBPVyYZmDRMG0SCCE0YJqKZjxEA1gPF0FHI1SDEaoN2FSgIIQf0JyLpIKQp7EY3ICsk4ugo9HsAQDufiC1')).decode('utf-8'))

timid fjordBOT
#

@kind pilot :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | ────▓▓▓▓▓▓──────
002 | ───▓▄▓▓▓▓▓▓─────
003 | ──────▓▓▓▓▓─▒▒──
004 | ─▓▓▓▓▓▓▓▓▓──▒▒▒─
005 | ▓▓▓▓▓──────▒▒▒▒▒
006 | ─▓▓▓──▒▒▒▒▒▒▒▒▒─
007 | ──▓▓─▒▒▒▒▒──────
008 | ─────▒▒▒▒▒▒▀▒───
009 | ──────▒▒▒▒▒▒────
kind pilot
#

i wish i knew to code better

primal bison
#

!e a = True
while a == True:
print("Hello World")

timid fjordBOT
#

@primal bison :x: Your 3.11 eval job has completed with return code 143 (SIGTERM).

001 | Hello World
002 | Hello World
003 | Hello World
004 | Hello World
005 | Hello World
006 | Hello World
007 | Hello World
008 | Hello World
009 | Hello World
010 | Hello World
011 | Hello World
... (truncated - too many lines)

Full output: too long to upload

primal bison
kind pilot
#

!e input("i have watched millions of those i followed one exactly and it stilll lead me to errors")

timid fjordBOT
#

@kind pilot :x: Your 3.11 eval job has completed with return code 1.

001 | i have watched millions of those i followed one exactly and it stilll lead me to errorsTraceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | EOFError: EOF when reading a line
kind pilot
#

!e print("i have watched millions of those i followed one exactly and it stilll lead me to errors")

timid fjordBOT
#

@kind pilot :white_check_mark: Your 3.11 eval job has completed with return code 0.

i have watched millions of those i followed one exactly and it stilll lead me to errors
primal bison
#

!e print("oof")

timid fjordBOT
#

@primal bison :white_check_mark: Your 3.11 eval job has completed with return code 0.

oof
primal bison
#

!e print("get a course then")

timid fjordBOT
#

@primal bison :white_check_mark: Your 3.11 eval job has completed with return code 0.

get a course then
kind pilot
#

expensive and my dad thinks its a waste of time

primal bison
#

!e a = true
while a == true:
print("1+1=3")

timid fjordBOT
#

@primal bison :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | NameError: name 'true' is not defined. Did you mean: 'True'?
primal bison
#

and most of them arent expensive

#

!e a = True
while a == True:
print("1+1=3")

timid fjordBOT
#

@primal bison :x: Your 3.11 eval job has completed with return code 143 (SIGTERM).

001 | 1+1=3
002 | 1+1=3
003 | 1+1=3
004 | 1+1=3
005 | 1+1=3
006 | 1+1=3
007 | 1+1=3
008 | 1+1=3
009 | 1+1=3
010 | 1+1=3
011 | 1+1=3
... (truncated - too many lines)

Full output: too long to upload

kind pilot
#

!e print("this is my game but it will ofc not work in discord")

timid fjordBOT
#

@kind pilot :white_check_mark: Your 3.11 eval job has completed with return code 0.

this is my game but it will ofc not work in discord
kind pilot
#

!e import pygame.
pygame.init()
screen = pygame.display.set_mode((400,500))
done = False.
while not done:
for event in pygame.event.get():
if event.type == pygame.QUIT:
done = True

timid fjordBOT
#

@kind pilot :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     import pygame.
003 |                   ^
004 | SyntaxError: invalid syntax
kind pilot
#

!e import pygame
pygame.init()
screen = pygame.display.set_mode((400,500))
done = False.
while not done:
for event in pygame.event.get():
if event.type == pygame.QUIT:
done = True

timid fjordBOT
#

@kind pilot :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 4
002 |     done = False.
003 |                  ^
004 | SyntaxError: invalid syntax
primal bison
#

ok

#

i will run it in vs code

kind pilot
#

!e import pygame
pygame.init()
screen = pygame.display.set_mode((400,500))
done = False
while not done:
for event in pygame.event.get():
if event.type == pygame.QUIT:
done = True

timid fjordBOT
#

@kind pilot :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 6
002 |     for event in pygame.event.get():
003 |     ^
004 | IndentationError: expected an indented block after 'while' statement on line 5
kind pilot
#

just erase the dots

#

first

primal bison
#

ok

formal ravine
#

!e
print(1+1)

timid fjordBOT
#

@formal ravine :white_check_mark: Your 3.11 eval job has completed with return code 0.

2
old sierra
#

!e

timid fjordBOT
#
Missing required argument

code

old sierra
#

!e print("3.11")

#

!e 3.10 print("Hello")

tidal crow
#

!e

timid fjordBOT
#
Missing required argument

code

tidal crow
#

!e def voy

timid fjordBOT
#

@tidal crow :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     def voy
003 |            ^
004 | SyntaxError: expected '('
tidal crow
#

!e def voy (ch:str)->int:

timid fjordBOT
#

@tidal crow :x: Your 3.10 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     def voy (ch:str)->int:
003 |                           ^
004 | IndentationError: expected an indented block after function definition on line 1
primal bison
#

@copper mapleVoice channel ? Im speak french ?

copper maple
#

I speak no french

finite flame
#

@buoyant kestrel Can I stream into this channel?

steep veldt
#

laguna i am surppresed idk how to talk

finite flame
#

You have to get 50 messages in chat and stuff

#

There should be a thing around here somewhere about voice verification @steep veldt

dreamy holly
#

hello

#

who can help me make a form submitted using py

mossy folio
#

!e print("hi")

timid fjordBOT
#

@mossy folio :white_check_mark: Your 3.11 eval job has completed with return code 0.

hi
mossy folio
#

!e

timid fjordBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <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.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

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

mossy folio
#

!e import random
trys = 1
#Guess the number

cap = input("What is the number cap 😊
cap = int(cap)
ran_num = random.randrange(0,cap)
num_1 = input("Pick a number 😊
num_1 = int(num_1)
while True:
if (num_1 > ran_num):
print("Lower")
num_1 = input("Pick a number 😊
trys += 1
num_1 = int(num_1)
elif(num_1 < ran_num):
print("Higher")
num_1 = input("Pick a number 😊
trys += 1
num_1 = int(num_1)
elif(num_1 == ran_num):
print("You got it in " , trys , " trys")
break

timid fjordBOT
#

@mossy folio :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 5
002 |     cap = input("What is the number cap 😊
003 |                 ^
004 | SyntaxError: unterminated string literal (detected at line 5)
primal bison
#

!e

timid fjordBOT
#
Missing required argument

code

primal bison
#

!e print("hi")

#

!e import random
trys = 1
#Guess the number

cap = input("What is the number cap 😊")
cap = int(cap)
ran_num = random.randrange(0,cap)
num_1 = input("Pick a number 😊")
num_1 = int(num_1)
while True:
if (num_1 > ran_num):
print("Lower")
num_1 = input("Pick a number 😊")
trys += 1
num_1 = int(num_1)
elif(num_1 < ran_num):
print("Higher")
num_1 = input("Pick a number 😊")
trys += 1
num_1 = int(num_1)
elif(num_1 == ran_num):
print("You got it in " , trys , " trys")
break

timid fjordBOT
#

@primal bison :x: Your 3.10 eval job has completed with return code 1.

001 | What is the number cap 😊Traceback (most recent call last):
002 |   File "<string>", line 5, in <module>
003 | EOFError: EOF when reading a line
primal bison
#

!e print("hi")
!e import random
trys = 1
#Guess the number

cap = input("What is the number cap 😊")
cap = int(cap)
ran_num = random.randrange(0,cap)
num_1 = input("Pick a number 😊")
num_1 = int(num_1)
while True:
if (num_1 > ran_num):
print("Lower")
num_1 = input("Pick a number 😊")
trys += 1
num_1 = int(num_1)
elif(num_1 < ran_num):
print("Higher")
num_1 = input("Pick a number 😊")
trys += 1
num_1 = int(num_1)
elif(num_1 == ran_num):
print("You got it in " , trys , " trys")
break

timid fjordBOT
#

@primal bison :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 2
002 |     !e import random
003 |     ^
004 | SyntaxError: invalid syntax
primal bison
#

!e print("hi")
!e import random
trys = 1
#Guess the number

cap = input("What is the number cap 😊")
cap = int(cap)
ran_num = random.randrange(0,cap)
num_1 = input("Pick a number 😊")
num_1 = int(num_1)
while True:
if (num_1 > ran_num):
print("Lower")
num_1 = input("Pick a number 😊")
trys += 1
num_1 = int(num_1)
elif(num_1 < ran_num):
print("Higher")
num_1 = input("Pick a number 😊")
trys += 1
num_1 = int(num_1)
elif(num_1 == ran_num):
print("You got it in " , trys , " trys")
else:
break

timid fjordBOT
#

@primal bison :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 2
002 |     !e import random
003 |     ^
004 | SyntaxError: invalid syntax
primal bison
#

!e import random
trys = 1
#Guess the number

cap = input("What is the number cap 😊")
cap = int(cap)
ran_num = random.randrange(0,cap)
num_1 = input("Pick a number 😊")
num_1 = int(num_1)
while True:
if (num_1 > ran_num):
print("Lower")
num_1 = input("Pick a number 😊")
trys += 1
num_1 = int(num_1)
elif(num_1 < ran_num):
print("Higher")
num_1 = input("Pick a number 😊")
trys += 1
num_1 = int(num_1)
elif(num_1 == ran_num):
print("You got it in " , trys , " trys")
break

timid fjordBOT
#

@primal bison :x: Your 3.11 eval job has completed with return code 1.

001 | What is the number cap 😊Traceback (most recent call last):
002 |   File "<string>", line 5, in <module>
003 | EOFError: EOF when reading a line
primal bison
#

!e print(9+10)
x = 21
print(“9+10 =“,x)

timid fjordBOT
#

@primal bison :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 3
002 |     print(“9+10 =“,x)
003 |           ^
004 | SyntaxError: invalid character '“' (U+201C)
primal bison
#

@primal bison I hate to be that guy but it’s spelled “tries” 😅 unless I’m stupid**

#

!e print(round((10/3), 5)

timid fjordBOT
#

@primal bison :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     print(round((10/3), 5)
003 |          ^
004 | SyntaxError: '(' was never closed
primal bison
#

!e print(round((10/3), 5))

timid fjordBOT
#

@primal bison :white_check_mark: Your 3.11 eval job has completed with return code 0.

3.33333
versed sand
#

!e

timid fjordBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <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.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

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

versed sand
#

!e

timid fjordBOT
#
Missing required argument

code

versed sand
#

!e

timid fjordBOT
#
Missing required argument

code

versed sand
#

!e file = 5 print(file)

#

!e print('e')

#

!e def hello():

versed sand
#

!e print('hello')

#

!e f = input('hi<:')

#

!e if f == 'hello':

#

!e print('good day')

#

my code be like

#

😄

#

anyway

#

hello every1

primal bison
#

)

primal bison
#

No offense taken, thanks for trying

#

!e x=21
!e print(9+10)
!e print(x)

timid fjordBOT
#

@primal bison :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 2
002 |     !e print(9+10)
003 |     ^
004 | SyntaxError: invalid syntax
primal bison
#

!e x=21
print(9+10)
print(x)

timid fjordBOT
#

@primal bison :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 19
002 | 21
primal bison
#

FINALLY

cursive abyss
#

!e print(10+11)

timid fjordBOT
#

@cursive abyss :white_check_mark: Your 3.10 eval job has completed with return code 0.

21
cursive abyss
#

damn this was a thing?

trim belfry
#

!e print(10+11)

timid fjordBOT
#

@trim belfry :white_check_mark: Your 3.11 eval job has completed with return code 0.

21
trim belfry
#

!e print(sum(range(1000)))

timid fjordBOT
#

@trim belfry :white_check_mark: Your 3.11 eval job has completed with return code 0.

499500
trim belfry
#

!e print(sum(range(101)))

timid fjordBOT
#

@trim belfry :white_check_mark: Your 3.11 eval job has completed with return code 0.

5050
echo meadow
#

!e print("Hello World")

#

Don't talk to me I'm smart 😇

timid fjordBOT
#

@echo meadow :white_check_mark: Your 3.10 eval job has completed with return code 0.

Hello World
primal bison
queen hatch
jaunty pewter
timid fjordBOT
#

Hey @jaunty pewter!

You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.

jaunty pewter
indigo marlin
#

SCREEN = pygame.display.set_mode((SCREENWIDTH, SCREENHEIGHT),pygame.FULLSCREEN)

primal bison
#

👀

indigo marlin
#

some pygame stuff

primal bison
#

ohh

bold sky
#

@queen hatch

bold sky
dense galleon
#

Do you guys know any css and html discord server?

#

I need help for styling my site

hollow trench
#

i know one

#

look in your dms

dense galleon
#

damn I closed it

#

send again pls

#

@hollow trench I did it by mistake I am sorry

bold sky
#

yes

#

here

#

post here

#

HEER

#

Quicky

#

@mental nest HERE

mental nest
#

?

hollow trench
#
#!/bin/bash

echo "Hello, World!"
bold sky
#

pip install your mom

#

<@&831776746206265384> someone come give us video and moderate us pls

blazing schooner
#

You can ask a mod who is currently in VC, but please don't ping them for that

bold sky
#

we need

#

can u pls come

queen hatch
#

don't we use mod mail for that?

bold sky
#

i did it for him

#

he asked

queen hatch
#

no

bold sky
bold sky
#

jeez louwiz

zenith vine
#

hi guys

hollow trench
#

OSError: [Errno 36] File name too long: 'Deadpool.2016.HC.HDRip.XviD.AC3-EVO Deadpool.2016.720p.HC.HDRip.X264.AC3-EVO Deadpool.2016.1080p.HC.HDRip.X264.AC3-EVO Deadpool.2016.TS.Ganool Deadpool.2016.720p.HC.HDRip.X264.AAC-850MB-MAX Deadpool.2016.1080p.HC.HDRip.X264.AAC-1.7GB-MAX Deadpool.2016.HDTS.MKVCage Deadpool.2016.720p.HDRip.KORSUB.x264.AAC2.0-SS Deadpool.2016.HC.720p.HDRiP.900MB-ShAaNiG Deadpool.2016.HC.1080p.HDRiP.1.75GB-ShAaNiG.zip'

#

@sand viper 👋

sand viper
#

yup hello

#

Can't talk sorry not verified

#

50 messages right ?

#

what os do you guys use ?

trim belfry
queen hatch
#

Gentoo, Windows 11 and Android.

sand viper
queen hatch
#

yeah

sand viper
#

What is the command ?
@trim belfry

hollow trench
#
releaseName = objlxml.xpath("//li[@class='release']/div/text()")

      # if releasename is exist
      if len(releaseName):
        # normalize release name text
        filename = ''.join([x for x in releaseName]).replace('\r', '').replace('\n', '').strip()
        filename = 

        # print usefull info
        print('Downloading %s ...' % filename)
#

how can i change the filename here

sand viper
#

!voice

timid fjordBOT
#

Voice verification

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

sand viper
#

I've heard that linux is just such a amazing os for programmers why is that ?

#

Terminal ?

#

Oh thats very cool

queen hatch
#

package management?

#

would be my guess

sand viper
#

I mean I don't have the distro yet

queen hatch
#

more customizable/configurable. (you can do the same in windows... just more work.)

queen hatch
#

so easier to customize/configure

hollow trench
#

you could make windows look like linux if you wanted to

sand viper
hollow trench
#

just a lot more work

queen hatch
#

yeah

sand viper
#

How can i install one ?

hollow trench
#

usb

#

and iso

sand viper
#

ubuntu for say

queen hatch
#

I would recommend using a live version first

#

if you choose to install after that it is pretty much like installing windows... it walks you through it

#

just need some empty disk space.

hollow trench
sand viper
queen hatch
#

most distros have livecds or livedvds but lets be real you use a usb stick not a cd or dvd

#

use something like rufus to put it on a usb

trim belfry
#

yeah, usb drive

queen hatch
#

they should be iso images

#

some distros have their own tools for doing it but rufus works well for most distros if you are on windows.

trim belfry
sand viper
#

Hey

#

!voice

timid fjordBOT
#

Voice verification

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

trim belfry
#
total = 0
for i in 'bill':
    total += ord(i)  
    # print (i, "\t", ASCII)```
#

!e py total = 0 for i in 'bill': total += ord(i) # print (i, "\t", ASCII)

timid fjordBOT
#

@trim belfry :warning: Your 3.11 eval job has completed with return code 0.

[No output]
trim belfry
#

!e py total = 0 for i in 'bill': total += ord(i) # print (i, "\t", ASCII) print(total)

timid fjordBOT
#

@trim belfry :white_check_mark: Your 3.11 eval job has completed with return code 0.

419
blissful acorn
#
print ("Please type your name: ", end = "")  
string = input()
totAscii = 0
for i in string:  
    ASCII = ord(i)
    totAscii += ord(i)
    print (i, "\t", ASCII)    
    print(totAscii)
hollow trench
#

!e

print ("Please type your name: ", end = "")  
string = input()
totAscii = 0
for i in string:  
    ASCII = ord(i)
    totAscii += ord(i)
    print (i, "\t", ASCII)    
    print(totAscii)
timid fjordBOT
#

@hollow trench :x: Your 3.11 eval job has completed with return code 1.

001 | Please type your name: Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | EOFError: EOF when reading a line
blissful acorn
#

!e ```py
print ("Please type your name: ", end = "")
string = input()
totAscii = 0
for i in string:
ASCII = ord(i)
totAscii += ord(i)
print (i, "\t", ASCII)
print(totAscii)

timid fjordBOT
#

@blissful acorn :x: Your 3.11 eval job has completed with return code 1.

001 | Please type your name: Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | EOFError: EOF when reading a line
hollow trench
#

probably cause it needs input

trim belfry
#

problem solved.

broken flare
#

you can use a string by default

blissful acorn
#
print ("Please type your name: ", end = "")  
string = input()
totAscii = 0
for i in string:  
    ASCII = ord(i)
    totAscii += ord(i)
    print (i, "\t", ASCII)    
print("Your total Acsii value is:", totAscii)
#

This works for me

broken flare
#

the error was because of len function?

hollow trench
#

!e

print ("Please type your name: ", end = "")  
string = input()
totAscii = 0
for i in string:  
    ASCII = ord(i)
    totAscii += ord(i)
    print (i, "\t", ASCII)    
print("Your total Acsii value is:", totAscii)
timid fjordBOT
#

@hollow trench :x: Your 3.11 eval job has completed with return code 1.

001 | Please type your name: Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | EOFError: EOF when reading a line
cold lintel
#

Hello 👋

#

¯_(ツ)_/¯

#

I mean, it would be fast tbf.

north sun
#

Anyone able to help me with that for my cs11 class I cant figure it out

#

im struggling

cold lintel
#

90MHz - 166MHz clock speed

#

8-64MB ram

cold lintel
north sun
#

yes

cold lintel
north sun
#

ok

cold lintel
#

I think someone emulated Windows 95 in the browser

hollow trench
cold lintel
#

r-chive

sand viper
#

ay yo

#

how to call a specific arg in a dic in python ?

sand viper
cold lintel
#

gtg 👋

calm bay
trim belfry
#

huh?

storm zinc
#

guys, can you help me?

@commands.Cog.listener()
    async def on_voice_state_update(self, member, before, after):
        author = member.id
        if not before.channel and after.channel:
            t1 = time.time()      
            tdict[author] = t1    
        elif before.channel and not after.channel:
            t2 = time.time()
            voices = (t2-tdict[author])
            member1 = {'member_id': author}
            while True:
                for m in db.balance.log.find(member1):
                    if voices >=1:
                        voicem = m['voicem']
                        voices -=1
                        voicem +=1
                        set_min = {"$set": {'voicem': voicem}}
                        db.balance.log.update_one(member1,set_min)

i have code but that works only 1 time

#

I can’t do it again later if a person enters and exits, time counted

twin rover
#

can someone help me?

#

because I don't understand how this code work:
if name == 'main':
x = int(input())
y = int(input())
z = int(input())
n = int(input())
list = []
for i in range(x+1):
for j in range(y+1):
for k in range(z+1):
if i+j+k != n:
list.append([i,j,k])
print(list)

calm bay
timid fjordBOT
#
Bad argument

Converting to "int" failed for parameter "pep_number".

#
Command Help

!pep <pep_number>
Can also use: get_pep, p

Fetches information about a PEP and sends it to the channel.

pure turtle
#

!p

print("Hi")
timid fjordBOT
#
Bad argument

Converting to "int" failed for parameter "pep_number".

#
Command Help

!pep <pep_number>
Can also use: get_pep, p

Fetches information about a PEP and sends it to the channel.

#

@pure turtle :x: Your 3.11 eval job has completed with return code 1.

001 | What is your name? Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | EOFError: EOF when reading a line
#

@pure turtle :x: Your 3.11 eval job has completed with return code 1.

001 | What is your name? Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | EOFError: EOF when reading a line
#
Bad argument

Converting to "int" failed for parameter "pep_number".

#
Command Help

!pep <pep_number>
Can also use: get_pep, p

Fetches information about a PEP and sends it to the channel.

#

@pure turtle :x: Your 3.11 eval job has completed with return code 1.

001 | What is your name? Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | EOFError: EOF when reading a line
#

@pure turtle :x: Your 3.11 eval job has completed with return code 1.

001 | What is your name? Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | EOFError: EOF when reading a line
#

@pure turtle :x: Your 3.11 eval job has completed with return code 1.

001 | What is your name? Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | EOFError: EOF when reading a line
timid fjordBOT
#

Hey @north cliff!

You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.

north cliff
#
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ```
amber cypress
#

anyone im making a program which gives you all the prime numbers of one number in while cycle but i always get this 10 = 2 * 5 * i want get rid of the last star

#

cislo = int(input("Zadejte celé číslo: "))

delitel = 2

print(f"{cislo} = ", end ="")

while cislo > 1:
if cislo % delitel == 0:
cislo = cislo // delitel
print(delitel)
else:
delitel += 1

#

its in czech lng srr

tacit yoke
nova wave
#

💯

bold sky
#

@mellow oak can i get some shoes?

mellow oak
#

i work for adidas sorry

#

they dont allow

bold sky
#

damn...

analog arrow
#

@bold sky They're having a discussion, please wait until they're done, and ask them privately instead of (whether by purpose or accident) interrupting them

bold sky
analog arrow
tender fog
#

test

somber dune
#

yo guys i have question

#

how do you fix this test

#

it does have the unitest correctly right??

#

or do i need to add other assert()

#

ah okay

dusty jackal
#

Hello, I could need some help with a façade pattern prog I am making. is there anyone experienced that can have a look at my code?

warped saffron
digital brook
#

hello! i’m just watching guys ^^

somber dune
#

Within an exception you can catch mistakes, which we call a handle.
true or false is the answer

#

how do you make bricks in python to get the result like in the picture#

somber dune
#

have the function return an empty string and a '0' (zero) twice

sage fossil
#

who free

#

im loosing my mind i need assistance!

peak cliff
#

can i talk in vc

#

wym

timid fjordBOT
#

Voice verification

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

peak cliff
#

phhh

#

i seee now

#

thanl you

primal bison
#

print('Hii')

timid fjordBOT
#
Bad argument

Converting to "int" failed for parameter "pep_number".

undone vessel
#

py```
print('Cool')

#
print('Cool')
primal bison
#

Why is this channel always closed

trim belfry
#

huh?

bitter widget
primal bison
#

Nvm I realize u need to talk a certain amount of time

#

To join

leaden comet
#

Hi

echo wing
vapid stump
#

print("hello world")

#

print("hello world")

#

print("hello world")

lilac solar
#

hello

keen hare
#

!e

return aL if aLen >= bLen else bL to return aL if aLen <= bLen else bL

timid fjordBOT
#

@keen hare :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     return aL if aLen >= bLen else bL to   return aL if aLen <= bLen else bL
003 |                                       ^^
004 | SyntaxError: invalid syntax
keen hare
#

!e

def minSum(aL, bL):
    aLen = 0
    for x in aL:
        aLen += len(x)
    bLen = 0
    for x in bL:
        bLen += len(x)
    return aL if aLen <= bLen else bL
timid fjordBOT
#

@keen hare :warning: Your 3.11 eval job has completed with return code 0.

[No output]
keen hare
#

!e

a = [[2,3],[1],[1],[3,4,2]]
b = [[2],[2,3,4,4,1],[3,2]]
def minSum(aL, bL):
aLen = 0
for x in aL:
aLen += len(x)
bLen = 0
for x in bL:
bLen += len(x)
return aL if aLen <= bLen
else bL
print(minSum)

timid fjordBOT
#

@keen hare :white_check_mark: Your 3.11 eval job has completed with return code 0.

<function minSum at 0x7f4221480680>
keen hare
#

!e

a = [[2,3],[1],[1],[3,4,2]]
b = [[2],[2,3,4,4,1],[3,2]]
def minSum(aL, bL):
aLen = 0
for x in aL:
aLen += len(x)
bLen = 0
for x in bL:
bLen += len(x)
return aL if aLen <= bLen
else bL
print(minSum)

timid fjordBOT
#

@keen hare :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 10
002 |     return aL if aLen <= bLen 
003 |            ^^^^^^^^^^^^^^^^^^
004 | SyntaxError: expected 'else' after 'if' expression
finite monolith
#

!

#

!e heat=float(input("Please enter the pool temperature in F: "))
pur=input("The purpose for swimming (adult, children, or racing):")
def isSafe(pur,heat):
if pur=="adult" and heat>=83 and heat<87:
return True
elif pur=="children" and heat==90:
print=("The saftey is: True")
elif pur=="racing":
distance=float(input("Please enter the length in M: "))
if distance>5 and heat>=77 and heat <=87.9:
print("The saftey is: True")
elif distance <5 and heat>=77 and heat<=86:
print("The saftey is: True")
else:
print("The saftey is: False")
else:
print("The saftey is: False")
isSafe(pur,heat)

round bronze
#

@obtuse knot can you allow me screenshare

obtuse knot
#

Our policy is that we need at least one mod in the channel for someone to get streaming perms, and I'm not currently free to supervise sorry

round bronze
#

oh ok

#

@unborn sorrel

#

can you allow me to sreenshare

worn sinew
#

Hey guys!! Is someone here down to help me learn python a little faster? I'll share my screen and do some very nooby coding and we can just chill and talk 😄

proven vigil
#

hio

#

hi

proven vigil
#

SOMEONE HERE

#

?

brittle meteor
#

threading

#

@pliant prairie

green bone
#

Hello, Could someone help me? I have a doubt about numpy, I need insert 5 arrays into the function ARRAY (this function is the numpy). But, it show the error. Bellow fallow the error:

typeError Traceback (most recent call last)
TypeError: only size-1 arrays can be converted to Python scalars

The above exception was the direct cause of the following exception:

ValueError Traceback (most recent call last)
<ipython-input-11-80125816d1f7> in <module>
60 m = a[i,k]/a[k,k]
61 a[i,:] = a[i,:]-ma[k,:]
---> 62 b[i] = b[i]-mb[k]
63 print(a,b)
64 print("")

ValueError: setting an array element with a sequence.

primal yarrow
#
if not all(k in answer for k in ('answer','correct','order')):
ivory marten
#

hello @radiant zephyr

#

how are you doing

#

hello

ivory urchin
#

᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼᲼

solar crypt
#

hello can someone help me?

#

i have this code and its not really looking good for me

primal bison
wintry acorn
#

any one help me

timid fjordBOT
#

Hey @wintry acorn!

You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.

wintry acorn
#

.text

#

Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages
\slither_main_.py", line 826, in main_impl
) = process_all(filename, args, detector_classes, printer_classes)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages
\slither_main_.py", line 86, in process_all
compilations = compile_all(target, **vars(args))
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages
\crytic_compile\crytic_compile.py", line 637, in compile_all
compilations.append(CryticCompile(target, **kwargs))
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages
\crytic_compile\crytic_compile.py", line 117, in init
self._compile(**kwargs)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages
\crytic_compile\crytic_compile.py", line 548, in compile
self.platform.compile(self, **kwargs)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages
\crytic_compile\platform\hardhat.py", line 92, in compile
os.listdir(build_directory), key=lambda x: os.path.getmtime(Path(build_dire
ctory, x))
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'art
ifacts\build-info'
Error in .
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages
\slither_main
.py", line 826, in main_impl
) = process_all(filename, args, detector_classes, printer_classes)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages
\slither_main
.py", line 86, in process_all
compilations = compile_all(target, **vars(args))
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages
\crytic_compile\crytic_compile.py", line 637, in compile_all
compilations.append(CryticCompile(target, **kwargs))
File

#

any one help me solve this error

peak plover
#

how do you ask a user to input their name and print the name?

#

I am stuck on the second part

feral spindle
#

hi all, I have a question
I have a list
list=['nick', 'george', 'kate']

Is it possible to convert it into a dataframe with headers the names of the list ? ('nick' etc.)
probably it's easy but I am a beginner so I struggle a little bit thanks!

heady nova
#

!e

timid fjordBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <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.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

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

heady nova
#

!eval [3] <print("sup")

timid fjordBOT
#

@heady nova :x: Your 3.11 eval job has completed with return code 1.

001 | sup
002 | Traceback (most recent call last):
003 |   File "<string>", line 1, in <module>
004 | TypeError: '<' not supported between instances of 'list' and 'NoneType'
heady nova
#

!eval [3] print("sup")

timid fjordBOT
#

@heady nova :x: Your 3.10 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     [3] print("sup")
003 |         ^^^^^
004 | SyntaxError: invalid syntax
heady nova
#

!eval print("hello")

timid fjordBOT
#

@heady nova :white_check_mark: Your 3.11 eval job has completed with return code 0.

hello
heady nova
#

!eval a = [3, 4, 5, 6, 4, 3, 4, 5, 6, 4, 3, 2, 3, 9]

maxx = max(a)
print("max")

timid fjordBOT
#

@heady nova :white_check_mark: Your 3.11 eval job has completed with return code 0.

max
heady nova
#

!eval a = [3, 4, 4, 4, 5, 3, 2, 1, 5, 6, 7, 8, 5, 3 ,4]
maxx = max(a)
print(maxx)

timid fjordBOT
#

@heady nova :white_check_mark: Your 3.11 eval job has completed with return code 0.

8
heady nova
#

nice

#

!eval input("sup)

timid fjordBOT
#

@heady nova :x: Your 3.11 eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     input("sup)
003 |           ^
004 | SyntaxError: unterminated string literal (detected at line 1)
heady nova
#

!eval input("sup")

timid fjordBOT
#

@heady nova :x: Your 3.10 eval job has completed with return code 1.

001 | supTraceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | EOFError: EOF when reading a line
proven moth
#

!coiceverify

timid fjordBOT
#

You are not allowed to use that command.

proven moth
#

!voiceverify

deep forum
#

!dskpogkopsdkopg

#

!coiceverify

timid fjordBOT
#

You are not allowed to use that command.

tight ruin
#

hi guys what are you doing tonight

obtuse radish
#

trying to figure out how to integrate c code as a python module.

primal bison
#

!voiceverify

outer trellis
#

HELLO EVEYONE

#

everyone

hushed scarab
#

Hello

glad plover
#

Does anyone know how to fix this

fallen sapphire
# glad plover

you could try googling how to install selenium, likely using pip. If it is installed already then it is more finicky, you must find why it is not being detected, wrong version, wrong search path, wrong python version are common reasons

glad plover
#

Thx

#

Whats dis

fiery yarrow
#

!eval print("haha")

timid fjordBOT
#

@fiery yarrow :white_check_mark: Your 3.11 eval job has completed with return code 0.

haha
daring kernel
#

i need voiuce verification

summer siren
#

guys anyone here? need help with python code

spice pumice
#

!eval print("How Much C would C Would a C++ if a C++++")

timid fjordBOT
#

@spice pumice :white_check_mark: Your 3.10 eval job has completed with return code 0.

How Much C would C Would a C++ if a C++++
thin dagger
#

Am looking for a one teammate or two by max so we can learn together and solve ex. From leetcode everyday by choose a specific hour. I just start to attend udacity course for algorithms and data. Anyone interested DM me

vague cliff
timid fjordBOT
#

@primal bison :white_check_mark: Your 3.11 eval job has completed with return code 0.

ابها الإسلام لنا دينا وجميع الكون لنا وطنا وخلقت الروح لنا نورٌ في جميع الدهر وهمتنا والكون يزول ولا تمحى في الدهر صحائف سوؤنا بنيت في الارض مساجدنا والبيت الاول كعبتنا 
alpine reef
#

advanced stuff

#

What are you programming?

#

Cool, do you work as a programmer?

#

Good luck man

lapis canyon
#

Ah

shrewd wave
#

@dull anvil can u provide a roadmap kind of thing for beginners

#

@dull anvil I am just starting things

#

haven't decided , its kind of my first programming language

#

any good tutors or kind of things

timid fjordBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

shrewd wave
#

okay i will give it a try

jagged lintel
#

bro u got very good coding skills

hardy remnant
#

and make a post about your problem

timid fjordBOT
#

@dull anvil :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | abstract fruit, abstract fruit, abstract fruit
002 | apple, apple, apple
#

@dull anvil :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | True
002 | False
misty vale
#

no i got more confused yes i have a sql table

#

empy sql table

#

okay... and how i will send the data from google sheets too postgresql without paying

#

an api?

#

and that google sheets is the answer of googleforms

#

i cant post the link of the survey?

#

ok...

#

soo column, table,shema

#

but how i connect google sheets with postgresql?

#

and updated automatically depending on the survey

#

:S no

timid fjordBOT
#

@dull anvil :white_check_mark: Your 3.11 eval job has completed with return code 0.

apple
#

@dull anvil :white_check_mark: Your 3.11 eval job has completed with return code 0.

abstract fruit
misty vale
#

IF DATAFRAME IS BIG I CAN PULL AND PUSH EASLY

#

no size but imagen 400x5000

#

is that start with oje survey and then start the survey over whole year

#

like one survey and start fill one row soo i can have aroun 1000-4000 person pero year felling 400 undres questions around

#

the biggest is 3 to 4 or 5 setences

#

if the usar delete data from the sql?

#

user

#

okay i will tried but i will have to always ask to postgresql about the state of that table

#

for a special column

timid fjordBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <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.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

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

hardy remnant
#
eggs = [4, 5, 6]
print(eggs)
gentle walrus
#

!e

print("hi")
timid fjordBOT
#

@gentle walrus :white_check_mark: Your 3.11 eval job has completed with return code 0.

hi
gentle walrus
#

!e

print("hi")
timid fjordBOT
#

@gentle walrus :white_check_mark: Your 3.11 eval job has completed with return code 0.

hi
primal bison
#

!e

timid fjordBOT
#
Missing required argument

code

timid fjordBOT
#
Missing required argument

code

honest chasm
#

can anyone come up with the code name Meow?

violet ruin
#

yooo

steady forge
#

!e ctx.send("lol")

#

!e print("hello {a}")

timid fjordBOT
#

@steady forge :white_check_mark: Your 3.11 eval job has completed with return code 0.

hello {a}
primal bison
#
#!pip install -q pyscbwrapper
from matplotlib import pyplot as plt
#Bibliotek som innehåller ett API för att hämta data från Statistiska Centralbyrån 
(SCB):

from pyscbwrapper import SCB
scb=SCB("sv")
scb_data['data']
#Du skall skapa funktionens parameterlista:
def generateGraphFile(?, ?, ?...)
    #denna funktion skall du skriva koden till.
def generateGraphData(scb, valueIndex, keyIndex):
    scbData = []
    scbData = scb.get_data()
    #Filter out metadata:
    scbFetchData = scbData['data']
    xData = []
    yData = []
    for i in range(len(scbFetchData)):
        yData.append(float(scbFetchData[i]['values'][valueIndex]))
        xData.append(scbFetchData[i]['key'][keyIndex])
    return xData, yData
#Alternativ 1: Antal invånare i Sverige mellan 2010 och 2021
scb = SCB('en','BE','BE0101','BE0101C', 'BefArealTathetKon')
scb.set_query(observations=["Population"], year = 
["2010","2011","2012","2013","2014","2015","2016","2017","2018", "2019", "2020", 
"2021"])
xData, yData = generateGraphData(scb, 0, 0)
generateGraphFile(?, ?, ?,....) #här sker anropet till funktionen som du skriver 
färdigt ovan. 
daring kernel
#

int[] values= {1,2,3}

#

print(values)

#

!e print(values)

timid fjordBOT
#

@daring kernel :x: Your 3.10 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | NameError: name 'values' is not defined
glass bane
#

Hi

harsh stag
#
df1=pd.read_excel("E:\Microsoft Excel\Databases\cawd_original.xlsx")
df2=pd.read_excel("E:\Microsoft Excel\Databases\mark_revised.xlsx")
for row_num in range(len(df1)):
  row_1 = df1.values[row_num]
  row_2 = df2.values[row_num]
  values = ([(a, b) for a, b in zip(row_1[3:], row_2[3:]) if a != b])
  if len(values) != 0:
      print(f'{row_1[0]} {row_1[1]} {row_1[2]} ({values[0][0]}){values[0][1]}')```
#

Can anyone tell me how do i get the column name to be printed with those values as well?

fading hare
#

hi

harsh stag
#

hey

icy crow
#

Yo

lyric robin
#

yo

#

hhow many messages have i sent on this server

#

i cant believe its not 50

iron narwhal
#

oh

#

i didnt send anything

lean sentinel
#

what does "!e" do?

round kindle
#

@lean sentinel execute I presume

primal bison
#

Y

timid fjordBOT
#

@dull anvil :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 0
002 | 0
003 | 1 a a
004 | 1 b b
raw rock
#

hi @atomic phoenix sorry for having to ping you but as beginner i was eager to know if your a data analyst? (if so from where?)

timid fjordBOT
#

operator.matmul(a, b)``````py

operator.__matmul__(a, b)```
Return `a @ b`.

New in version 3.5.
cobalt hull
#

you could use yield from and call filter()

lofty sedge
#

@pliant prairie wud?

round bronze
cobalt hull
#

. . .

ivory marten
#

hello @primal bison

#

how are you doing

primal bison
#

hi

#

i am scraping a website

#

but i cnat talk becoause i entered today in this server

ivory marten
#

ok

primal bison
#

@visual stirrup can i pls me unrestricted? i would like to share screen

ivory marten
#

using selenium

#

no only mods have the permisson to do that

primal bison
ivory marten
#

but you can talk if you are eligible

#

!voice

timid fjordBOT
#

Voice verification

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

primal bison
#

i do that but i am newbie

ivory marten
#

ok

#

no problem you can get verified later

primal bison
#

now i am going to learn selenium

ivory marten
#

if you wanna to talk to me just dm me

#

i am free

primal bison
#

oky

ivory marten
#

will tell how to use selenium

primal bison
#

i write you

feral spindle
#

hi all I am trying to select from a dataframe the names that contain the letters "Nik". I tried this but it's not working can you help me? thanks

import pandas as pd
list=['abcNikolas', 'cdfNiki', 'rtfNiko', 'wetGeorge', 'fghKate']
df_1 = pd.DataFrame(list, columns =['name'])
df_1 = df_1[df_1['name'].str.find('Nik') == 0]
pulsar sun
#

why cant ı speak voice chat channel ?

timid fjordBOT
#

Voice verification

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

pulsar sun
#

!voiceverify

grand pasture
#

!voiceverify

jovial tinsel
#

Cheers!

warped escarp
#

ge

primal bison
#

Is this good

#

!voice

#

hey

#

listen

#

how do I get permission to speak

#

I want to speeak

#

I don't know why I can''t speak

#

I have been here for 3 days

#

And still they aren't allowing me to speak

#

what can I do now

#

can anyone help me

#

I literally need help

#

bcz I am stuck

#

I don't know what to do

#

Some people say to me that write 50 messages

#

So, that's exactly what I am doing

echo aurora
#

Yo can I code live

#

Let’s code

#

How does this work

primal bison
echo aurora
#

How do I code

primal bison
#

Anyone can join

echo aurora
#

I want to code though

primal bison
#

You can join this

#

If you want

echo aurora
#

But I want to ocde

#

Code

#

Not watch

primal bison
#

We can code together

#

In this

echo aurora
#

I have an iPhone 14 Pro Max can I still code ?

primal bison
echo aurora
#

Nice

primal bison
#

And then we can code together

#

!voice

timid fjordBOT
#

Voice verification

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

primal bison
#

!voice

timid fjordBOT
#

Voice verification

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

primal bison
#

!e

timid fjordBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <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.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

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

wide aurora
#

@buoyant kestrel actually Python

#

!e

# Initialize variables to track the current and previous numbers in the sequence
current_number = 0
previous_number = 1

# Create an empty list to store the Fibonacci sequence
fibonacci_sequence = []

# Set the number of iterations to generate the sequence
num_iterations = 10

# Iterate through the desired number of iterations
for i in range(num_iterations):
  # Add the current number to the list
  fibonacci_sequence.append(current_number)
  
  # Calculate the next number in the sequence
  next_number = current_number + previous_number
  
  # Update the current and previous numbers for the next iteration
  previous_number = current_number
  current_number = next_number

# Print the resulting Fibonacci sequence
print(fibonacci_sequence)
timid fjordBOT
#

@wide aurora :white_check_mark: Your 3.11 eval job has completed with return code 0.

[0, 1, 1, 2, 3, 5, 8, 13, 21, 34]
wide aurora
#

@next quail ^ also you, cos you asked

buoyant kestrel
#

Sup brahseph

#

Called it

#

I've had a couple professors say that's what they do

#

NY

#

Read the article this morning

#

No no

#

Even TEACHERS can't use it

#

Actually, we should migrate up to VC0 if we're not live coding

#

@merry ocean And yet my brain is hearing you say it in that racist accent you did

buoyant kestrel
#

Best rapper ever

#

No no, just as a rapper

#

It is a good movie

#

Period