#voice-chat-text-0
1 messages · Page 700 of 1
ç ğ
Ä
Question, how common is python2 still in production code?
namaste
I’d say uncommon but not unheard of
are you sure thats not because you're forced to use java
LOL
kek
I just realised, github has dark theme!!! OMG
chrome extension
"Dark theme" finally
Took them way too long to do that
Noice
You’ve set up your infrastructure as code in GitHub Actions to securely test and deploy to production. One year later, you discover the account keys you used for automation have been compromised! In a panic, you scramble around multiple repositories looking for where you used the account keys and throw together a script to rotate them. You start...
and also this https://www.twitch.tv/githubeducation
Hey @severe pulsar
hey
Github discussion
dude, Ive only been programming for 3 years
they're just worrying about deploying
I'm so stupid
;)
nah
just today i learnt about git checkout so you're good
fine, wbu?
I only contributed when participating in Hacktoberfest
aah ok
https://githubuniverse.com/How-we-make-VS-Code-in-the-open/ I'm a big VS fan so this looks interesting
VS Code was launched over five years ago and has become the top-most contributed-to project on GitHub. While developing in the open, our team has learned how to balance community engagement with delivering value and shipping code. In this talk, we’ll share engineering best practices our team has adopted on GitHub to collaborate with our users, g...
@severe pulsar did you know something about Serializers?
is that a class in some framework
i know about them in general
but with the capital S, i dont know if you are talking about a specific class in a library
okay!
oh, I can't hear anyone, anymore...
I also had audio issues... weird
so I missed what they put in the game? They did what?
l33tlinux IS ALSO HERE
bruh we have hemlock
linux
opalmist
laundmo
lemon
we got all the big players in vc
lol
now vc is gonna be awesome
yeah😅
its like one of those epic crossover movies
lets chat here
like avengers or whatever
where we have iron man
hulk
and stuff
thats the same with this
we got all the legendary heroes of the python server
put in one place
lets GO
There are few games I can play without getting a headache 
In India, people with epilepsy are not permitted to drive. The document puts the onus on both applicant to reveal if the person gets loss of consciousness due to any cause and medical practitioner to provide a certificate that the applicant, to the best of his judgment, is suffers from epilepsy, vertigo or any mental ailment likely to affect his efficiency.
In the U.S., people with epilepsy can drive if their seizures are controlled with medication or other treatment and they meet the licensing requirements in their state. How long they have to be free of seizures varies in different states, but it is most likely to be between three months and a year.
Oh yeah. I've spent time in part of the US where there is literally no public transport at all 😄
F
You can get by pretty well in the UK without a car.
@leaden comet could i pick your mind for a sec about sentry onpremise? got it running but have a few questions about using it.
As much as we like to moan about the state of our public transport 😄
I think elderly in London get free public transport.
If you live in London and meet the age criteria, or have an eligible disability, you may be able to get a Freedom Pass to travel for free on our transport in London
Don't use buses in London during rush hour 😄
Just don't
There's this cool map that shows you all the tracks of all train lines in London...
All i know is public transport in FL sucks.
The busses take way too long to come and usually take longer than necessary between stops
Also not that many lines
inside of the busses are like refrigerators
@stuck furnace that cost money you bloody commie 🦅
"It's their fault for being poor in the first place."
The argument so often lobbed at people who need help, may have mental health issues and continue in a spiral downwards, etc.
Let’s fund private charity with really expensive CEO to deal with homeless problem
Ah, there's no hammer and sickle emoji...

Wealth is seen as a measure of how much a person is worth to society, so if you're poor, it's less important to see you prosper. You're viewed as dead weight or something from which as much money is to be squeezed from as possible, because you're not as wealthy as you should be and so aren't pulling your weight.
Ouch
What about those who inherit wealth
But then you have super weathy people doing shit all with that wealth to contribute, as what they might have in the past when tax laws were more fairly applied.
They should be elected President
and by super wealthy people, I mean like Bezos and his ilk
Because other person has terrible 📧
Whereas prior, the wealthier might well have been worth more to society for that reason...which now is gone, but the myth of weath=importance persists.
Not that I consider wealth to be the measure of a person.
Though it is relevant in a purely financial sense.
I wish there were more wealthy people like Elon Musk.
Maybe we'd have people on Mars by now lol
Why is that?
I think he has an intense need to impress people.
Apparently his title at SpaceX is chief engineer?
Yeah the whole cave incident was awkward. I don't know much about him personally but i respect the companies he's built
hey @rugged root , did the code jam qualifier solution video get removed?
yea
its not there
I saw a video once were he cave a factory tour of SpaceX and he seemed pretty knowledgeable 😄
yea
Anyone that rich wont be totally likable
In this livesream, we'll discuss our solution for the qualifier assignment of the Summer Code Jam 2020.
-
Links
Original assignment: https://git.pythondiscord.com/summer-code-jam-2020-qualifier
General information: https://pythondiscord.com/pages/code-jams/code-jam-7/ -
Sponsors
Django Software Foundation: https://www.djangoproject.com/
JetBra...
No biggie, dude
I was searching for it before code jam 6
We all miss stuff
"AWS"ome
@stuck furnace :white_check_mark: Your eval job has completed with return code 0.
a
Oh I love those little interactive animated backgrounds you see on some websites.
They really liven the page up.
htb has always smth nice
what is htb ?
hack the box
Harold's Tiny Bat
Hemlock's Terrible Backronym
How did you manage to do that? 😄
Wear gloves?
Just a joke bro
For future reference: no rugby in the office
am i the only one not paying attention to the chat ?
Right now I'm practicing my handwriting
Because I have to take some handwritten notes for a class, but I haven't written anything by hand for like a year 😄
Erm, UK
Nah it's cool.
I'm going to pop my head into the help channel... brb
I am trying to wrap my head around descriptors
What's got you stuck about them
I am trying to validate class instance attributes, was wondering if descriptors are the right choice
like for checking the types, etc
the code jam qualifier had something similar, looking at the video rn
@rugged root yo u think u can maybe help me with that problem again lol? if your not in the middle of doing something already.
alright thanks man appreciate it
il send the question again
hate yourself, wut?
ahh
this is what i have so far
ignore the print bruh part
i just put that there to see if the program would work
to keep track of the frequency of the letter p, have a variable say count which keeps incrementing whenever you come across a p
count = 0
for x in word:
if x == "p":
count += 1```
similar
ah i see
count should be outside
you dont want to reset it
btw hemlock, I stopped AOC, I started a new project yesterday which I am currently working on
its like a python cookiecutter
sets up pipenv, project files, docker files, flake8 and pre-commit hooks and also pushes it to github with just 1 command
is there a way i can make it count the ps in the word thats entered
because if i just put if word==p its just gonna account for the whole word right?
so how can i like get it to go through the word and get the individual letters
i can like index it or something right?
food = "bacon"
for letter in food:
if letter ==
oh the ..# challenge?
hemmy it shattered everywhere
lets go it worked lol
Dustpan and broom?
yes
that is the current project
we folded the board in half and carried it out
bc it is metal on the back
Yep, that would have been my advice as well
there’s sooo much glass
Yeeeeeeeeep
Do ya'll have a favorite project layout for python (non library) projects?
hey\
@silver spindle I tend not to accept friend requests until I get to know the person better, apologies
is this repl.it ?
yea
noice
i prefer vsc and sublime...
i've never used those before
ive only used pycharm and repl
repls cool though cause you can see other peoples stuff that they have made right on the front page which is nice
and u can use it on devices
where python isn't installed
like tablet etc
its runs on the browser by the way....
yea
are you on a mac now ?
no im on a windows pc
btw do you have to assign a variable first before you use a while loop?
nice,
depends, cuz u could do: ```py
while True:
a process
but most of the time, you have to
yesss u have then
this is my third program
which grade u in ?
hmmm, i just passed grade 9
Hey guys
oh dang
I ve got an error on my program
u would need to use a while loop, and some variables, and 1 if statment
wait how old are u
my school finished today :)
i didnt mean to respond to that one lol
ummm, 14 turning 15 next year, you ?
XD
Age doesn't matter
umm, self taught
People pick up new skills at any age
wait when did you start?
like in January 2020, cuz it is in our school exams
new fella
cause my classes started in september
and then it was easy for like the first week because i knew most of the stuff
then like 2nd week were doing loops and i was lost lmaoo
loops can sometime become complex ngl
@fierce summit helo
hello
yea i still dont understand them 100%
but im learning ig
tbh ive learned more on this server about python than how much my teacher has tought us
and ive been in this server for not even a day
so u r very fresh to this server ?
yea
what do u think of this server ?
its nice
i joined seeking help on my hw
and got it pretty much instantly so thats pretty nice
noice, i came around this server accidently
You're probably not giving your teacher enough credit 😄
"I didn't learn anything at school" is a common refrain, but is rarely true
i just dont really understand him that much 90% of the time
i mean school doesn't really teach you much besides the basic ideas or topics
!resources @whole bear
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
for me personally at least
thanks
Automate the Boring Stuff and A Byte of Python are two solid ones
i learn the most out of other people and from youtube
if i dont understand something in class i ask the teacher and if they don't want to help me or i still dont understand i just look it up or ask someone else
Yep, that's a good way to do it
yo so it says the cost of various transactions
how do i get it to run and ask for the transaction multiple times
put it in a while loop
this what i have so far
put the transaction in a while loop
yea but in a while loop dont i have to assign a variable before hand?
like:
x = 0
while x != -1:
x = int(input("Sentence: "))
Whats the function used for printing the smallest number in a sequence
Or do i have to do it with 50000 if and else commands
ummm, .sort() i guess
ahhhh i see
Just what i wanted to hear
@sick cloud :white_check_mark: Your eval job has completed with return code 0.
0
yesss, ignore the last transaction :P
!e print(4//1)
@odd dragon :white_check_mark: Your eval job has completed with return code 0.
4
Good
wait hold up i got it i think
also what she said
lol
i feel like such a goat rn lol
ive been confused like all year
now im actually understanding this ngl
ummm, how are you gonna keep track of how many transaction took place ?
to find the average
im assuming by average he means just to add them all up and put the total
but maybe he does actually mean the average
total/number of transactaion
hemmy i disagree, cognitive elasticity is a thing
like divide the numbers by the total
while yes you can pick up new skills when older, it is more difficult than when young
total/total number of transaction
alr, i'm gonna have dinner see u later
ight see ya bro
we cleaned up the glass
@faint ermine bro u got a clean ass mic
i have a oculus rift
nah i dont have it
i play onward though
its like a military vr game its pretty cool
Those who would wish to watch the stream you would wish to stream to satisfy possible watchers, would be satisfied, were you to stream said stream that you would be streaming for said watchers.
comprende?
foo = 1
bar = 2
min([foo, bar])
should return 1
Thanks a lot
np
What's up everyone
mah ceilin'
Goodpoint
Thanks soooooooooo much @gentle flint
np
U saved me about half an hour
i'm back :D
not me
me neither
I've seen them, you can get crazy with VR but after a while
I have Valve Index
Trippy
Just looked it up
That's the first I hear of that one.
Anyone know if you could check how many messages you have left to send? lol
I quite like random.choices
@rugged root :white_check_mark: Your eval job has completed with return code 0.
001 | 0
002 | 2
003 | 4
004 | 6
005 | 8
@amber raptor
Anyone watching the SpaceX launch?
As early as Wednesday, December 9, the SpaceX team will attempt a high-altitude suborbital flight test of Starship serial number 8 (SN8) from our site in Cameron County, Texas. The schedule is dynamic and likely to change, as is the case with all development testing. This live feed will start a few minutes prior to liftoff.
This suborbital flig...
Pretty exciting.
Erm... I don't know
Hopefully they don't scrub. You have to have a lot of patience to be a space fan 
i am a space fan but i just forgot t watch this
clock paused??? what happened?
Could be...
wasnt there a shuttle mission that had to abort since birds had made permanent nest in the big orange fuel tank and had pokes holes in it
Did you hear about that rocket that crashed because they put the gyroscope in upside down?
Erm, don't ask me 😄
But it thought that up was down, so it went down instead of up.
Rockets are supposed to go up.
Yeah it was unmanned
"Upside-down sensors can lead to upside-down rockets." 😄
There was this other rocket that blew up because of the rotation of the Earth.
what
Which gradually changed the measured angle as it sat on the launch pad.
oh...
So it thought it was off-course and self-destructed.
Ah, yeah I remember learning about that
in software engineering class 😄
The Mars Climate Orbiter.
😆
😄
I think it's measured in pixels?
@dark finch
I'm not sure, by I think the position is stored as a float?
damit we are going to wait a hour for it to launcha
Oh cool, didn't know that
reading about this stuff while we all wait for this rocket thing
Chlorine trifluoride is an interhalogen compound with the formula ClF3. This colorless, poisonous, corrosive, and extremely reactive gas condenses to a pale-greenish yellow liquid, the form in which it is most often sold (pressurized at room temperature). The compound is primarily of interest as a component in rocket fuels, in plasmaless cleanin...
Every day you find something new 😄
Yeah, just found out python has a nice little stats module.
4:40 pm cst i think is after one hour tell me if i am wrong
hi
"EOF while scanning triple-quoted string literal" what does that mean
Can you show the code that it's messing up on?
Oh der
You're missing the closing triple quotes
his frensh
ok
frensh?
french
oh ok
'Hello,\nworld.'
'''Hello,
world.'''```
!eval ```python
print('Hello,\nworld.')
print('''Hello,
world.''')
@stuck furnace :white_check_mark: Your eval job has completed with return code 0.
001 | Hello,
002 | world.
003 | Hello,
004 | world.
No prob 😄
triple quotes are useful for not getting weak errors for too long lines
Slight gotcha with the triple quotes:
!eval ```python
print('''Hello,
world.''')
Yep, there's also the textwrap module, in case you don't know about it.
I'll demonstrate...
!eval ```python
import textwrap
if True:
s = """
hello
world
"""
print(textwrap.dedent(s))
@stuck furnace :white_check_mark: Your eval job has completed with return code 0.
001 | hello
002 | world
!e python a = 1 b = 2 if (a == 1 and b == 2): print('Hello')
@amber raptor :white_check_mark: Your eval job has completed with return code 0.
Hello
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.
Ohhh, I do this:
I don't do friend requests from random people, if you want to talk to me, you will need to do so publically
Hi
condition = (
a == 1
and b == 2
)
I ve got little troubles can i share it w u
I'm a bit pedantic about lining things up at tab-stops.
!! Chitty citty !! Chitty chitty !! we love you! 🎵
if discordmessage[0] == '!register' and (
body['guildchannelid'] == 507725600073449482
or body.get("privatemessage") is True):```
Hold on while I make my window wider...
yea, Discord garbled it up
@tidal dawn Apologies for not responding to you, earlier, I was in active discussion with another user at the time. What's up?
Come to the voice help channel I'm in.
Very well.
thanks
current = e.get()
e.delete(0, END)
e.insert(0, str(current) + str(number))
that indent shouldnt be there
its all on the same indent
what im not sure about here is what .delete actually does
!e
def mymethod(self):
return self
mc = Myclass()
print(mc.mymethod() is mc)```
@somber heath :white_check_mark: Your eval job has completed with return code 0.
True
RIP SN8 🪦 💐
read the channel description
you need to have sent 50 messages in here
ok nvm
since 21 august
they'll remove the role again if you try that
I wouldn't advise it
hmm
a long conversation perhaps
so
what are you guys up to
?
hmm
interesting
indeed
ive got a question for u guys
i have a d sided die
and roll it 6 times
what is the probability each roll is bigger than the previous roll
where d >= 6
consider a simple case where d = 6
Hint: how many ways are there to do this?
How many ways are there to pick 6 unique items from d?
LXNN u have an answer?
I've given a pretty big hint.
try a logarithmic graph
y = ln(x!)
on the negative side, it oscillates at every step of 1 since you multiply by another -1
but it's an exponential formula
around 0.0005
Chlorine trifluoride is an interhalogen compound with the formula ClF3. This colorless, poisonous, corrosive, and extremely reactive gas condenses to a pale-greenish yellow liquid, the form in which it is most often sold (pressurized at room temperature). The compound is primarily of interest as a component in rocket fuels, in plasmaless cleanin...
heinous
heenuas
haynuss
hey guys
`
You are not allowed to use that command here. Please use the #bot-commands channel instead.
bruh
`
I did
no i did
The true hero and mascot of Discord. Sometimes trips over cables and causes parts of Discord to go offline.
gn
Was this originally posted here?
It's quite representative for the rule 5 people in here
import turtle
turtle.circle(100,180)
!e print(360-45)
@graceful grail :white_check_mark: Your eval job has completed with return code 0.
315
from numpy import linspace
from math import sin, cos, pi
duration = 5 #seconds
times = linspace(-pi*2, pi*2, 24*duration, endpoint=False)
def func(t):
x = sin(t)
y = cos(t) #multiply one of these by an amount to ellipsify things. Experimentation encouraged.
return x,y
for i, t in enumerate(times):
print(f'The point drawn at time {t} at frame {i} is {func(t)})```
@past elk
Give me a moment I’m restarting my computer
static double[] linspace(double start, double stop, int len)
{
double dx = Math.Abs(start - stop);
double[] points = new double[len];
double m = dx / len;
for (int i = 0; i < points.Length; i++)
{
points[i] = ((m * i) + start);
}
return points;
}```
var a = 0;
a+= 1; #same
a++; #same```
#include <string>
#incude <iostream>
void print(&std::string String){
std::cout << String;
}
int main(){
print(std::string("hello world"))
}```
@heavy dirge
lol 😄
@past elk "Obstacle Course" — Valerie Plame for Congress
Obstacles are nothing when you’re unafraid of a challenge. That's why we need Valerie's national security experience to fight the coronavirus and rebuild our economy.
I’m running for Congress to build a brighter future for all of our families. Join me: https://valerieplameforcongress.com/
she "lost" her legislative branch bids
@halcyon sluice what are you doing
if you are trying to meet the thresholds you are failing, deleted messages do not count
ok you got me ill stop
Elisabeth Margaretha Harbers-Bik (born 1966) is a Dutch microbiologist and scientific integrity consultant. Bik is known for her work detecting photo manipulation in scientific publications, and identifying over 400 research papers published in China from a "paper mill" company. Bik is the founder of Microbiome Digest, a blog with daily updates ...
<tr class="row-298 even"><td class="column-1">297</td><td class="column-2"><a href="http://www.lawcommission.gov.np/en/wp-content/uploads/2019/07/The-Social-Security-Act-2075-2018.pdf">The Social Security Act, 2075 (2018) </a></td></tr>
<a href="http://www.lawcommission.gov.np/en/wp-content/uploads/2019/07/The-Social-Security-Act-2075-2018.pdf">The Social Security Act, 2075 (2018) </a>
row = '<tr class="row-298 even"><td class="column-1">297</td><td class="column-2"><a href="http://www.lawcommission.gov.np/en/wp-content/uploads/2019/07/The-Social-Security-Act-2075-2018.pdf">The Social Security Act, 2075 (2018) </a></td></tr>'
a_tag = row[row.find('<a'):row.find('</a>')]
args = a_tag.split(' ')
for arg in args:
if(arg.split('=')[0] == 'href'):
link = arg.split('=')[1].strip('"')```
Rema versus Remo! https://remo.co/guided-tours/
Find a time that works best for you! *CET does not include Summer Time offset Watch a shorter version of the product demo here! Upcoming Events Below are all upcoming virtual events hosted by Remo.co and customers of Remo.co. Find an event that interests you, come network, discuss, recruit and explore new partnerships. All times … Guided Tours R...
@whole bear
What's Up Guys?
@past elk https://www.npr.org/2011/01/17/132942244/ikes-warning-of-military-expansion-50-years-later
so question is
when i created something like a phone number locator and it doest find the state but it should find the carrier
and no idea why does not do it
I wish I could talk
so bas
that what it prints
it should find some carrier
so lets say T-mobile
type random number
ye
ye
lets say that
it just says that is in ilinois
but does not say the carrier
so should i change something in the code
which part you think
it should
So recently i have also created a password generator do you know how to save those passwords in note pad when it generates
I want to talk!!!!!!!!!!!!
so this is the code
and it prints password
from phonenumbers import carrier
ro_number = phonenumbers.parse("+40721234567", "RO")
carrier.name_for_number(ro_number, "en")
and now how to import what it printed in a txt file
with open('filename','w') as f:
f.write('CONTENT')```
so I have to create the txt file first
no
I used to program in java
<iframe src="http://www.lawcommission.gov.np/en/wp-content/uploads/2018/10/act-prohibiting-the-charging-and-taking-of-amount-bhatti-charsa-etc-by-birta-holder-on-birta-2015-1958.pdf" height="200" width="300" title="hi"></iframe>
and now question is in python how do i ask the user to input int or boolean ....
ight
<iframe src="https://drive.google.com/file/d/1rdnv4gEVUWUW3sewQsAm23xRhR59Lvp9/preview" width="640" height="480"></iframe>
so programming Nerd I changed it and it still doesn't want to find the carrier
from the phone number
@past elk
sorry for the ping
Yeah I'm barely learning the basics of Java rn
really congratulations @whole bear
Thanks
Hello all
hello
00000000
11111111
11011011
11111111
10111101
11000011
11111111
I made myself using 0s' and 1s'
111
print "hi"
Hey Jag
Gamma function
@cloud root i don't prefer to talk cuz my micro-phone is too trash
@cloud root which OS ?
windows ?
8
He has 2gb
How would i go about sorting a list of 3 veriables with if commands
my ears
@cloud root wut ?
Do you guys prefer windwos batch files instead of python?
both :P
tbh, i prefer python
@cloud root code in powershell
Powershell - Scripting - Windows PowerShell is a command-line shell and scripting language designed especially for system administration. Its analogue in Linux is called as Bash Scripti
So what would i do to sort with if commands?
Value comparisons.
@whole bear bye
And just continue my logic operation
@somber heath helo
The task is askuing me to input 3 valuse of a sequence
Not in order
And try find one missing
If the sequence is arithmetic
Do i cheat with the .list command 😂
!e
a, b, c, d = "1", "2", "3", "4"
n = [a, b, c, d]
for i in range(len(n)-1, 0, -1):
for j in range(i):
if n[j] < n[j + 1]:
temp = n[j]
n[j] = n[j + 1]
n[j + 1] = temp
print(n)
@sick cloud :white_check_mark: Your eval job has completed with return code 0.
[4, 3, 2, 1]
-_-
Im limited to if els elif
File "c:/Users/dell/PythonProjects/pythonProject2/macrosituations.py", line 21, in <module>
with open(basename(i), 'wb') as f:
FileNotFoundError: [Errno 2] No such file or directory: ''
Give the code
just paste whole code pls
Give code pls
a= int(input())
b= int(input())
c= int(input())
list1 = [a,b,c]
list2 =list1.sort()
print(list2)
Why not workinbg?
data = ['https://www.nrb.org.np/lgd/%e0%a4%ad%e0%a5%81%e0%a4%95%e0%a5%8d%e0%a4%a4%e0%a4%be%e0%a4%a8%e0%a5%80-%e0%a4%a4%e0%a4%a5%e0%a4%be-%e0%a4%ab%e0%a4%b0%e0%a5%8d%e0%a4%b8%e0%a5%8d%e0%a4%af%e0%a5%8c%e0%a4%9f-%e0%a4%90%e0%a4%a8/', 'https://www.nrb.org.np/lgd/bank-and-financial-institution-act-2073-2017/', 'https://www.nrb.org.np/lgd/nepal-rastra-bank-act-2002-consolidated-version-in-english/', 'https://www.nrb.org.np/lgd/%e0%a4%ac%e0%a5%88%e0%a4%82%e0%a4%95%e0%a4%bf%e0%a4%82%e0%a4%97-%e0%a4%95%e0%a4%b8%e0%a5%81%e0%a4%b0-%e0%a4%a4%e0%a4%a5%e0%a4%be-%e0%a4%b8%e0%a4%9c%e0%a4%be%e0%a4%af-%e0%a4%90%e0%a4%a8-%e0%a5%a8/', 'https://www.nrb.org.np/lgd/%e0%a4%a8%e0%a5%87%e0%a4%aa%e0%a4%be%e0%a4%b2-%e0%a4%b0%e0%a4%be%e0%a4%b7%e0%a5%8d%e0%a4%9f%e0%a5%8d%e0%a4%b0-%e0%a4%ac%e0%a5%88%e0%a4%82%e0%a4%95-%e0%a4%90%e0%a4%a8-%e0%a5%a8%e0%a5%a6%e0%a5%ab-2/', 'https://www.nrb.org.np/lgd/%e0%a4%ac%e0%a5%88%e0%a4%82%e0%a4%95-%e0%a4%a4%e0%a4%a5%e0%a4%be-%e0%a4%b5%e0%a4%bf%e0%a4%a4%e0%a5%8d%e0%a4%a4%e0%a5%80%e0%a4%af-%e0%a4%b8%e0%a4%82%e0%a4%b8%e0%a5%8d%e0%a4%a5%e0%a4%be-%e0%a4%b8/', 'https://www.nrb.org.np/lgd/%e0%a4%a8%e0%a5%87%e0%a4%aa%e0%a4%be%e0%a4%b2-%e0%a4%b0%e0%a4%be%e0%a4%b7%e0%a5%8d%e0%a4%9f%e0%a5%8d%e0%a4%b0-%e0%a4%ac%e0%a5%88%e0%a4%82%e0%a4%95-%e0%a4%90%e0%a4%a8-%e0%a5%a8%e0%a5%a6%e0%a5%ab/', 'https://www.nrb.org.np/lgd/%e0%a4%b8%e0%a4%ae%e0%a5%8d%e0%a4%aa%e0%a4%a4%e0%a5%80-%e0%a4%b8%e0%a5%81%e0%a4%a6%e0%a5%8d%e0%a4%a6%e0%a4%bf%e0%a4%95%e0%a4%b0%e0%a4%a3-%e0%a4%a8%e0%a4%bf%e0%a4%b5%e0%a4%be%e0%a4%b0%e0%a4%a3/', 'https://www.nrb.org.np/lgd/nepal-rasta-bank-act-2002/', 'https://www.nrb.org.np/lgd/%e0%a4%a8%e0%a5%87%e0%a4%aa%e0%a4%be%e0%a4%b2-%e0%a4%b0%e0%a4%be%e0%a4%b7%e0%a5%8d%e0%a4%9f%e0%a5%8d%e0%a4%b0-%e0%a4%ac%e0%a5%88%e0%a4%82%e0%a4%95-%e0%a4%90%e0%a4%a8%e0%a5%a8%e0%a5%a6%e0%a5%ab/']
!e
a= 1
b= 1
c= 1
list1 = [a, b, c]
print(list1)
list1.sort()
print(list1)
Yea...
@sick cloud :white_check_mark: Your eval job has completed with return code 0.
001 | [1, 1, 1]
002 | None
!e
a= 1
b= 1
c= 1
list1 = [a, b, c]
print(list1)
list1.sort()
print(list1)
@sick cloud :white_check_mark: Your eval job has completed with return code 0.
001 | [1, 1, 1]
002 | [1, 1, 1]
fixed it
data = ['www.bvh.com', 'www.asd.com']
for i in data:
with open(basename(i), 'wb') as f:
f.write(requests.get(i).content)
a = int(input())
b = int(input())
c = int(input())
list1 = [a, b, c]
list1.sort()
print(list1)
How would i go about finding the missing num
Lets say we input 1, 9, 5
Sorts to 1,5,9
Space is 4
now what 😂 ?
????????
Wdum
1-5=4
9-5=4
But i can have it be 1,5,x,13
And then what
In the example its easy
Its allways 4
it's (5+13)/2
ig
considering the space is always 4
oh okay
oh okay chill
wait
i'm thinking
give me an example where it isn't 4
@odd dragon
1,4,10
ig it should work as long as a number is missing
what is the gap in this case?
Wait a sec
Sounds good
for i, url in enumerate(data):
with open(str(i).zfill(4) + '.htm', 'wb') as f:
f.write(requests.get(url).content)```
one sec @odd dragon
!e```python
for i in range (20):
a = str(i).zfill(1)
print a
!e```
for i in range (20):
a = str(i).zfill(1)
print a
exit()
enumerate
except
!commands
!e
for i in range (10):
a = str(i).zfill(1)
print(a)
@sick cloud :white_check_mark: Your eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | 5
007 | 6
008 | 7
009 | 8
010 | 9
@fiery hearth this uses 3.x and not 2.x
!e
for i in range (15):
a = str(i).zfill(1)
print(a)
@fiery hearth :white_check_mark: Your eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | 5
007 | 6
008 | 7
009 | 8
010 | 9
011 | 10
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/yiqofedugi.txt
!e
for i in range (10):
a = str(i).zfill(2)
print(a)
@fiery hearth :white_check_mark: Your eval job has completed with return code 0.
001 | 00
002 | 01
003 | 02
004 | 03
005 | 04
006 | 05
007 | 06
008 | 07
009 | 08
010 | 09
len(str(len(data)))
Hi
@serene fog :white_check_mark: Your eval job has completed with return code 0.
hello world
oh
voice verification
@whole bear umm, studying maths
rn
high school maths question paper
on probability
and areas
of sector
and sets and more
yeah, vein-diagrams
sets
no trigonometry ?
just a sec
yep
this kind of simple question for C.S (programming part)
nice
GL with the assignments
Anyone know a motherboard compatible with the 3xxx ryzens without needing bios updates
i'm done with it #voice-chat-text-0 message
Just the chipset*
this is all what the teacher taught us this year
ohh...
but ofc, ik more
i'm almost done for today
!e
import random
n = []
for i in range(9):
n.append(random.randint(i, i+10))
for i in range(len(n)-1, 0, -1):
for j in range(i):
if n[j] > n[j + 1]:
temp = n[j]
n[j] = n[j + 1]
n[j + 1] = temp
print(n)
@sick cloud :white_check_mark: Your eval job has completed with return code 0.
[1, 4, 5, 6, 6, 8, 12, 13, 16]
.topic
Suggest more topics here!
my house
.topic
Suggest more topics here!
a remote controlled helicopter
never received a gift
.topic
Suggest more topics here!
become rich and do everthing
and then i can build a house in woods
and also ask someone out
alr, i'm gonna have lunch, see u later
.topic
huh?
bye
bye
@whole bear helo
i'm not eating anything
@whole bear i sound weird so i don't talk
btw, i like ur tag number
tag*
cuz 2027 i pretty close
lol
rn i'm making a bot so it would pick a random meme from redit
right now
are u from europe ?
idk why, but u sound like my Georgian friend
sup
i got class in 2 minutes 😦
georgia the country
ik
ummm, some confusing piece of code
!e print(3 < 5 < 7 < (()==()))
they change the schedule at my school like every week bruh
@sick cloud :white_check_mark: Your eval job has completed with return code 0.
False
so i keep going to the wrong classes
ight
huh?
oh
its just short for alright
instead of alright its just ight
im in class rn
algebruh
F
Curious, then, that you should be on Discord.
You must have an extraordinary capacity to concentrate, given your focus is split between the two things, one being algebra.
gl
nah were just going over a test rn that we took yesterday
and i already know most of the stuff so im not really paying attention
what did u get ?
i got a 85
nice
hey jag
@wise glade hello
today I'm learning about git
nothing much
hmm, thanks
i'm almost done with my goals for today
so I just ran git clone https://github.com/libgit2/libgit2, where did it got cloned?
in the directory the thing was open
nooo
let me check
ok
tell me whether it works or not
oh, its nowhere, it wasn't properly downloaded
I was doing whereis libgit2 to find it
py -m pip --version
@normal hinge which version are you using ?
3.9
why his pip version 3.9? mine's pip 20.2.4
I suspect there was a misunderstanding.
his python version is 3.9 not pip lol
hm, should be
me too same error getting.
@normal hinge You have to install visual studio... and then c++ tools to solve the problem
That did the job for me 👍
I have deafened server so I can't hear you.... You can type for any q 😀
i am also facing same error.
py -0
then run pip install discord.py
