#voice-chat-text-0
1 messages · Page 23 of 1
its definitely not using string formatting at least
In this Python SQLite tutorial, we will be going over a complete introduction to the sqlite3 built-in module within Python. SQLite allows us to quickly get up and running with databases, without spinning up larger databases like MySQL or Postgres. We will be creating a database, creating a table, insert, select, update, and delete data. Let's ge...
17:25 in
video shows the method
Good to know, not seen it before
@severe geyser your keyboard is coming through a lot
Hii @icy axle
I'm literally learning this rn. What are the odds
very low
im bored x depressed
I'm experimenting with it as we speak
hello?
yes?
what do you code?
Python, C, CPP, HTML/CSS/JS, React, Lua, Haxe
but I'm still a useless creature
wow thats alot
do you use django?
learning it*
why you said that?
because that's true? Me == Nothing
which source are you learning it? course or youtube or just docs?
youtube duh
I like docs in C/C++ stuff
you are kinda sad? got some problems?
which channel would you prefer?
I'm watching the freecodecamp one, kinda good
yeah lots-
i see
if you have problem just play games or watch anime its good
anime is kinda a part of the issue
you are probably watching the sad ones
ok maybe avoid anime try out games? 😅
yeah might try that
But I'm still nothing
What cheers up others, doesn't cheer me
My humanity is fading away
and I'm leaving myself to it
what do you think?
I think I should just give up and accept the truth that I'm an animal
I've a pet regression, this hopefully explains it further?
i think its because you think that way bro
@whole bear say your say
just enjoy life
I'm also an introvert which is uhh not so fortunate
I'm enjoying it the wrong way 😰
Women are better than men in every corner of life.
Cope.
atleast you are enjoying it
yeah ig
I'm still young for this though. I have to reconsider some important decisions in my life.
I started today some sort of mental therapy with someone here in discord from a femboy server (I am one), and they are so kind and keen to help.
@placid hedgeyo bro any django live coding 😅
Nah all I'd work on is fixing React frontend 😂
I mean, history is here if you want to read some
If I were to work on that project
Which uhh, my frontend is fucking death
Cannot do HTML or CSS for the life of me
you are on front end work right now?
On that project that's all that I would do
Ok I clicked it
For work I'm not doing front end
My spotify is cringe too
Doing any HTML and CSS make me wanna vomit
do you see some django live coding here?
idk front end is too confusing for me 😅
Why I hate Django frontend. It's pretty much just HTML
front-end web dev makes me vomit
This to the highest degree
Leave it to the graphic design majors
🤣
what ASM?
I started adding a shit ton of my CS colleagues, and the amount of people working to be front-end dev as a CS major is like what the fuck 😂
assembly
No judging
¯_(ツ)_/¯
wow you are legend bro 🫡
Not human legit
I'm just a masochist, so you know I like to make myself suffocate
legends are in movies bro
man google be like, "let's be straight to the point kiddo"
not human
hahaah just kidding
lucky ass
i just graduated CS 2021-2022
woah I just graduated seconday school
i told you its only based on perspective you need to change your mentality be positive
yo kid
yo adult
I want to stay a kid
I don't wanna get a boring job and yada yada
being a kid is fun
yeah you're ignored by fucking humanity
which is sweet
😂
one of the perks 😂
what kind of typo are you building?
that are capable of destroying earth and its nasty creatures
except for catgirls and kittens
Do catgirls exist yet?
fuck, of course yes
demon girls also exist
and they're so adorable
🤔 where to find them?
tinder
no bro, real catgirls are 👑 ☁️ that live on earth
you gotta be worthy enough to meet one
no that's impossible
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
its like a real fact
you gotta be the mc of an anime
we don't live in an anime
thus we can not meet catgirls
don't worry dude/gal, there is still a chance with technology...
友人がカフェに遊びに来ました。
頑張ってましろがお給仕します。
2022年10月7-9日、
東京・秋葉原のレンタルカフェ カフェトリオンプで
メイドロボット ましろが給仕する
実験店舗メイドロボカフェプロトタイプをオープンしました。
MaSiRoプロジェクト発足から4年
4歳になった娘が一生懸命初めてのお給仕する姿をみてください。
MaSiRoプロジェクトは、"アニメから抜け出てきたような個性豊かなメイドロボット達によるメイドロボットカフェ" を作ることを目標に 本物 のメイドロボット開発を行っています。
今回実現したのは、あくまで”プロトタイプ”
ここがゴールではなく、やっとメイドロボットとしてスタートラインに立てました。
これからもましろ姉妹は、より賢く、より可愛くを目...
😱
bruh why do find the gross ones..
deviantart has some cute catgirls.
I can send a hotass one, but my bro is sitting behind 😄
For a second I thought you were saying, "Why don't you guys dominate me"
#bot-commands
same
@safe pumice 👋
y_black = y[y > f(x)]
slope = -2 # we define a variable here as we need it later
def f(x, slope=slope):
return slope*x
!e py import numpy as np arr = np.arange(10) result = arr[arr % 2 == 0] print(result)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
[0 2 4 6 8]
!e py import numpy as np arr = np.arange(10) result = arr % 2 == 0 print(result)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
[ True False True False True False True False True False]
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
[0 1 2 3 4 5 6 7 8 9]
import numpy as np
import matplotlib.pyplot as plt
plt.rcParams['image.cmap'] = 'plasma' # nice colours
plt.rcParams['lines.markersize'] = 3 # nice scatter point size
num_points = 100
np.random.random generates floats from 0 to 1
multiply those by two and subtract one to get num_points points between -1 and 1
bidmas
x = -1 + 2 * np.random.random(num_points)
the Euclidean (L2) distance between our points and the limit (1 == 1**2)
the closer a point is to 1 or -1, the lower its corresponding value in L will be
L = np.sqrt(1 - x * x)
print("test1" + L)
use the distance measure when generating y (otherwise also using the same np.random.random)
if an x is close to 1 or -1 (larger), the y will be correspondingly smaller
the effect of this is to distribute the data on a disk of radius 1 (instead of uniformly → a square)
y = L * (-1 + 2 * np.random.random(num_points))
for uniformly distributed data:
y = -1 + 2 * np.random.random(num_points)
we use a hypothetical line, y = -2x to split our data:
every point on or below it will be red, every point above black
slope = -2 # we define a variable here as we need it later
def f(x, slope=slope):
return slope*x
x_black = x[y > f(x)] # if y is above f(x) == -2x, black
y_black = y[y > f(x)]
x_red = x[y <= f(x)] # if y is on or below f(x) == -2x, black
y_red = y[y <= f(x)]
def plot_data():
plt.axes().set_aspect('equal')
plt.plot(x_black, y_black, 'ko')
plt.plot(x_red, y_red, 'ro')
u = np.linspace(-1, 1, 100)
v = np.zeros(100)
plt.plot(u, v, 'b')
plt.plot(v, u, 'b')
plt.show()
def print_data():
for i in range(len(x)):
label = 'black' if y[i] > f(x[i]) else 'red'
print(f'{x[i]: 12.10f}', ', ', f'{y[i]: 12.10f}', '\t', label, sep='')
print_data()
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
def func(v):
return v
#is roughly equivalent to
func = lambda v: v```and is often used in things like list.sort, sorted, max, and min.
Pastebin.pl is a website where you can store code/text online for a set period of time and share to anybody on earth
!e py data = [1, 3, 2, 5, 4, 7, 6, 8, 7, 9, 0] data.sort(key=lambda v: v % 2) print(data) #Where every element of data is given to a lambda call as v, the return of which governs that element's position in the sort
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
[2, 4, 6, 8, 0, 1, 3, 5, 7, 7, 9]
Evens on the left, odds on the right.
def func(v):
return v % 2```
data.sort(key=func)```
!code
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.
But I think there's also something called the lambda function, which is different again.
You're in the right place. 🙂
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
My favourite place to send people is Corey Schafer's Youtube.
Web based Python is demonic influence made manifest on earth.
!code
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.
'''
They each have their own implementations which each behave differently and have their own rough corners that cause weird errors.
'''
py
print(hello world)
'''
Code which ought to work in regular Python can sometimes just not work in a web-based Python....even when it should.
` not '
i am very curios how they did the python thingi
coding on the server
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.
i need some help pls
@safe pumice
Wiby is a search engine for older style pages, lightweight and based on a subject of interest. Building a web more reminiscent of the early internet.
Yandex is a technology company that builds intelligent products and services powered by machine learning. Our goal is to help consumers and businesses better navigate the online and offline world. Since 1997, we have delivered world-class, locally relevant search and information services. Additionally, we have developed market-leading on-demand ...
Kagi is a privacy-focused, user-centric search engine. Great search experience starts with Kagi!
thank you so much guys
i do not have permission to speak wkwk
same
pretty new
samee
import requests
def linkfetch():
data = requests.get("https://api.warframestat.us/pc/fissures").json()
for x in data:
if (x['isHard'] and x['isStorm'] != 'True'):
print(x['isStorm'], x['isHard'])
linkfetch()
"True" in "Truey", output was True... so it just check if there is a "True" word in "Truey"?
okay thanks
a = "False"
b = "False"
if (a == "False") and ( b == "False")
print("both are false")
👋
@molten pewter 👋
How's the day treatin' you?
👀
gud, it's harshly raining.
Mmm
We don't have much rain here, at equator.
ngl i think you should go straight
vanished into thin air like nothing happened
You can search across the whole server for your messages
how can i get permission to speak
bhen di gaal sun nhi hai ya fr maa di?
just tell how
please don't ping me randomly for help
Would be interesting to see what happens if wildcard is inserted before the last card.
I guess we can deduce that the reversed iterator is likely just an index.
Surprising, but also makes sense in hindsight. I was expecting an exception of some sort.
Hello
hey fam
says i need 50 msg fml
sad server
thats 4
human behavoir
lol
makes sense i was just gunna ask yall bout work an shi
@sonic quarry 👋
hi
need 50 msg
dont know how to make it
telling me that 1 word per minute
mind blowing idea
hi
🙂
What she is doing?
What is this?
Prompt ?
Why it's giving stainless steel head
This one is dalle
This your friend made?
Where are you from?
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
I need to be here at least for 3 days to get the permissions
anyways how are you?
cool
how experienced are you in python
oh nice
I'm a beginner
sometimes it just takes me days to fix an issue inside my projects
exactly
wise words
it does fr
I'm having issue with my project and it seems simple to fix but idk why it's not working
it's a classic pong game I built using turtle
but the sounds for some reason doesn't play if I start the pong.py using cmd or python 3
!code
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.
it only works when I select the whole folder that contains everything in visual studio code
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
yeah
like
I have the pong_game folder containing pong.py and the folder that contains the sounds
yeah
paste it here?
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
like this?
updates?
line 102
the game works
but the sounds seem to have issues I guess
yeah because in vs code I have the entire folder selected
that what it seems to me
and for some reason .py files can't reach other files if they both were in the same folder
yeah happened to me before
fair enough
is it possible to use pygame with my turtle code somehow?
well
I get the windows error sound when the ball hit anything
fair enough, I'm using different os and program lol
lol
I might try to recreate the game using pygame
that would take a lot of time haha
yeah, the whole idea of this project is learning python
I was watching a video tutorial on how to make this game but I changed some code lines because it didn't seem logical to me and fixed some bugs
like he used ball.dx *= -1
to change the ball direction
I was so confused on how did that reverse the ball direction lol
if ball.ycor() > 290:
ball.sety(290)
ball.dy = -0.1
this one is better imo
like yeah it's 2x the work but easier to understand
if the ball goes beyoned 290 then the ball y direction should be changed to -0.1
so it goes down
that would be funny
I mean
they already did tetris
why not make pong lol
pong is competitive hahaha
best competitive game
it only needs skills and reaction time

hi @brittle snow
hello javaspa
how old are you if I may ask
I'm 17, I started learning python few months ago and I stopped for like a month or two now I'm back
I enjoy coding and seeing my code work more than playing games lol
Feel the rush of dopamine
alright
welcome back
I'm gonna head out
I have to exercise
it's been fun talking with you
have a nice day :D
Why can I not talk
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
oh thank you
I need help
my . shift does not work
do you guys know why
@somber heath
do you know what I have done wrong
@lethal thunder why do you live in iran
I'm not fluent in that. Sorry.
Č
ç
ch
Чего
eels
çiğo
Hi
ČEVO
ne
sa
as
na
neh
evet
non
Yeah, nah: No.
Nah, yeah: Yes.
yo'q
yok
yolk
@lethal thunder ı dont no speak english
oh
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@wanton pumice türk müsün?
I promise
@brittle snow Because I don't like to speak over people.
8 messages in 10 seconds results in 10 minute mute
evet türküm
Also, when I have something to say, I will say it.
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
^^^^^^^^^^^go to speak^^^^^^^^^^^^^^^
Or miss the opportunity and get impotently grumpy about it for a minute or so.
is this discord like affilated witth python?
this is like the 50th biggest discord server or something
im pretty sure
!server
understood
I do not support the setting that has users muted when they join
they should probably change that
It's preferable to the alternative.
Screamers every ten minutes.
Mic blowers.
Gigglers.
oh
Yah.
gigglers?
I don't like that the voice gate is needed, because it does present a barrier to legitimate newcomer participation, but it's better to have it than to not.
One of the frequent disruption archetypes.
Now with subtitles!
btw
The blonde dude is a turkish popstar Tarik Menguc scared shitless
The PSF (Python Software Foundation) doesn't have a say on what happens here, and we're not sponsored by them or anything. But we are the largest Python community on Discord, we've hosted official core developer sprints, streamed the releases of new python versions with the release manager etc. And I'd say we have good relations with the PSF
I am soon free
form the suffering
of not being able to speak
its true
I have heard mewing helps with it, sleep apnea
okay guys
I have a coding problem for you
which language
what does this code do
its javascript
the weather here is not so good ) :
What do you guys think of my profile pic
it is actually from a game called spore
in spore you can like create your own animal
It's a gooooose.
and someone created this animal
There's a glorious video of Robin Williams creating a Spore creature.
Im going to watch that now
yea really big
You are overreacting.
!server
Unable to convert '""' to valid command, tag, or Cog.
!source [source_item=None]
Can also use: src
Display information and a GitHub link to the source code of a command, tag, or cog.
!source if
Unable to convert 'if' to valid command, tag, or Cog.
!source [source_item=None]
Can also use: src
Display information and a GitHub link to the source code of a command, tag, or cog.
!source "<"
Unable to convert '"<"' to valid command, tag, or Cog.
!source [source_item=None]
Can also use: src
Display information and a GitHub link to the source code of a command, tag, or cog.
!source "!close"
Unable to convert '"!close"' to valid command, tag, or Cog.
!source [source_item=None]
Can also use: src
Display information and a GitHub link to the source code of a command, tag, or cog.
!source """
Unable to convert '"""' to valid command, tag, or Cog.
!source [source_item=None]
Can also use: src
Display information and a GitHub link to the source code of a command, tag, or cog.
you can't close this server
Any chance I can get unmuted?
what have you done 
why 🤓
okie, take some cookies with you 🍪
data science be like 😖 (for me)

revdia
nah
wow python has arms
this is 💯
ok 😉
are you here from last year, and didn't know about the voice verification thing 🤣 🤣
neither do I tbh
nice person doesnt sound like your characteristics, you must have hacked @icy axle
5 months
It seems I'd also need to do 3 10-minutes spans of messages or smth 😁
💪
hhahahahahah
cool nickanme 
be aware, he might consume you!
oh nooo
me gets turned on -> ||please don't mention people eating other people, it triggers me||
nom nom
stop bullying me 😭
Do I?
I already have a lot of them destroying my fucking life
@icy axle thanks for the clarification
sorry to hear that 😦
yeah its painful, I think its just puberty and hormone acting like bitches
it is enjoyable and fantastic (but it will destroy my life if I didn't stop my addictions)
That's true
what are you using @icy axle n
Any addiction is shit
and I will give up my entire life to it 😭
I'm trying to get therapy 😭 but nothing works
You should be on a right path 🙂
true
@brittle snow its just cool for discord badge
this thing
For me I have 2 jobs and the war and college 🙂
And sex stuff kinda helps me not get burnt out 🙂
But you're right addictions are killing
use "print" instead of "console.log"
goodluck lol, yeah indeed
hahahahah but I enjoy it
me too 🤣
I don't know if you can talk about this stuff.
but I'll regret at some point of my life
I mean in here.
what are they talking about dear
neat solution
Come on.
And doing final year in college
i sabotaged you so bad that you wont be able to show your face in public for the next 10 decades
56 is good though!!
r=readline
m=r()=="+"
a=+r()
b=+r()
print(m?b+b-a:b*b/a)
not bad
wow do you have any f16s flying by
you could have reduced it though
Not yet 😦 We need more arms to win this war
but i feel like it's possible
But today I saw a gelicopter
helicopter
The ours
It's so motivating to see your army
I tried a,b=+r(),+r() but it didn't work
I am
think you could have gotten down to 55 🥲
how
take some buddy 🦾
hahahahha thx 😉
[a,b]=[+r(),+r()] which is more characters than what you did i think
Has anyone tried Scala language?
no period
We use it at work for Data Science 🤯
Scala != rynite.favorites
Not R or python lol
i think mine is shorter
Yeahhh
yes
I cam from Software dev backfground
We used Java
And scala is like middle man between java and python
this works too a=+r(b=+r())
mh really
But it's more functional
wtf is this madness
functional programming 🤮 my weakness
well
I think u need to understnad the basics
what's the point
Like passing functions around and stuff
the more you adore math, the more you like functional
I really like math
But I can't say I prefer func over oop
So I'm either an outlier
I think I adore madness and stupidity
ok i gotta go now
time to eat
functional is gooooood
ok bye
baii
bye guys
bye
bai bai
bye everyone
hi guys
don't sleep
Man I want to get unmuted so much haha
(or do)
hi folks
is everyone going
how long will you take
wasssssuuuup
or what is going on
yeah I'm going to live today
uuuh like 30min to 1h i think
oh ok
.randomcase aaaaaaaa
aAAaaaAa
aAAaaaAa
.reverse aAAaaaAa
aAaaaAAa
aAaaaAAa
.uwu aAaaaAAa
aaaaaaaa
join from your alt and get these 50 messages again
@whole bear why are you idling for 15:00:00?!
lol this one is funny
!e Ah, right ```py
print ( "hi")
for i in range ( 5):
print(i)
for j in range(2 ):
print(i,j)
@icy axle :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | hi
002 | 0
003 | 0 0
004 | 0 1
005 | 1
006 | 1 0
007 | 1 1
008 | 2
009 | 2 0
010 | 2 1
011 | 3
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/iwosawizez.txt?noredirect
Ok
hey guys sometimes when I am doing nothing in a tab and press a key in my keyboard, a video sounds starts playing, is it malware ?
what's a malware in your opinion
Lisp is world’s second high-level programming language and is still used to build software today. It was the first to implement many popular programming techniques like higher-order functions, recursion, REPL, garbage collection, and more.
#programming #code #100SecondsOfCode
💬 Chat with Me on Discord
🔗 Resources...
Love this guy, he makes good content
something that harms my computer or me ?
for example something that would open tabs randomly at random intervals is malware, though its goofy and just annoying
are you being harmed rn?
Yes I think so
🧑⚕️ get some medical care
-_-
your welcome ❤️
@quartz terrace Can you help me with a project?
No
No
I can @astral plank
Nix is anyways better than both
👋
nope
when you're about to say "hi", and-
lol
I'm s h y
🤓
ello ello
at noon
!e
type = input("What do you weigh in? (K)gs, (L)bs or (S)t: ")
weight = float(input("Weight: "))
unit = input("What do you wanna convert it to? (K)gs, (L)bs or (S)t: ")
if unit.upper() == "K":
converted = weight / 0.45
print ("Weight in Kgs: " + str(converted))
if unit.upper() == "L":
converted = weight * 0.45
print("Weight in Lbs: " + str(converted))
if unit.upper() == "S":
converted = weight / 6.42
print("Weight in St: " + str(converted))
@quartz terrace :x: Your 3.11 eval job has completed with return code 1.
001 | What do you weigh in? (K)gs, (L)bs or (S)t: Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | EOFError: EOF when reading a line
ohhhhh
!e
type = input("What do you weigh in? (K)gs, (L)bs or (S)t: ")
weight = float(input("Weight: "))
unit = input("What do you wanna convert it to? (K)gs, (L)bs or (S)t: ")
if unit.upper() == "K":
converted = weight / 0.45
print ("Weight in Kgs: " + str(converted))
if unit.upper() == "L":
converted = weight * 0.45
print("Weight in Lbs: " + str(converted))
if unit.upper() == "S":
converted = weight / 6.42
print("Weight in St: " + str(converted))
@quartz terrace :x: Your 3.11 eval job has completed with return code 1.
001 | What do you weigh in? (K)gs, (L)bs or (S)t: Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | EOFError: EOF when reading a line
!e
type = input("What do you weigh in? (K)gs, (L)bs or (S)t: ")
weight = float(input("Weight: "))
if unit.upper() == "K":
converted = weight / 0.45
print ("Weight in Kgs: " + str(converted))
if unit.upper() == "L":
converted = weight * 0.45
print("Weight in Lbs: " + str(converted))
if unit.upper() == "S":
converted = weight / 6.42
print("Weight in St: " + str(converted))
@quartz terrace :x: Your 3.11 eval job has completed with return code 1.
001 | What do you weigh in? (K)gs, (L)bs or (S)t: Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | EOFError: EOF when reading a line
(k,k) (k,s)(k,l), (l,l),(l,k)(s,k)
is this like a discord bot you're writing
what's not working, I see no errors
oh
the last / just needs to become a *
surely your conversion method is also dependant on the input
for example
converting to stone from kgs would be a different eq than from Lbs
close but right idea
he was on the money with the combos but he deleted it
youd need eqs for (k,s)(k,l), (l,k),(l,s),(s,k) and (s,l)
If ( type,unit) == (K,L):
Pass
yeah, loads of ways to do it tho
simplest but messy way is to code in each of the scenarios as if statements
right now you have 6 branches at root level, you'd need 3 with 2 inside them each for what they can be converted to
type = input()
if type = "k":
if type = "l":
do conversion
if type = "s":
do conversion
gimmie sec, ill show you the simplest way of doing it for one of them
type = input("K, L, or S")
weight = input("What is your Weight?")
if type.upper() == "K":
unit = input ("L or S")
if unit.upper() == "L":
print(f"Converted weight is: {str(2.205*weight)}")
if unit.upper() == "S":
print(f"Converted weight is: {str(weight/6.35)}")
simple but does the trick
im also a linucks gamer I stream myman on twitch
you're like 90% there
lemme add some comments, im purposefully being obtuse so you have something to work out
youll learn more that way
*too fucking simple
no offense lol
OH MY FUCKIN GOD
https://vlsoft.net/python/
don't download or whatever, its scam (so i don't get warned)
wasn't talkin abt u dw lol
I hate this dude
you essentially just need to copy everything from "if unit.upper() = "K":"
and edit it for S and L
Im and idiot, one of the comments is wrong
should be K->L sorry
how do i talk on the channel
do i have to verify or something
ah interesting
I have to send 50 messages lol
damn lol
that sounds annoying
you just bashed out 10%
that sneeze tho 🙂
only 40 more messages left
hey me too lol
what are you working with @serene glade
damn lol
what are you talking about lol
linux gamer where are you from?
you sound german lol
I'm working on a pong game right now
oh cool
or austrian lool
like arnold
looool
your English is very nice
do your best arnold impression
you basically sound like him
to a non german it does
you sound like killjoy from valorant
are germans mean lol
im an und american
hola si si patron
if you ever need to escape US you have an easy escape
Gotta go 👋
Have a good one
WebDriverWait(self.driver, 10).until(
# EC.text_to_be_present_in_element((By.XPATH, '//div[@class="settings_group"]/div[@id="plan"]'), "results")
EC.text_to_be_present_in_element((By.CSS_SELECTOR, '#plan'), "Invalid key")
)
def text_to_be_present_in_element(locator: Any,
text_: Any) -> (driver: {find_element}) -> bool
Hey @fading owl!
It looks like you tried to attach file type(s) that we do not allow (.html). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a, .csv, .json.
Feel free to ask in #community-meta if you think this is a mistake.
@quaint oyster
Thanks
import sqlite3
conn = sqlite3.connect("users.db",check_same_thread=False)
x = conn.cursor()
def get_user_by_in_transaction(ID, in_transaction):
x.execute("SELECT * FROM users WHERE ID=:ID",{'ID': ID})
return x.fetchone()
Hey @fading owl!
It looks like you tried to attach a Python file - please use a code-pasting service such as https://paste.pythondiscord.com
@quaint oyster do you think you are still able to help me with that Assignment Problem ?
Try to understand the solution
👍
and then we can walk through it together
sound good
@whole bear hello new guy
best code to send to a girl
guys
hello
how do you find certain file
the path to certain file using python
plz help
i just joined today the server maybe requires at least 3days ? to get voice verification
Hm. Have you looked at Socratica's YouTube?
nope..
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
@mint mulch #media-processing message
Interesting work
That's a very open ended sort of answer.
"Whatever a computer can do."
!d math.dist
math.dist(p, q)```
Return the Euclidean distance between two points *p* and *q*, each given as a sequence (or iterable) of coordinates. The two points must have the same dimension.
Roughly equivalent to:
```py
sqrt(sum((px - qx) ** 2.0 for px, qx in zip(p, q)))
``` New in version 3.8.
hello
Sentiment analysis vs sarcasm. Who will win? You decide!
A systematic measurement of stylistic proximity between two samples is ultimately self-defeating as a reliable measure in some cases.
"Hey, did you know that Gandhi wrote Harry Potter fanfiction? Here's the test to prove the fanfiction and known writings are by the same author."
A test can be used in synthesis.
"What's closer? This generated candidate or that one? Take that one, mutate. Rinse, repeat."
Most people believe that Machine Learning requires:
❌ A strong statistical background
❌ University level mathematics
❌ Proficiency in computer science
Agree?
👉 No! Actually, that is a misconception of Machine Learning.
One of the biggest kept secrets in the Machine Learning communities is that it does not require high level of statistics, mat...
.ipynb
hi
i was playing with the ide i use to code python and i saw this auto complete function and i m not sure what is happening
def __eq__(self, o: object) -> bool:
return super().__eq__(o)
can someone explain the (self, o: object) -> bool: ?
What aspect?
like what is happening? what is "python doing"
i know that eq is to compare 2 objects, but i ve never seen (self, o: object) -> bool:
The self? The :??? and -> ??? bits?
is the -> bool telling python that the function must return a Boolean?
what is self, o:object?
The :object bit is the type hinting for the preceding parameter, o
the -> bool is the type hinting for the return
self refers to the instance of whatever class the method is from
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
so it will try to turn the output I give it in to an Boolean?
or is it just to try to reduce run time?
Type hinting can be thought of as something Python itself ignores.
Feuer und Flamme
It doesn't entirely, but it doesn't enforce anything.
Dark on Netflix
It's more for your IDE/linter
Das Boot
It's a way of saying "This parameter should be given this kind of object, this function or method should return this kind of object, etc."
so I give the type it should be for the ide to "help" better but it does not enforce anything
thank you man
But only to the ide/linter/coder
Not Python
i understand
thank you so much
!e ```py
def func(a: int, b: str) -> float:
pass
print(func.annotations)```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
{'a': <class 'int'>, 'b': <class 'str'>, 'return': <class 'float'>}
Python sees, but does not care.
that' s very nice
it' s like giving the type of the object but not enforcing it
and it can be used everywhere
cool
you are the best
thank' s
Dude, how to learn chemistry in a week:?
just like a real python 🐍
allo
good ig?
ig -> i guess
what's your problem
removing the file? am I hearing correctly?
so you got issues removing the file?
can you show any context (I recommend going to the help channels tho, but I'll try)
I mean can i see the code where you remove the file
hello @drifting zinc btw
Hi
I'm new here so i'm not verified for voice
oh I thought you said help-arch, I thought you're talking about arch linux wtf
I confused arch with orange
🤣
danke <333333
willkommen
umm can i dm you ?
why lol
um sure....? Is it any python related?
ok sure
nope .. its discord related
print automatically does that iirc
and what do you expect?
can you show me a sample
like write it here in discord
the output you expect
you want your input to be in the same line?
and what happens instead?
oh
you can do print("") before taking input
just print("")
this prints a new line
then you take the input on that new line
wait
I saw your code my bad
try printing "What do you weigh in?", then taking input separately
print("hello: ")
s = input("")
for ex
yeah print "Kgs, Lbs" in that same line where you print "What do you want to weigh in"
print("What do you want to weigh in, Kgs, Lbs or idk: ")
then take input after this
print doesnt return anything
you had to do the opposite lmao
print("convert to")
conversion_type = input("")
why does it say elif size == 'L': bill += 25 if add_pepperoni == 'Y': bill += 3 has a indentation error on the 'Y': does anyone know how to fix it
because there is an indentation error 🤣
I fixed it @ionic ferry helped me
when code runs good first try
wait 5 mins
@night tiger
https://youtube.com/shorts/ZrkqZvx2wYY?feature=share
interesting
national average cost per parking space $24,748
how to legally kill a person
one way is paying a hitman
make a plot
but afte this two what
usa goverment is the most strict goverment of the world
well i give up
"U.S. motorist spend about $5,000
annually per vehicle. There are an
estimated five parking spaces per
vehicle, including residential, nonresidential off-street, and on-street
parking, with costs totaling about
$5,000 annually. For every dollar
motorists spend on their vehicle,
somebody spends about a dollar on
parking. This averages about 45¢ per
vehicle-mile, of which about 11¢ paid
directly by users and 34¢ is subsidy."
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
i probably don't have enough talk in here to qualify
“There are private schools in Finland, but they offer the same education based on the national education plan, just like public schools. Private schools get funding from the state and cannot charge fees” to generate profit, according to Niinimäki, who added that private schools need government permission to operate.
Duchess Worldwide, Inc., doing business as Duchess, is a privately owned and operated regional casual fast food restaurant chain that operates in southwestern Connecticut. Duchess was founded in 1956 by Harold and Jack Berkowitz in Bridgeport and based in Milford, Connecticut. There are 14 locations all in the Fairfield and New Haven counties of...
Good morning
pacman -Rn <package_name> then reinstall it
-Rcns
arch has makepkg -i
it has
dude
Let's get on the laptop
@zenith radish You mean your vape charger?
That's the work laptop
I'm gonna make the shooting video a gif and post it automatically to these statements

57,378
301,018