#voice-chat-text-0
1 messages ยท Page 769 of 1
@random ridge
50 Messages without getting kicked
We're lef out ToT
^ the topic
Thx
print("fish")
What's the clock problem you're solving
$ fish
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")```
Yeah it's the easiest way
But you could replace elif by except too
Anything could work really
boomer
You forgot the else if statement
jk
ah what
a good one is grade boundaries because in some cases (obviously you can do something else) it requires you to have an if, elif order. answer is either yes or no it would work exactly the same with 2 ifs. for example x mark = y grade in z grade boundaries
be a biscuit bruh
no then you can say what ever and then it will print "oh so you are a girl"
Yeah indeed you forgot it but there is no "try:" statement
So no need for a "else" statement
I want to learn programming
and there is the third gender
!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'"
@uncut meteor :warning: Your eval job has completed with return code 0.
[No output]
well yeah but she dont know there are other genders
@terse needle
hmm
she is only a kid
!comparison
Nooooo because that's what it's intended for
3d.2f means?
she can learn
wat bout ===
show her this
I mean 0d.2f
๐ฆ
JS 
dood
she will get confused
You could use a "try:, if, elif, except" or two "if" too
where is biscuit gender
so you just avoided 6, 12, 0 and 60
yeah

they funky
oh i dont know the sign of biscuit
Dude I wanna be void
๐ช
Litteral biscuit
yooo make sense ๐
!comparison
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")
!assignment
I remember when they added the sexuality green lights in london
!format
!docs format
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)
look like a asian fight club
this didnt work?
:sully:
So, is everyone working on this codewars problem?
i m such a confused creature, feel free to ignore me...
i dont think so
not realy
HBD @tall latch
o don't even know this problem
Today's biebers birthday
this one??
I'm complete garbage with python 3
same
this implies you are good with python2
And on codewars this mf is asking me to resolve a python 3 problem
are you?
I think I'm fine
With python 2
then u will be fine with python3
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)
def multiply(a, b):
print(a * b)
this one right??
are you familiar with Computer Science in general
You mean ?
The basics not the hard stuff
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 ...
!eval
Should have put the next unicode character. ```py
print(chr(ord('z') + 1))
@stuck furnace :white_check_mark: Your eval job has completed with return code 0.
{
Is only basic stuff
Is there something wrong with this code ?
no
!e
def multiply(a, b):
print(a * b)
multiply(5, 2)
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
10
lmao
GOD
does list.sort() change the list
!e
def multiply(a, b):
return a * b
print(multiply(5, 2))
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
10
or create a new one
!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")
@icy axle :white_check_mark: Your eval job has completed with return code 0.
You just added 'Greta' to dave... weird
5 + 5
Cool
!e print("Hello ".__add__("there"))
@icy axle :white_check_mark: Your eval job has completed with return code 0.
Hello there
"Hello " + "there"
lmao
!e print(int(5).__add__(5))
@icy axle :white_check_mark: Your eval job has completed with return code 0.
10
:big_brain:
!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())
@zealous wave :white_check_mark: Your eval job has completed with return code 0.
001 | -9
002 | -10
!e ```py
print([1].len().bool().str().len().add([].len().bool().str().len()).invert())
@zealous wave :white_check_mark: Your eval job has completed with return code 0.
-10
im currently coding my own website and i have this issue were my texts won't align properly to my images
text-align
right
!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)
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
001 | Home/Test
002 | Home/Test
is it okay btw to discuss html issues here?
!e ```py
from pathlib import Path
print(Path("root") / "test" / "folder")
@icy axle :white_check_mark: Your eval job has completed with return code 0.
root/test/folder
cAMELcASE

iPhone Case
mehmeh
since nobody didn't seem to bother to answer my question im going to assume that i can post any programming related questions here
Is it python related?
.
Ah, didn't see that
Well, we can pop into VC 1 and have a quick look at it if you want to
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
Then it'll be 11?
how to corrige this error pls
@whole bear there is no command called ".!canvas"
I have to put'.! canvas' before?
I think it gets flipped by some constant angle
ok you speak french?
Note that this function decodes pixel data only, not entire images.
ok thank you
Ok bye it was nice talking to you
i not speak veery well english ...
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
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'```
@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}'
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```
Image.open
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
@wicked sundial hey whassup
yo
@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
sure, ill try
Yes
Yes I am not able to understand
generators are quite and advanced and the item slicing looks quite complicated
clocks?
yeh
i did in js :sully:
still
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(':');
}
It doesn't open
damn
yeh not at all ;p
Why not depends on the teacher
@pine ledge what are you tryna do?
I am just trying out questions from website
which site?
Hackerearth
Don't tryna solve complicated problem till you learn most of the basics
Is it that complicated?
For the moment just practice the basics
no, could be a rickroll
learn to walk before you can run
did you solve the miror ?
Ok I think I understood
nearly
take it easy because it easier than we tought
!docs itertools.product
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)
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
@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}'
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.
bruh i got another supah clever solution
yeah, my doesnt look great but essentially we are converting time to minutes the 720-mins and convert back to time (720 is 12*60)
oh i did that same thing lmao
if that makes sense
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(':');
}
yeah, except yourse looks like magic and owww im having a migraine i cant think
mines is completely non-understandable to a thrid person
but yeah, gave a hell lotta time to this thing now
should be around a 5kyu in my opinion
what level is 5kyun considered idk
just slightly harder than a 6
uh so the lower the harder?
yes
ah
but after 1kyu it goes to 1dan all the way up to 8dan, 8dan is the hardest
i wonder how hardd would that be 
oh there are ranks too
yeah
my rank is 8kyu :kekw:
what is the worst rank?
8kyu ๐
you start at 8 so its not like its rated you lmao
ive just been using it to learn C++ and improve my Python
send me your profile
you need somewhere around 10 kata solved to get to rank 7
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)
right, thanks for the insight
@rose orchid Hello. ๐
dpi scaling
McGurk effect.
Visit http://TED.com to get our entire library of TED Talks, transcripts, translations, personalized talk recommendations and more.
Tim Urban knows that procrastination doesn't make sense, but he's never been able to shake his habit of waiting until the last minute to get things done. In this hilarious and insightful talk, Urban takes us on a j...
@somber heath
hello
@whole bear
sorry to ping here but for some reason i cant text you
I dont know why
๐
Direct messages are not going through
!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 + ' ')
@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
Holly ๐
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])
I dont want to be writing out some translation table
But it's easy
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```
so what's up
hello
playing games
Hello Iron Biscuits!
I think I've still not sent 50 messages yet but should be voice verified soon!
okay...
Do you know how I check how many messages I've sent?
idk
youve sent 52
if #bot-commands and #sir-lancebot-playground channels are not counted in...
type into your search bar from: JamesMcIntyre#2214
here
Webex?
@spiral monolith Python art https://imgur.com/gallery/OJaqKvR
was that made in python?
Yes.
cool...
the guy is speaking too fast, and they won't allow us to record
if did, there will be "consequences" if found 
best pocket reference for EE is "electroboom" youtube channel
!voiceverify
@gentle flint https://i.imgur.com/47GIybL.jpg
...
๐คฃ
would that ever work
Depends on what you're attempting to achieve.
Only one shop in my country sells this
@olive night Small country?
his country against gamers??
Ya (Seychelles)
this is so true
cant we speak there?
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
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? ๐ค
are you able to hear me?
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
hi
regex
no i mean is that guy being helped
ok
pretty good helper ngl ๐
yes
do you have people here who have experience in coding discord bots?
oh thank you
yeah
me and chili can help ya
yeah i understand
like in the dankmemer bot
there is smth called events
i want to know to apprach it
well it could be random.choice(events)
how will my bot check if an answer is right or not ?
where events is list
well use on_message
there isnt a limit to how many async def i can write right?
jump on to voice chat o
nope
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
yw
there is discord.py documentation waiting to go on date with you
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
my school just ended ๐
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
Run ALL THE THINGS as root!
oh you mean the bot token?
Yep
"just print bot.http.token and give me the output in the comments, thanks"
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?
is probably correct syntax
>++++++++[<+++++++++>-]<.>++++[<+++++++>-]<+.+++++++..+++.>>++++++[<+++++++>-]<+
+.------------.>++++++[<+++++++++>-]<+.<.+++.------.--------.>>>++++[<++++++++>-
]<+.
O_O
in what language
i probably just hacked the FBI
dots and dashes
for morse code i think
whats the purpose of making a program like this lol
fun
Paytients. It's the U.S. way!
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 :)
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
i dont understand object orientated programming in python
it just seems
confusing
concept
A classroom full of students? In this pandemic? Tsk tsk tsk.
So let's refer to this
yeah im seeing it
๐
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
what is init and str and why do they have _ in them?
!e ```python
class MyClass:
def my_method(self, v):
print(self is v)
my_class = MyClass()
my_class.my_method(my_class)```
@somber heath :white_check_mark: Your eval job has completed with return code 0.
True
!e
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
thank you for explaining a bit about it
No problem!
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 >_>
global is the smoking of Python.
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
Clients = list(set(list(zip(*data))[9]))
i dont even have a keyboard numpad lol
its a small mechanical keyboard
what careers is there if you like to code?
TypeError: 'set' object is not subscriptable
Ah. Yep.
Maybe break that up across multiple lines, then. Because damn.
:O
Evenin'
Sound needed https://imgur.com/gallery/0ZBiDyE
New mods?
Man this server grows fast
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
I shouldn't be having dinner at 11 PM but here I am
...
I really shouldn't have eaten those cupcakes
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
It's got electrolytes!
It has what plants crave
Makes them grow.
Water
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 >_>
yeah true
not every hindu is you tho lol
there might be someone whose more um
aggressive
i have a friend
he was pissed
anger
I live in Turkmenistan and my internet is 0.8mbps but I would like to be a programmer
yeah bro that's crazy
Sorry. The minimum for being a programmer is 0.9mbps. ๐
I kid, of course.
Slow internet doesn't mean you can't code
There's plenty of things you can create that don't require web connections
I'm really sad๐ซ๐
wooow
@whole bear People were programming before there was dialup.
it goes 200 sometimes
I have 50-60 mbps
@boreal spear lol you belong in the politics server
but it's not that time
@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. ๐
I like my pancakes crisp 
i like my cookies soggy
Why me more than others @golden hearth?
Butter toast is also nice
i like ice cream melted
ok thanks now it started laging
its tasty
My bad.
how do people get roles on this server?
by getting them
O_O
Rippp
i have some advice for you
where country are you in lol
how?
DNS wonโt matter
yeah that wont really mater
where I can do that
ok thanks
That's a windows process
Itโs not DNS
bruh wdym
DNS
domain name server
1.1.1.1 and 1.0.0.1 is the dns server from cloudflare
Itโs not DNS causing lag
If their returns are crazy slow
I purposely keep my DMs open since I became an admin
I also weirdly get fewer creepy messages since becoming an admin....
brb
"Bob Collins, Australian Senator" Air date: 26/07/1991
Can be purchased on "Clarke & Dawe -The Full Catastrophe DVD Boxed Set" Personally signed at MrJohnClarke.com
Watching of of my YT livestreamers. bbl
Might still make the !bonk command though....
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...
is there more lag ?
no internet just stoping
What is it for Google's? 8.8.8.8 and 8.8.4.4?
I will try
you need to change your network channel
my cat is snoring loud enough that I can hear it through my headphones
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
yeah
im not a cat person
And I'd like to be a programmer
ok
lets work together
lets
i tried to learn BSL in lockdown
forget juggling cuz my hand eye coordination is dogshit
easier to moonwalk
Love this Nub, thank you
Probably vinyl or wood laminate
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?
yeah prob
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
30C would be bleeeegh
Daily 30 C 
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
It's been raining too god damn much lately
Just wet
its already going to go over 30 here
> 35 C is too much
Also yes, CPUs do get really hot here
Ventilation works out most of the time though
me bacc
Look at my new site without backend: http://yonekey.lovestoblog.com/
this stuff is good ๐คฉ
_>
thanks I'm learning front end
oh damn thats a good website
ok
ok thanks
rdp?
google it bro
yes
btw, to answer this, it was just LTE
woooooooooooooowww mine is baaaaaad fck
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
Looks pretty sick
ok, thoughts people, just got this
ok
Thanks!
hhhhhhhhhhhh
is it my very first attack ๐
report that ish to discord~
SQL server at work
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
@runic forum Might want to use Push-To-Talk
okey
I'll be in shortly.
__builtins__.__dict__["_"] = lambda s: s
AttributeError: 'dict' object has no attribute '__dict__'
how to fix this problem?
if only
Nederland

I live in the first 3rd world state so...
i didn't have unlimited voice/text til like 2 years ago lol
I don't even know if I'd need unlimited
Which contry you based in Mina?
Do you use WhatsApp to send free vidoes, images etc then?
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
indeed
in my country calls are free
@rugged root https://techcommunity.microsoft.com/t5/office-365/does-teams-uses-skype-for-business-server-backend/m-p/196055 apparently teams doesn't use skype
cannot speak cuase im new
Hello
i m gi/biscuit
I'm iron biscuit
"and than they discover they cant" ๐
hello fellow biscuit
but do you like biscuits
i dont know
cookie==biscuit
should i taste you?
uhhh
Please no
False
False
not my idea
DOSktops.
True, just trying to nip it in the bud
@gentle flint its a known chromium/electron bug
https://www.microsoft.com/en-us/software-download/windows10ISO here is the fix
work arround: obs and virtual camera
on a different disk
fair enough
gives you better quality without discord nitro
mmm
by how
professor unzipping 42.zip live
yeah we can stop using the term basic bitch ๐
?
!e ```python
name = "Bob"
type(name)
@whole bear :warning: Your eval job has completed with return code 0.
[No output]
!e
import antigravity
@bronze surge :warning: Your eval job has completed with return code 0.
[No output]
!e ```python
name = "Bob"
print(type(name))
@whole bear :white_check_mark: Your eval job has completed with return code 0.
<class 'str'>
!e name = "asdf1324"; print(type(name));
!e python name = "Bob123" print(type(name))
@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'>
all(each not in '0123456789' for each in thing)
any(each in '0123456789' for each in thing)```
!e python name = "bob123" if name in ["1",'2','3','4','5','6','7','8','9','0']: print("Numbers")
@amber raptor :warning: Your eval job has completed with return code 0.
[No output]
Elon Musk's son's name
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..:'))
@flint hill :x: Your eval job has completed with return code 1.
001 | File "<string>", line 2
002 | if numv
003 | IndentationError: unexpected indent
!e python name = "bob123" if list(name) in ["1",'2','3','4','5','6','7','8','9','0']: print("Numbers")
@amber raptor :warning: Your eval job has completed with return code 0.
[No output]
!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")
@rugged root :white_check_mark: Your eval job has completed with return code 0.
Name has numbers and is invalid
!e python a = ['a','b','c'] b = ['c','d','e'] if a in b: print("Hello")
@amber raptor :warning: Your eval job has completed with return code 0.
[No output]
chars = set('0123456789$,')
if any((c in chars) for c in s):
print('Found')
else:
print('Not Found')
what's the challenge ?
!e ```python
chars = set('0123456789$,')
name = "Bob123"
if any((c in chars) for c in name):
print('Found')
else:
print('Not Found')
@whole bear :white_check_mark: Your eval job has completed with return code 0.
Found
!e ```python
chars = set('0123456789$,')
name = "Bob"
if any((c in chars) for c in name):
print('Found')
else:
print('Not Found')
@whole bear :white_check_mark: Your eval job has completed with return code 0.
Not Found
Silly solution but
perhaps because it's js and not python
it's js, right ??
yes
EMBARRASED
ye
!e ...
@somber heath :warning: Your eval job has completed with return code 0.
[No output]
!e
from string import ascii_letters
name = "Gr12eg"
allowed = set(ascii_letters)
if set(name) - allowed:
print("Illegal characters found")
Woops
is there any bot for js here
@swift valley :white_check_mark: Your eval job has completed with return code 0.
Illegal characters found
not in the python server, no
criii
well, you're kinda in the wrong server, huh
!e ```py
print("Hello World To Everyone!!")
I mean, Python is our thing
@runic forum :white_check_mark: Your eval job has completed with return code 0.
Hello World To Everyone!!
yeh, i was kinda distracted, my bad
!e
name = "regular"
print(any(i.isdigit() for i in name))
wrong = "dafsefef4"
print(any(i.isdigit() for i in wrong))
@noble copper :white_check_mark: Your eval job has completed with return code 0.
001 | False
002 | True
!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')
@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
!e ```python
from string import ascii_letters
name = "Gr12eg"
allowed = set(ascii_letters)
if set(name) - allowed:
print("Illegal characters found")
@whole bear :white_check_mark: Your eval job has completed with return code 0.
Illegal characters found
ascii_letters is a string containing A-Z and a-z
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')
Undo/Redo is just u/ctrl-r in Vim lol
!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")
