#voice-chat-text-0

1 messages ยท Page 769 of 1

whole bear
#

i m struggling to find that out too

olive siren
#

@random ridge
50 Messages without getting kicked

uncut meteor
random ridge
#

We're lef out ToT

uncut meteor
#

^ the topic

random ridge
#

Thx

whole bear
#

oh

#

ty

random ridge
#

Damn

#

That's not an easy one

#

Oof headache

tall latch
#

print("fish")

pine ledge
#

What's the clock problem you're solving

olive siren
#

$ fish

terse needle
tall latch
#

this is how my sister learned if else and elif```answer = input("Are you a boy? ")

if answer == "yes":
print("oh nice im a boy too")
elif answer == 'no':
print("oh so are a girl")```

random ridge
#

Yeah it's the easiest way

#

But you could replace elif by except too

#

Anything could work really

whole bear
#

boomer

olive siren
whole bear
tall latch
olive siren
#

he she he/she

#

you can be whatever you want

#

๐Ÿ˜†

terse needle
whole bear
#

be a biscuit bruh

tall latch
random ridge
#

Yeah indeed you forgot it but there is no "try:" statement

#

So no need for a "else" statement

pine ledge
#

I want to learn programming

olive siren
uncut meteor
#

!e

def what_is_the_time(time_in_mirror):
    hours, mins = time_in_mirror.split(":")
    
    flipped_hours = 12 - int(hours) if not hours in ("6", "12") else int(hours)
    flipped_mins = 60 - int(mins) if not mins in ("00", "60") else int(mins)
    
    if int(flipped_mins) > 0:
        flipped_hours = int(flipped_hours) - 1
    
    if flipped_hours == 0:
        flipped_hours = 12
    
    return f"{flipped_hours:0>2}:{flipped_mins:0>2}"

assert what_is_the_time("06:35") == "05:25", "didn't work for '06:35'"
assert what_is_the_time("11:59") == "12:01", "didn't work for '11:59'"
assert what_is_the_time("12:02") == "11:58", "didn't work for '12:02'"
assert what_is_the_time("04:00") == "08:00", "didn't work for '04:00'"
assert what_is_the_time("06:00") == "06:00", "didn't work for '06:00'"
assert what_is_the_time("12:00") == "12:00", "didn't work for '12:00'"
wise cargoBOT
#

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

[No output]
tall latch
olive siren
terse needle
#

hmm

tall latch
#

she is only a kid

icy axle
#

!comparison

random ridge
pine ledge
#

3d.2f means?

olive siren
whole bear
#

wat bout ===

olive siren
#

show her this

pine ledge
#

I mean 0d.2f

olive siren
whole bear
#

๐Ÿ˜ฆ

uncut meteor
whole bear
tall latch
random ridge
#

You could use a "try:, if, elif, except" or two "if" too

whole bear
#

where is biscuit gender

terse needle
uncut meteor
#

yeah

whole bear
uncut meteor
#

they funky

olive siren
#

oh i dont know the sign of biscuit

random ridge
#

Dude I wanna be void

whole bear
random ridge
#

Litteral biscuit

olive siren
#

yooo make sense ๐Ÿ™‚

icy axle
#

!comparison

wise cargoBOT
#

Assignment vs. Comparison

The assignment operator (=) is used to assign variables.

x = 5
print(x)  # Prints 5

The equality operator (==) is used to compare values.

if x == 5:
    print("The value of x is 5")
uncut meteor
#

!assignment

terse needle
#

I remember when they added the sexuality green lights in london

pine ledge
#

!format

uncut meteor
#

!docs format

wise cargoBOT
#
format(value[, format_spec])```
Convert a *value* to a โ€œformattedโ€ representation, as controlled by *format\_spec*. The interpretation of *format\_spec* will depend on the type of the *value* argument, however there is a standard formatting syntax that is used by most built-in types: [Format Specification Mini-Language](string.html#formatspec).

The default *format\_spec* is an empty string which usually gives the same effect as calling [`str(value)`](stdtypes.html#str "str").

A call to `format(value, format_spec)` is translated to `type(value).__format__(value, format_spec)` which bypasses the instance dictionary when searching for the valueโ€™s [`__format__()`](../reference/datamodel.html#object.__format__ "object.__format__") method. A [`TypeError`](exceptions.html#TypeError "TypeError") exception is raised if the method search reaches [`object`](#object "object") and the *format\_spec* is non-empty, or if either the *format\_spec* or the return value are not strings.... [read more](https://docs.python.org/3/library/functions.html#format)
icy axle
olive siren
whole bear
#

dbcsubd

#

my gibberish has emotions

uncut meteor
whole bear
#

ohkay, congo

#

wat r u tryin then

stuck furnace
#

So, is everyone working on this codewars problem?

whole bear
#

i m such a confused creature, feel free to ignore me...

whole bear
olive siren
whole bear
#

HBD @tall latch

olive siren
#

o don't even know this problem

pine ledge
#

Today's biebers birthday

tall latch
#

this one??

random ridge
#

I'm complete garbage with python 3

whole bear
uncut meteor
random ridge
#

And on codewars this mf is asking me to resolve a python 3 problem

uncut meteor
#

are you?

random ridge
#

I think I'm fine

olive siren
#

use

#

pip install garbage collector

random ridge
#

With python 2

uncut meteor
#

then u will be fine with python3

random ridge
#

Some simple things change but I'm so not used to it

#

It annoys the f out of me

#

def multiply(a, b):
print (a * b)

uncut meteor
#
def multiply(a, b):
    print(a * b)
tall latch
#

this one right??

olive siren
random ridge
#

You mean ?

olive siren
#

The basics not the hard stuff

random ridge
#

Yes

#

I think so ๐Ÿค”

olive siren
#

try this

#

if you want

#

In this course, you will learn basics of computer programming and computer science. The concepts you learn apply to any and all programming languages and will be a good base onto which you can build your skills.

This video is meant for those who are interested in computer science and programming but have no idea where to start and have little ...

โ–ถ Play video
random ridge
#

I'm already reading a book

#

When I'm done I'll look at that

#

Thanks

stuck furnace
#

!eval
Should have put the next unicode character. ```py
print(chr(ord('z') + 1))

wise cargoBOT
#

@stuck furnace :white_check_mark: Your eval job has completed with return code 0.

{
olive siren
#

Is only basic stuff

random ridge
pine ledge
#

Do you know udf

#

Pandas udf

olive siren
random ridge
#

Right

#

But the site is telling me it's false

#

Wth

uncut meteor
#

!e

def multiply(a, b):
    print(a * b)

multiply(5, 2)
wise cargoBOT
#

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

10
random ridge
#

I mean

#

codewars

#

OOOOOOOOH

#

SO LOGIC

whole bear
#

lmao

random ridge
#

GOD

tall latch
#

does list.sort() change the list

uncut meteor
#

!e

def multiply(a, b):
    return a * b

print(multiply(5, 2))
wise cargoBOT
#

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

10
tall latch
#

or create a new one

random ridge
#

Yessss

#

Thanks

uncut meteor
#

no

#

thank you

icy axle
#

!e ```py
class Stuff():
def init(self, name):
self.name = name

def __add__(self, other):
    return f"You just added '{other}' to {self.name}... weird"

dave = Stuff("dave")
print(dave + "Greta")

wise cargoBOT
#

@icy axle :white_check_mark: Your eval job has completed with return code 0.

You just added 'Greta' to dave... weird
icy axle
#

5 + 5

icy axle
#

!e print("Hello ".__add__("there"))

wise cargoBOT
#

@icy axle :white_check_mark: Your eval job has completed with return code 0.

Hello there
icy axle
#

"Hello " + "there"

whole bear
#

lmao

icy axle
#

!e print(int(5).__add__(5))

wise cargoBOT
#

@icy axle :white_check_mark: Your eval job has completed with return code 0.

10
whole bear
#

:big_brain:

zealous wave
#

!e ```py
def trueinvert(num : int):
return int(f"-{num}")

print(trueinvert([1].len().bool().str().len().add([].len().bool().str().len())))

print([1].len().bool().str().len().add([].len().bool().str().len()).invert())

wise cargoBOT
#

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

001 | -9
002 | -10
whole bear
#

uhh

#

uhh

#

duh

zealous wave
#

!e ```py
print([1].len().bool().str().len().add([].len().bool().str().len()).invert())

wise cargoBOT
#

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

-10
runic forum
#

im currently coding my own website and i have this issue were my texts won't align properly to my images

whole bear
#

text-align

runic forum
#

right

uncut meteor
#

!e


class Path:
  def __init__(self, base: str):
      self.path = base

  def __truediv__(self, other):
      if isinstance(other, str):
          self.path += "/" + other
      elif isinstance(other, Path):
          self.path += "/" + other.path


my_path = Path("Home")
my_path / Path("Test")
print(my_path.path)


new_path = Path("Home")
new_path / "Test"
print(new_path.path)
wise cargoBOT
#

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

001 | Home/Test
002 | Home/Test
runic forum
#

is it okay btw to discuss html issues here?

icy axle
#

!e ```py
from pathlib import Path
print(Path("root") / "test" / "folder")

wise cargoBOT
#

@icy axle :white_check_mark: Your eval job has completed with return code 0.

root/test/folder
whole bear
#

cAMELcASE

uncut meteor
icy axle
#

iPhone Case

whole bear
#

mehmeh

uncut meteor
runic forum
#

since nobody didn't seem to bother to answer my question im going to assume that i can post any programming related questions here

icy axle
#

Is it python related?

icy axle
#

Ah, didn't see that

#

Well, we can pop into VC 1 and have a quick look at it if you want to

shrewd hawk
dusk burrow
#
def what_is_the_time(time_in_mirror):
    h, m = time_in_mirror.split(':')
    miror = {
             '01':'10', 
             '02':'09', 
             '03':'08', 
             '04':'07', 
             '05':'06', 
             '06':'05',
             '07':'04', 
             '08':'03',
             '09':'02', 
             '10':'01',
             '11':'12', 
             '12':'11'
                        }
    
    if m == '00':
        h = str(12 - int(h))
        if len(h) == 1: h = '0' + h
        if h == '00': h = '12'
        
    else:
        h = miror[h]
        m = str(60 - int(m))
        if len(m) == 1:  m = '0' + m
    return ":".join([h,m])
#

i think this is easier way to solve it

pine ledge
#

Then it'll be 11?

terse needle
whole bear
#

how to corrige this error pls

tall latch
#

@whole bear there is no command called ".!canvas"

pine ledge
#

Degree into hr

#

Have a dict

whole bear
#

I have to put'.! canvas' before?

pine ledge
#

I think it gets flipped by some constant angle

whole bear
#

ok you speak french?

tall latch
#

Note that this function decodes pixel data only, not entire images.

whole bear
#

ok thank you

pine ledge
#

Ok bye it was nice talking to you

whole bear
#

i not speak veery well english ...

dusk burrow
uncut meteor
#
def solution(args):
    output = ""
    while len(args) > 0:
        i = 0
        while i < len(args) - 1:
            if args[i] + 1 == args[i + 1]:
                i += 1
            else:
                break
        if i < 2:
            output += f",{args.pop(0)}"
        else:
            output += f",{args[0]}-{args[i]}"
            args = args[i+1::]
    return output.lstrip(",")
#

my solution from a while ago

dusk burrow
tall latch
#
Traceback (most recent call last):
  File "main.py", line 6, in <module>
    from pillowStuff import level_up, lvl_info
  File "C:\Users\JERSON\Desktop\Bot Bakers\Bakery Bot\pillowStuff.py", line 54, in <module>
    lvl_info(proImage, "FS|FabTech", 3, 20, 2)
  File "C:\Users\JERSON\Desktop\Bot Bakers\Bakery Bot\pillowStuff.py", line 26, in lvl_info
    proImage = Image.frombytes("RGB", (130,130), pfp)
  File "C:\Users\JERSON\AppData\Local\Programs\Python\Python38\lib\site-packages\PIL\Image.py", line 2658, in frombytes
    im.frombytes(data, decoder_name, args)
  File "C:\Users\JERSON\AppData\Local\Programs\Python\Python38\lib\site-packages\PIL\Image.py", line 794, in frombytes
    s = d.decode(data)
TypeError: a bytes-like object is required, not 'PngImageFile'```
#
pfp = io.BytesIO(author.avatar_url)
image = lvl_info(pfp, author.name, fetched_list[0][2], fetched_list[0][3], rank)```
#
Ignoring exception in on_message
Traceback (most recent call last):
  File "C:\Users\JERSON\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 333, in _run_event
    await coro(*args, **kwargs)
  File "main.py", line 46, in on_message
    pfp = io.BytesIO(author.avatar_url)
TypeError: a bytes-like object is required, not 'Asset'```
terse needle
#

@uncut meteor tf

#
def from_time_to_mins(hours: int, mins: int) -> int:
    return abs((hours*60)+mins)

def from_mins_to_time(mins: int) -> list:
    return mins//60, mins%60

def what_is_the_time(time_in_mirror):
    clockTime = time_in_mirror.split(':')

    invertedMins = from_time_to_mins(int(clockTime[0]), int(clockTime[1]))
    #print(invertedMins)
    invertedTime = from_mins_to_time(720 - invertedMins)
    #print(720 - invertedMins, invertedTime)
    
    return f'{str(invertedTime[0]):0>2}:{str(invertedTime[1]):0>2}'
tall latch
#
  File "C:\Users\JERSON\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 333, in _run_event
    await coro(*args, **kwargs)
  File "main.py", line 48, in on_message
    image = lvl_info(pfp, author.name, fetched_list[0][2], fetched_list[0][3], rank)
  File "C:\Users\JERSON\Desktop\Bot Bakers\Bakery Bot\pillowStuff.py", line 24, in lvl_info
    proImage = Image.frombytes("RGB", (130,130), pfp)
  File "C:\Users\JERSON\AppData\Local\Programs\Python\Python38\lib\site-packages\PIL\Image.py", line 2658, in frombytes
    im.frombytes(data, decoder_name, args)
  File "C:\Users\JERSON\AppData\Local\Programs\Python\Python38\lib\site-packages\PIL\Image.py", line 797, in frombytes
    raise ValueError("not enough image data")
ValueError: not enough image data```
uncut meteor
#

write it to BinaryIO file

#

so its in memory

#

then use that

strong arch
#

Image.open

terse needle
#

marked the tests its having an issue with

Test.assert_equals(what_is_the_time("03:00"), "09:00", "didn't work for '03:00'")
Test.assert_equals(what_is_the_time("12:02"), "11:58", "didn't work for '12:02'") # Issue
Test.assert_equals(what_is_the_time("12:01"), "11:59", "didn't work for '12:01'") # Issue
Test.assert_equals(what_is_the_time("06:35"), "05:25", "didn't work for '06:35'")
Test.assert_equals(what_is_the_time("11:59"), "12:01", "didn't work for '11:59'") # Issue
Test.assert_equals(what_is_the_time("12:02"), "11:58", "didn't work for '12:02'") # Issue
Test.assert_equals(what_is_the_time("04:00"), "08:00", "didn't work for '04:00'")
Test.assert_equals(what_is_the_time("06:00"), "06:00", "didn't work for '06:00'") 
Test.assert_equals(what_is_the_time("12:00"), "12:00", "didn't work for '12:00'") # Issue

all above 12:00 (720 mins) except 11:59

tall latch
#

@wicked sundial hey whassup

wicked sundial
#
@client.command()
async def help(ctx):                                               
        embedVar = discord.Embed(title="Intelligenic Support Bot Help Page", description="Help listed below...", color=0x5DADE2)
        embedVar.set_thumbnail(url='https://cdn.discordapp.com/attachments/815221211055128576/815286031933767680/Square_Simple.jpg')
        embedVar.add_field(name="Moderation!", value="Do !help moderation for moderation commands", inline=False)
        embedVar.add_field(name="Fun Commands", value="Do !help fun for more fun commands", inline=False)
        embedVar.add_field(name="Random Number Commands", value="Do !help number for a list of number commands", inline=True)
        await ctx.send(embed=embedVar)```
#

my command is not sending

#

@tall latch

tall latch
#

i will tell you whats wrong

wicked sundial
#

ok

#

join help 0

#

@tall latch

tall latch
#

@uncut meteor you can check kj's status to know which game he playing

pine ledge
#

Can anyone explain me one code

#

I am not able to understand

terse needle
#

sure, ill try

pine ledge
terse needle
#

your learning programming right

#

might have got that wrong

pine ledge
#

Yes

terse needle
#

how new are you?

#

cus this is using generators and shit

pine ledge
#

Yes I am not able to understand

whole bear
terse needle
#

generators are quite and advanced and the item slicing looks quite complicated

terse needle
whole bear
#

yeh

terse needle
#

solution?

#

im still working on it

whole bear
#

i did in js :sully:

terse needle
#

still

whole bear
#
const WhatIsTheTime = (time) =>{
  const a = n => Math.abs(n);
  let [h,m] = time.split(':');
  h = (h==12 || h==11) ? h-12 : h;
  h = m==0 ? a(12-h) : a(11-h);
  m = m==0 ? 0 : 60-m;
  return [h > 9 ? h : '0' + h, m > 9 ? m : '0' + m].join(':');
}
pine ledge
#

It doesn't open

terse needle
#

damn

whole bear
#

yeh not at all ;p

pine ledge
#

Why not depends on the teacher

uncut meteor
#

@pine ledge what are you tryna do?

pine ledge
#

I am just trying out questions from website

uncut meteor
#

which site?

pine ledge
#

Hackerearth

dusk burrow
pine ledge
#

Is it that complicated?

dusk burrow
#

For the moment just practice the basics

whole bear
#

no, could be a rickroll

terse needle
#

learn to walk before you can run

dusk burrow
pine ledge
#

Ok I think I understood

terse needle
dusk burrow
pine ledge
#

It looks quite complicated

#

Is it using recursion

uncut meteor
#

!docs itertools.product

wise cargoBOT
#
itertools.product(*iterables, repeat=1)```
Cartesian product of input iterables.

Roughly equivalent to nested for-loops in a generator expression. For example, `product(A, B)` returns the same as `((x,y) for x in A for y in B)`.

The nested loops cycle like an odometer with the rightmost element advancing on every iteration. This pattern creates a lexicographic ordering so that if the inputโ€™s iterables are sorted, the product tuples are emitted in sorted order.

To compute the product of an iterable with itself, specify the number of repetitions with the optional *repeat* keyword argument. For example, `product(A, repeat=4)` means the same as `product(A, A, A, A)`.

This function is roughly equivalent to the following code, except that the actual implementation does not build up intermediate results in memory:... [read more](https://docs.python.org/3/library/itertools.html#itertools.product)
pine ledge
#

What is python context management

#

I do not see overloading here

#

But there's no overloading in the code I shared

#

It is very tough

#

For me

#

But I already know the basics

terse needle
#

@dusk burrow got there in the fucking end

#
def from_time_to_mins(hours: int, mins: int) -> int:
    return (hours*60)+mins

def from_mins_to_time(mins: int) -> list:
    return [mins//60, mins%60]

def what_is_the_time(time_in_mirror):
    clockTime = [int(i) for i in time_in_mirror.split(':')]
    
    invertedMins = from_time_to_mins(*clockTime)
    
    if invertedMins >= 720:
        invertedMins -= 720
    
    invertedTime = from_mins_to_time(720 - invertedMins)
    if invertedTime[0] <= 0: invertedTime[0] = 12
    
    return f'{str(invertedTime[0]):0>2}:{str(invertedTime[1]):0>2}'
wise cargoBOT
#

Hey @strong arch!

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

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

whole bear
terse needle
whole bear
#

oh i did that same thing lmao

terse needle
#

if that makes sense

whole bear
#

my version

const WhatIsTheTime = (t) => {
  a = n => n>9?n:'0'+n; b = n => parseInt(n); c = n => Math.floor(n);
  let [h,m] = t.split(':');
  h %= 12;
  n = 60*13 - ((b(h)+1)*60+b(m));
  return [a(c(n/60)==0 ? 12 : c(n/60)),a(n%60)].join(':');
}
terse needle
#

yeah, except yourse looks like magic and owww im having a migraine i cant think

whole bear
#

mines is completely non-understandable to a thrid person

#

but yeah, gave a hell lotta time to this thing now

terse needle
#

should be around a 5kyu in my opinion

whole bear
#

what level is 5kyun considered idk

terse needle
#

just slightly harder than a 6

whole bear
#

uh so the lower the harder?

terse needle
#

yes

whole bear
#

ah

terse needle
#

but after 1kyu it goes to 1dan all the way up to 8dan, 8dan is the hardest

whole bear
#

i wonder how hardd would that be hyperlemon

terse needle
#

you cant even attempt them until you get a rank of 1kyu

#

and 1kyu is fucking insane

whole bear
#

oh there are ranks too

terse needle
#

yeah

whole bear
#

my rank is 8kyu :kekw:

terse needle
#

yeah, youll move quickly down to 7

#

join the PythonDiscord clan

whole bear
#

what is the worst rank?

terse needle
#

8kyu ๐Ÿ™‚

whole bear
#

oh

#

thats ..

#

uh

terse needle
#

you start at 8 so its not like its rated you lmao

whole bear
#

yeye but this wasnt my first prob :sully:

#

they say i joined on jan 2021

terse needle
#

ive just been using it to learn C++ and improve my Python

whole bear
#

i didnt use much but 2 months should be enuff to get atleast 1 better rank

#

:cri:

terse needle
#

send me your profile

whole bear
#

it has my real name

#

but idm

terse needle
#

you need somewhere around 10 kata solved to get to rank 7

whole bear
#

๐Ÿ˜… .

terse needle
#

yeah, youve only solved 3 kata

#

lmao

whole bear
#

:sully:

#

ye

terse needle
#

hmm

#

how do I access the (1) after the function call multiply_all([1, 2, 3])(1)

whole bear
#

well this things kinda weird and my solution just happened to work miraculously and i dint question it

#

bbut me thinks multiply_all([1, 2, 3])(1) is equivalent to (multiply_all([1, 2, 3]))(1)

#

multiply_all([1,2,3]) returns a function def, lets call that fn
so fn = multiply_all([1,2,3])

#

invoke that returned function like so fn(1)

#

so alltogether it looks like multiply_all([1, 2, 3])(1)

terse needle
#

right, thanks for the insight

whole bear
#

no probs : )

#

now that i think of it idk if i actually answered ur actual ques :kek:

glass cypress
#

!voiceverify

#

!voiceverify @glass cypress

rose orchid
#

h

#

hi

#

is anyone there

#

hello?

somber heath
#

@rose orchid Hello. ๐Ÿ™‚

pliant atlas
#

dpi scaling

somber heath
#

McGurk effect.

pliant atlas
#

@somber heath

runic forum
#

hello

olive night
#

@whole bear

#

sorry to ping here but for some reason i cant text you

#

I dont know why

#

๐Ÿ˜Ÿ

#

Direct messages are not going through

boreal spear
#

!e

Words =['It','looks','like','no','one','is','in','the','voice','chat','becuase','most','people','in','this','server','are','in','the','USA','and','it','is','4:30AM','there']
for word in Words:
  print(word + ' ')
wise cargoBOT
#

@boreal spear :white_check_mark: Your eval job has completed with return code 0.

001 | It 
002 | looks 
003 | like 
004 | no 
005 | one 
006 | is 
007 | in 
008 | the 
009 | voice 
010 | chat 
011 | becuase 
... (truncated - too many lines)

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

maiden shell
#

!voiceverify

#

!voiceverify @maiden shell

dusk burrow
#
def what_is_the_time(time_in_mirror):
    h,m = time_in_mirror.split(':')
    
    if m == '00':
        h = str(12 - int(h))
    else:
        m = str(60 - int(m))
        if h == '12': 
            h = '11'
        else:
            h = str(12-(int(h)+1))
        
    if len(h) == 1: h = '0' + h
    if h == '00':h = '12'
    if len(m) == 1:  m = '0' + m
    
    return ":".join([h,m])
#

that was my first solution

#

but this is way easier

#
def tim_miror(time):
    miror = {'01':'10', 
             '02':'09', 
             '03':'08', 
             '04':'07', 
             '05':'06', 
             '06':'05', 
             '07':'04', 
             '08':'03',
             '09':'02', 
             '10':'01',
             '11':'12', 
             '12':'11'}
    
    h, m = time.split(':')
    if m == '00':
        h = str(12 - int(h))
        if len(h) == 1: h = '0' + h 
        if h == '00': h = '12'
    else:
        h = miror[h]
        m = str(60 - int(m))
    return ":".join([h,m])
terse needle
dusk burrow
tall latch
#
The screen goes ON on the PC tonight
not a VScode to be seen
im in covid isolation
and it looks im in VIM
the time is going like a datetime.time
gotta close this thing
heaven know i tried```
runic forum
#

so what's up

whole bear
#

hello

runic forum
#

playing games

boreal spear
#

Hello Iron Biscuits!

#

I think I've still not sent 50 messages yet but should be voice verified soon!

runic forum
#

okay...

boreal spear
#

Do you know how I check how many messages I've sent?

runic forum
#

idk

terse needle
#

youve sent 52

tall latch
#

@terse needle hey kj

#

how is my song

runic forum
terse needle
#

type into your search bar from: JamesMcIntyre#2214

wise glade
#

hi Opal ๐Ÿ‘‹

#

having a webex session right now, gotta stay muted

somber heath
#

Webex?

wise glade
#

its like MS teams

#

or google meet

#

or zoom

somber heath
runic forum
somber heath
#

Yes.

runic forum
#

cool...

wise glade
#

the guy is speaking too fast, and they won't allow us to record
if did, there will be "consequences" if found lemon_scared

gentle flint
wise glade
#

best pocket reference for EE is "electroboom" youtube channel

gentle flint
wise glade
gentle flint
boreal spear
#

!voiceverify

somber heath
gentle flint
#

...

runic forum
#

would that ever work

somber heath
#

Depends on what you're attempting to achieve.

gentle flint
olive night
#

Only one shop in my country sells this

somber heath
#

@olive night Small country?

tall latch
#

his country against gamers??

olive night
tall latch
#

this is so true

golden hearth
#

oh shit my mics clapped @somber heath

#

what are you guys tlaking about?

lusty pike
#

cant we speak there?

golden hearth
#

big brain stuff? ๐Ÿค”

#

no i think my mics messed up

#

i split water on the thing

#

so i will just listen lol

#

my mum be like put it in rice and it will work

somber heath
#

It can, yes.

#

If you do it early enough.

golden hearth
#

O_O

#

oh no

#

i have some money saved up ill buy a new one lol

#

yeah

#

1080p is width

#

of 1080 pixels

#

do you guys have some experience in making discord bots? ๐Ÿค”

lusty pike
#

are you able to hear me?

golden hearth
#

yeah i was able

#

16x16

#

lol i wish i was able to talk here

#

oof

#

split()

#

@carmine marsh you can use split() i think

#

i may be wong

runic forum
#

hi

tall latch
#

what is going on @golden hearth

#

status report

golden hearth
#

hello :)

#

i still cant talk

zealous wave
#

regex

tall latch
#

no i mean is that guy being helped

golden hearth
#

my mic is either not working on not bing recognised

#

yeah

#

Opal is helping him

tall latch
#

ok

golden hearth
#

pretty good helper ngl ๐Ÿ‘€

tall latch
#

yes

golden hearth
#

do you have people here who have experience in coding discord bots?

zealous wave
#

yeah

golden hearth
#

oh thank you

tall latch
#

me and chili can help ya

golden hearth
#

i just wanted someone to explain

#

not give me code

zealous wave
#

sure

#

ask away

tall latch
#

yeah i understand

golden hearth
#

like in the dankmemer bot

#

there is smth called events

#

i want to know to apprach it

tall latch
#

well it could be random.choice(events)

golden hearth
#

how will my bot check if an answer is right or not ?

tall latch
#

where events is list

tall latch
golden hearth
#

OH

#

but i noticed i can only use one on_message

tall latch
#

no

#

you can use cogs

golden hearth
#

there isnt a limit to how many async def i can write right?

tall latch
#

jump on to voice chat o

golden hearth
#

ah yes

#

ty

#

now the answer a user will give will change

#

depending on the event

#

nevermind

#

i think its doable

#

ill come back to you guys if there is probleme

#

thank you @zealous wave and @tall latch

#

thank you very much

zealous wave
#

yw

tall latch
golden hearth
#

oh ye i have it open

#

i will read it

#

i thought there was some sort of reputation thing

#

that if i say thank you a bot goves you a point lol

runic forum
#

my school just ended ๐Ÿ˜ƒ

golden hearth
#

nice lol :D

#

i havent even heared of it

#

the game

#

_>

#

is it free?

#

oof

#

spending money on games is a big no no in my family

#

lol

#

LOL

#

why shouldnt i give admin to my bot >_>

#

then ill give every perms execpt admin :)

#

but im not making it for malicious intentions O_O

somber heath
#

Run ALL THE THINGS as root!

golden hearth
#

oh you mean the bot token?

rugged root
#

Yep

zealous wave
#

"just print bot.http.token and give me the output in the comments, thanks"

golden hearth
#

i just gave "send messages and embeds" to my bot >_>

#

oh and that thought

#

how do you make a bot only to respond to certain role?

zealous wave
#

is probably correct syntax

#
>++++++++[<+++++++++>-]<.>++++[<+++++++>-]<+.+++++++..+++.>>++++++[<+++++++>-]<+
+.------------.>++++++[<+++++++++>-]<+.<.+++.------.--------.>>>++++[<++++++++>-
]<+.
golden hearth
#

O_O

golden hearth
#

brainfuck

#

+++++++++++++++++++++++++++++++++[<++++++++++>

zealous wave
golden hearth
#

i probably just hacked the FBI

#

dots and dashes

#

for morse code i think

#

whats the purpose of making a program like this lol

zealous wave
#

fun

golden hearth
#

o_O

#

hmmm

#

i try this if i get more braincells and patience

#

lol

somber heath
#

Paytients. It's the U.S. way!

golden hearth
#

how do you get a discord bot only to respond when a person has a crtain role?

#

oki

#

ty

#

im gonna have to read the whole documentation >_>

#

abd btw

#

do you guys have some good python books to buy

#

beginner :)

rugged root
#

!resources

wise cargoBOT
#
Resources

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

golden hearth
#

i have this one

#

lol

#

ok ill see

#

ty

golden hearth
#

i dont understand object orientated programming in python

#

it just seems

#

confusing

#

concept

somber heath
#

A classroom full of students? In this pandemic? Tsk tsk tsk.

golden hearth
#

lol

#

im gonna have my classmates with corona with me by 8th march

rugged root
#

So let's refer to this

golden hearth
#

yeah im seeing it

golden hearth
#

whats the point of using "self"

#

is it suppsed to be self or just self by convention

#

so i can name it anything?

#

ive seen people use this

#

thank you so much

#

this is gonna make things so easy

#

i was mind blown when i found out about functions about python

#

OH

#

the big question

coarse bramble
#

what is init and str and why do they have _ in them?

golden hearth
#

i do not understand INHERITANCE

#

yeah

#

its fine

#

its like

somber heath
#

!e ```python
class MyClass:
def my_method(self, v):
print(self is v)

my_class = MyClass()

my_class.my_method(my_class)```

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

True
minor cypress
#

!e

golden hearth
#

one object took all of the methods from another object

#

thats a thing i see it as

#

inheritance is something i can read and learn about more easily

coarse bramble
#

thank you for explaining a bit about it

rugged root
#

No problem!

golden hearth
#

WHAT IS A @

#

in python

#

_>

#

they say its a decorator

tall latch
golden hearth
#

i swear you are literally better than my professor

#

he raged last time i asked him what init() does

#

yeah he said

#

its something so simple

#

dont waste my time

#

go read a book

#

lol

#

so i read a book and i realised how stupid my question was

#

no i just missed a few classes cuz i had corona

#

he probably teached it before

#

eh i dont blame him

#

i can cut him some slack lol

#

he gets bombarded by a million questions everyday

#

lol

#

hes noramlly a good teacher

#

do programmers even use the global keyword in python?

#

seems useless >_>

somber heath
#

global is the smoking of Python.

golden hearth
#

i pranked my friend it is saying its extremely necessary

#

are you guys in college and stuff?

#

_>

#

people use terms like mental break down and depression so much they've lost value on how severe it is

#

any of you guys here ethical hackers?

#

sounds like a cool job

#

oki

#

it just sounds like a cool job

boreal spear
#

Clients = list(set(list(zip(*data))[9]))

golden hearth
#

i dont even have a keyboard numpad lol

#

its a small mechanical keyboard

#

what careers is there if you like to code?

boreal spear
#
TypeError: 'set' object is not subscriptable
somber heath
#

Maybe break that up across multiple lines, then. Because damn.

rugged root
golden hearth
#

:O

swift valley
#

Evenin'

golden hearth
#

Evenin :)

#

evenin

#

i cant type

golden hearth
#

how many wpm do you guys type >_>

#

the logo?

swift valley
#

New mods?

golden hearth
#

LOGO? ๐Ÿค”

#

the logo change

swift valley
#

Man this server grows fast

golden hearth
#

well yes corona-lockdown-higher probability to reproduce-more population-more programmers-more code-more debugging - more help - so more people on discord python server

swift valley
#

I shouldn't be having dinner at 11 PM but here I am

golden hearth
#

...

swift valley
#

I really shouldn't have eaten those cupcakes

golden hearth
#

cupcakes?

#

who has cupcakes for dinner

swift valley
#

I had two lol

#

and coffee

golden hearth
#

i eat it with paper

#

more flavor

#

i am a stingy man

#

_>

#

thats illogical but okay

#

well yeah they have one of the highest clorie intake alongside

somber heath
#

It's got electrolytes!

rugged root
#

It has what plants crave

golden hearth
#

._.

#

what would plants do with electrolytes

#

oh yeah

somber heath
#

Makes them grow.

coarse bramble
#

Water

golden hearth
#

yeah i forgot for a bit

#

i like how coversations take a life of thir own

#

from OOP to burgers

#

you people are gonna offend a lot of hindus lol >_>

rugged root
#

Dude, we're America

#

We've offended everyone at some point

golden hearth
#

yeah true

coarse bramble
#

I'm hindu. I'm not offended

#

Lol

golden hearth
#

not every hindu is you tho lol

#

there might be someone whose more um

#

aggressive

#

i have a friend

#

he was pissed

dense ibex
#

anger

whole bear
#

I live in Turkmenistan and my internet is 0.8mbps but I would like to be a programmer

golden hearth
#

0.8

#

0.8???

whole bear
#

yeah bro that's crazy

somber heath
#

I kid, of course.

rugged root
#

There's plenty of things you can create that don't require web connections

whole bear
golden hearth
#

mines at like 60

whole bear
somber heath
#

@whole bear People were programming before there was dialup.

golden hearth
#

it goes 200 sometimes

coarse bramble
#

I have 50-60 mbps

golden hearth
#

@boreal spear lol you belong in the politics server

golden hearth
#

lets talk about brownies

#

lol

somber heath
#

@whole bear You've internet enough to make it into this Discord server, which is one of the best Python resources around. You'll do fine. ๐Ÿ™‚

swift valley
#

I like my pancakes crisp lemon_thinking

golden hearth
#

i like my cookies soggy

boreal spear
#

Why me more than others @golden hearth?

golden hearth
#

no i mean

#

you have passion

swift valley
#

Butter toast is also nice

coarse bramble
#

i like ice cream melted

golden hearth
#

yes

#

i leave it in the milk for hours

#

and then i eat it

golden hearth
#

its tasty

somber heath
coarse bramble
#

how do people get roles on this server?

golden hearth
#

by getting them

whole bear
#

Look at this

#

๐Ÿ˜•

golden hearth
#

O_O

dense ibex
#

Rippp

golden hearth
#

i have some advice for you

dense ibex
#

where country are you in lol

golden hearth
#

change your dns server

#

and network channel

coarse bramble
amber raptor
#

DNS wonโ€™t matter

golden hearth
#

1.1.1.1 is fast

#

lol

dense ibex
#

yeah that wont really mater

golden hearth
#

see a yt vid

#

im too lazy to type

whole bear
golden hearth
#

control panel - network sharing centre

#

1pv4

#

properties

whole bear
#

ok thanks

golden hearth
#

click manual

#

and then

#

1.1.1.1 as primary

#

and 1.0.0.1 as secondary

coarse bramble
golden hearth
#

yeah idk about mac

#

someone can help you here for sure

amber raptor
#

Itโ€™s not DNS

golden hearth
#

bruh wdym

#

DNS

#

domain name server

#

1.1.1.1 and 1.0.0.1 is the dns server from cloudflare

amber raptor
#

Itโ€™s not DNS causing lag

golden hearth
#

im saying to improve

#

they sometimes can

amber raptor
#

If their returns are crazy slow

golden hearth
#

yeah

#

but the default one from your ISP

#

can sometimes lag

hollow haven
#

I purposely keep my DMs open since I became an admin

golden hearth
#

plus you have more security

#

if you use 1.1.1.1

hollow haven
#

I also weirdly get fewer creepy messages since becoming an admin....

golden hearth
#

imma join you guys in a minute

#

i need to talk to the professer

swift valley
#

brb

somber heath
#

Watching of of my YT livestreamers. bbl

hollow haven
#

Might still make the !bonk command though....

golden hearth
#

In this video, I tell you the best IDE to use for programming. No matter what kind of programming you do.

๐Ÿ“š Video courses from JomaClass:
๐ŸŽ“ New to programming? Learn Python here: https://joma.tech/35gCJTd
๐ŸŽ“ Learn SQL for data science and data analytics: https://joma.tech/3nteQih
๐ŸŽ“ Data Structures and Algorithms: https://joma.tech/2W89H33

Music...

โ–ถ Play video
whole bear
#

1.1.1.1
1.0.0.1 isn't working

#

f#cking

#

life

golden hearth
#

is there more lag ?

whole bear
#

no internet just stoping

golden hearth
#

its not supposed to make drastic changes

#

oof

rugged root
#

What is it for Google's? 8.8.8.8 and 8.8.4.4?

golden hearth
#

then change it back to normal

#

yeah

whole bear
golden hearth
#

you need to change your network channel

hollow haven
#

my cat is snoring loud enough that I can hear it through my headphones

golden hearth
#

O_O

#

thats some loud snoring

#

or trash headphones

whole bear
#

where I live have one company who giving us internet and that's very expensive
my computer is very old with ram 2gb
my life is f#cking beautiful

whole bear
#

yeah

golden hearth
#

im not a cat person

whole bear
#

And I'd like to be a programmer

golden hearth
#

noice

#

me too

whole bear
golden hearth
#

lets work together

whole bear
golden hearth
#

i tried to learn BSL in lockdown

#

forget juggling cuz my hand eye coordination is dogshit

#

easier to moonwalk

boreal spear
hollow haven
#

Probably vinyl or wood laminate

golden hearth
#

i cant even do monkey bars

#

my shoe touches the ground

#

lololololololol

wise glade
#

for any of you working people, is there something like a PIN number you use to reset your userID and password if you get locked out accidentally?

dense ibex
swift valley
#

tfw it's too tropical to wear socks at night

#

24 C is the minimum in most days

#

During -ber months it can drop to 15 C

hollow haven
#

30C would be bleeeegh

swift valley
#

Daily 30 C lemon_swag

wise glade
#

Hemlock visit here, it goes 50 on some days in May-June

#

we can't use Lithium Battery to power our house cause they won't work

swift valley
#

I'm from the Philippines

hollow haven
#

It's been raining too god damn much lately

swift valley
#

Just wet

coarse bramble
wise glade
#

its already going to go over 30 here

swift valley
#

> 35 C is too much

wise glade
#

well, you can eat all the ice-cream you want, and you won't get sick

#

no sore throat

swift valley
#

Also yes, CPUs do get really hot here

#

Ventilation works out most of the time though

golden hearth
#

me bacc

whole bear
wise glade
golden hearth
#

_>

whole bear
golden hearth
#

oh damn thats a good website

whole bear
#

ok

golden hearth
#

im gonna be back soon

#

i have that professeor's class

#

ill be back

dusk burrow
#

And you'd better avoid saturated colors

whole bear
#

ok thanks

coarse bramble
wise glade
#

my new internet ๐Ÿคฉ

#

it was 10mbps before

dusk burrow
wise glade
#

type(rdp) ??

dusk burrow
#

google it bro

wise glade
#

โ˜๏ธ this?

dusk burrow
#

yes

wise glade
whole bear
wise glade
#

mine was too, fiber optic just got here where I live

#

and I am the very first client they have

#

cause I was submitting 10 applications every morning ๐Ÿ˜‚, 2 months prior to it

whole bear
#

Is it starlink

#

)

wise glade
#

nope

#

starlink won't be here till next year

icy axle
swift valley
#

Looks pretty sick

wise glade
#

ok, thoughts people, just got this

whole bear
icy axle
dusk burrow
wise glade
#

is it my very first attack ๐Ÿ™‚

whole bear
hollow haven
amber raptor
#

SQL server at work

wise glade
#

ok, its not easy to report stuff on discord

#

lot of links I jumped to and from

#

Hemlock, one thing that comes from temp above 30 is mosquitoes,
hate it too much

swift valley
#

@runic forum Might want to use Push-To-Talk

runic forum
#

okey

thin breach
somber heath
#

I'll be in shortly.

whole bear
#
__builtins__.__dict__["_"] = lambda s: s
AttributeError: 'dict' object has no attribute '__dict__'

how to fix this problem?

gentle flint
thin breach
#

if only

gentle flint
#

Nederland

icy axle
thin breach
vivid palm
#

i didn't have unlimited voice/text til like 2 years ago lol

rugged root
#

I don't even know if I'd need unlimited

boreal spear
#

Which contry you based in Mina?

vivid palm
#

US

#

phone plans from the olden days from verizon lol

boreal spear
#

Do you use WhatsApp to send free vidoes, images etc then?

vivid palm
#

now on team magenta

#

i use whatsapp for co-workers or people i meet with ties to India/Pakistan

#

but barely

#

i heard kids use discord these days

gentle flint
#

indeed

viscid perch
#

in my country calls are free

vivid palm
candid venture
#

/report @amber raptor being toxic

hollow plank
#

cannot speak cuase im new

whole bear
#

hi new

hollow plank
#

Hello

whole bear
#

i m gi/biscuit

hollow plank
#

hello gi/bisuit.

#

Chrome OS xD

#

๐Ÿ˜„

runic forum
#

I'm iron biscuit

hollow plank
#

"and than they discover they cant" ๐Ÿ˜„

whole bear
hollow plank
#

Hello iron biscuit.

#

i like cookies

gentle flint
#

but do you like biscuits

whole bear
#

i like u too

#

uhsdfnx

hollow plank
#

i dont know

whole bear
#

cookie==biscuit

hollow plank
#

should i taste you?

whole bear
rugged root
#

Please no

hollow plank
whole bear
hollow plank
somber heath
#

DOSktops.

rugged root
#

True, just trying to nip it in the bud

hollow plank
#

@gentle flint its a known chromium/electron bug

amber raptor
gentle flint
#

that introduces around 100 other bugs

#

I have that too

hollow plank
#

work arround: obs and virtual camera

gentle flint
#

on a different disk

gentle flint
hollow plank
#

gives you better quality without discord nitro

gentle flint
#

mmm

runic forum
#

by how

hollow plank
#

professor unzipping 42.zip live

swift valley
#

Evenin

#

Got back from a nap lol

hollow plank
#

but they get paid @flint hill

#

or you just use a reverse shell ๐Ÿ˜„

vivid palm
#

yeah we can stop using the term basic bitch ๐Ÿ™‚

vivid palm
#

call it for what it is

#

incompetence

hollow plank
#

lol shot him ๐Ÿ˜„

#

"because goverment"

bronze surge
#

import antigravity

#

check this

#

good code

whole bear
#

!e ```python
name = "Bob"
type(name)

wise cargoBOT
#

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

[No output]
bronze surge
#

!e
import antigravity

wise cargoBOT
#

@bronze surge :warning: Your eval job has completed with return code 0.

[No output]
whole bear
#

!e ```python
name = "Bob"
print(type(name))

wise cargoBOT
#

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

<class 'str'>
rugged root
#

!e name = "asdf1324"; print(type(name));

amber raptor
#

!e python name = "Bob123" print(type(name))

wise cargoBOT
#

@rugged root :white_check_mark: Your eval job has completed with return code 0.

<class 'str'>
#

@amber raptor :white_check_mark: Your eval job has completed with return code 0.

<class 'str'>
somber heath
#
all(each not in '0123456789' for each in thing)
any(each in '0123456789' for each in thing)```
amber raptor
#

!e python name = "bob123" if name in ["1",'2','3','4','5','6','7','8','9','0']: print("Numbers")

wise cargoBOT
#

@amber raptor :warning: Your eval job has completed with return code 0.

[No output]
minor cypress
#

Elon Musk's son's name

flint hill
#

Name1=str(input( 'enter the name of the person....:'))
if numv
numv=int(input( 'enter the number of Violations..:'))

#

!e
Name1=str(input( 'enter the name of the person....:'))
if numv
numv=int(input( 'enter the number of Violations..:'))

wise cargoBOT
#

@flint hill :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 2
002 |     if numv
003 | IndentationError: unexpected indent
amber raptor
#

!e python name = "bob123" if list(name) in ["1",'2','3','4','5','6','7','8','9','0']: print("Numbers")

wise cargoBOT
#

@amber raptor :warning: Your eval job has completed with return code 0.

[No output]
rugged root
#

!e

from string import digits
name = "Gr12eg"
if any(character for character in name if character in digits):
  print("Name has numbers and is invalid")
wise cargoBOT
#

@rugged root :white_check_mark: Your eval job has completed with return code 0.

Name has numbers and is invalid
amber raptor
#

!e python a = ['a','b','c'] b = ['c','d','e'] if a in b: print("Hello")

wise cargoBOT
#

@amber raptor :warning: Your eval job has completed with return code 0.

[No output]
whole bear
#
chars = set('0123456789$,')
if any((c in chars) for c in s):
    print('Found')
else:
    print('Not Found')
hoary inlet
#

what's the challenge ?

whole bear
#

!e ```python
chars = set('0123456789$,')

name = "Bob123"
if any((c in chars) for c in name):
print('Found')
else:
print('Not Found')

wise cargoBOT
#

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

Found
whole bear
#

!e ```python
chars = set('0123456789$,')

name = "Bob"
if any((c in chars) for c in name):
print('Found')
else:
print('Not Found')

wise cargoBOT
#

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

Not Found
swift valley
#

Silly solution but

whole bear
#

idk why this doesnt runs

#

no i m not helping

#

i m doing js

gentle flint
#

perhaps because it's js and not python

whole bear
#

ovfidhsgiufhjnxzkl

#

oh

hoary inlet
#

it's js, right ??

whole bear
#

yes

gentle flint
#

the bot is for python LOL

#

it's called Python

whole bear
#

EMBARRASED

whole bear
somber heath
#

!e ...

wise cargoBOT
#

@somber heath :warning: Your eval job has completed with return code 0.

[No output]
swift valley
#

!e

from string import ascii_letters

name = "Gr12eg"
allowed = set(ascii_letters)

if set(name) - allowed:
  print("Illegal characters found")
#

Woops

whole bear
#

is there any bot for js here

wise cargoBOT
#

@swift valley :white_check_mark: Your eval job has completed with return code 0.

Illegal characters found
gentle flint
#

not in the python server, no

whole bear
gentle flint
#

well, you're kinda in the wrong server, huh

runic forum
#

!e ```py
print("Hello World To Everyone!!")

gentle flint
#

I mean, Python is our thing

wise cargoBOT
#

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

Hello World To Everyone!!
whole bear
#

this server has the busiest vc

#

all i need

#

nvm

#

gud thing

#

for me

gentle flint
#

then come chat instead of asking js questions

#

lol

whole bear
#

yeh, i was kinda distracted, my bad

noble copper
#

!e

name = "regular"
print(any(i.isdigit() for i in name))

wrong = "dafsefef4"
print(any(i.isdigit() for i in wrong))
wise cargoBOT
#

@noble copper :white_check_mark: Your eval job has completed with return code 0.

001 | False
002 | True
swift valley
#

I'm tempted to add 7 layers of indirection with this problem

#

brb

whole bear
#

!e ```python
chars = set('0123456789$,')

name = input("Enter Your Name Here > ")
if any((c in chars) for c in name):
print('Found')
else:
print('Not Found')

wise cargoBOT
#

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

001 | Enter Your Name Here > Traceback (most recent call last):
002 |   File "<string>", line 3, in <module>
003 | EOFError: EOF when reading a line
whole bear
#

!e ```python
from string import ascii_letters

name = "Gr12eg"
allowed = set(ascii_letters)

if set(name) - allowed:
print("Illegal characters found")

wise cargoBOT
#

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

Illegal characters found
swift valley
#

ascii_letters is a string containing A-Z and a-z

gentle flint
#
chars = set('$,')
name = input("Enter Your Name Here > ")
if any((c in chars or c.isdigit()) for c in name):
    print('Found')
else:
    print('Not Found')
swift valley
#

Undo/Redo is just u/ctrl-r in Vim lol

boreal spear
#

!e

from string import ascii_letters

name = "Gre12g"
NotAllowed = set('0123456789')

if set(name) - allowed:
  print("Illegal characters found")
else:
    print("no illegal characters found")