#voice-chat-text-0

1 messages Β· Page 35 of 1

tulip plover
#

but this index start from 0 to 3

trail mural
#

!e

spam = ['cat', 'bat', 'rat', 'elephant']
print(spam[1::])
wise cargoBOT
#

@trail mural :white_check_mark: Your 3.11 eval job has completed with return code 0.

['bat', 'rat', 'elephant']
trail mural
#

!e

spam = ['cat', 'bat', 'rat', 'elephant']
print(spam[1:-1])
wise cargoBOT
#

@trail mural :white_check_mark: Your 3.11 eval job has completed with return code 0.

['bat', 'rat']
trail mural
#

!e

spam = ['cat', 'bat', 'rat', 'elephant']
print(spam[1:len(spam)])
wise cargoBOT
#

@trail mural :white_check_mark: Your 3.11 eval job has completed with return code 0.

['bat', 'rat', 'elephant']
trail mural
#

arr[ start : stop : step ]

#

!e

spam = ['cat', 'bat', 'rat', 'elephant']
print(spam[::2])
wise cargoBOT
#

@trail mural :white_check_mark: Your 3.11 eval job has completed with return code 0.

['cat', 'rat']
trail mural
#

!e

spam = ['cat', 'bat', 'rat', 'elephant']
print(spam[::-1])
wise cargoBOT
#

@trail mural :white_check_mark: Your 3.11 eval job has completed with return code 0.

['elephant', 'rat', 'bat', 'cat']
robust lichen
#
def main(subs, soup):
    user_choice = get_user_subtitle_choice(1, get_subtitle_count(subs))
    print('\n')

        # loop until user enters valid choice
    while not validate_user_subtitle_choice(user_choice, subs):
        print("Invalid choice, try again")
        user_choice = get_user_subtitle_choice(1, get_subtitle_count(subs))

    user_choice = convert_to_int(user_choice)

    idx = int(user_choice) - 1
    idx = subs[idx]

def getHTMLdocument(url):
        response = requests.get(url)
        return response.content
  
    sub_url = "https://subscene.com" + idx
    html_document = getHTMLdocument(sub_url)
    soup = BeautifulSoup(html_document, 'lxml')

    subtitle_links = []

    for i in soup.findAll('a'):
        subtitle_links.append(i.get('href'))
    print(subtitle_links)

why is this redirecting me to a cloudfare page?

warm jackal
#
an_iterable_of_nums = tuple()
comparative_num = 0
if any(comparative_num > num for num in an_iterable_of_nums): continue
last thistle
#
import secrets

card_number = 52
random_number_list = []

for x in range(100):
    random_number = secrets.randbelow(card_number)
    random_number_list.append(random_number)

print(random_number_list)

if any(random_number_list) >= 52:
    print("There is more than 52 possible random numbers")
else:
    print("There is no more than the number 52 in the list")
whole bear
#
def func(l):
    for i in l:
        if i > 100:
            return True
    return False
cold elbow
#

My bot

cold elbow
warm jackal
#
import random
from enum import Enum
from collections import namedtuple

Suit = Enum('Suit', ['Hearts', 'Diamonds', 'Clubs', 'Spades'])
Face = Enum(
  'Face',
  [
    'One',
    # ...
    'King',
    'Ace',
  ]
)

Card = namedtuple('Card', 'face suit')
random_card = Card(
  random.choice(list(Face)),
  random.choice(list(Suit))
)
warm jackal
robust lichen
#
def main(subs, soup):
    user_choice = get_user_subtitle_choice(1, get_subtitle_count(subs))
    print('\n')

        # loop until user enters valid choice
    while not validate_user_subtitle_choice(user_choice, subs):
        print("Invalid choice, try again")
        user_choice = get_user_subtitle_choice(1, get_subtitle_count(subs))

    user_choice = convert_to_int(user_choice)

    idx = int(user_choice) - 1
    idx = subs[idx]

    def getHTMLdocument(url):
        response = requests.get(url)
        return response.content
  
    sub_url = "https://subscene.com" + idx
    html_document = getHTMLdocument(sub_url)
    soup = BeautifulSoup(html_document, 'lxml')

    subtitle_links = []

    for i in soup.findAll('a'):
        subtitle_links.append(i.get('href'))
    print(subtitle_links)

if __name__ == '__main__':
    main(subs, soup)

Does anyone know why this is giving me a cloudfare link?

somber heath
#

@late glade πŸ‘‹

waxen barn
#

!code

wise cargoBOT
#

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.

waxen barn
#
class GameCharacter:
    def __init__(self, location, name, inventory):
        self.location = location
        self.name = name
        self.inventory = inventory


class PlayerCharacter(GameCharacter):
    def personal(self, health, gold):
        self.health = health
        self.gold = gold


class NonPlayerCharacter(GameCharacter):
    def __init__(self, career):
        self.career = career


player1 = PlayerCharacter("Meridian", "Aloy", "hunter bow", "100", "60")
print(player1)

#
class GameCharacter:
    def __init__(self, location, name, inventory):
        self.location = location
        self.name = name
        self.inventory = inventory


class PlayerCharacter(GameCharacter):
    def personal(self, health, gold):
        self.health = health
        self.gold = gold


class NonPlayerCharacter(GameCharacter):
    def __init__(self, career, allegiance):
        self.career = career
        self.allegiance = allegiance


player1 = PlayerCharacter("Meridian", "Aloy", "hunter bow", "100", "60")
print(player1)
wise cargoBOT
#

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

001 | abc
002 | abc
003 | 123
somber heath
#

!e ```py
class A:
def init(self, a):
self.a = a

class B(A):
def init(self, a, b):
super().init(a)
self.b = b

alpha = A(1)
beta = B(2, 3)

print(alpha.a)
print(beta.a)
print(beta.b)```

wise cargoBOT
#

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

001 | 1
002 | 2
003 | 3
waxen barn
#
class GameCharacter:
    def __init__(self, location, name, inventory):
        self.location = location
        self.name = name
        self.inventory = inventory


class PlayerCharacter(GameCharacter):
    def __init__(self, health, gold):
        super().__init__(GameCharacter)
        self.health = health
        self.gold = gold


class NonPlayerCharacter(GameCharacter):
    def __init__(self, career, allegiance):
        super().__init__(GameCharacter)
        self.career = career
        self.allegiance = allegiance


player1 = PlayerCharacter("Meridian", "Aloy", "hunter bow", "100", "60")
print(player1)

#
class GameCharacter:
    def __init__(self, location, name, inventory):
        self.location = location
        self.name = name
        self.inventory = inventory


class PlayerCharacter(GameCharacter):
    def __init__(self, health, gold):
        super().__init__(location, name, inventory)
        self.health = health
        self.gold = gold


class NonPlayerCharacter(GameCharacter):
    def __init__(self, career, allegiance):
        super().__init__(location, name, inventory)
        self.career = career
        self.allegiance = allegiance


player1 = PlayerCharacter("Meridian", "Aloy", "hunter bow", "100", "60")
print(player1)
#
class GameCharacter:
    def __init__(self, location, name, inventory):
        self.location = location
        self.name = name
        self.inventory = inventory


class PlayerCharacter(GameCharacter):
    def __init__(self, location, name, inventory, health, gold):
        super().__init__(location, name, inventory)
        self.health = health
        self.gold = gold


class NonPlayerCharacter(GameCharacter):
    def __init__(self, location, name, inventory, career, allegiance):
        super().__init__(location, name, inventory)
        self.career = career
        self.allegiance = allegiance


player1 = PlayerCharacter("Meridian", "Aloy", "hunter bow", "100", "60")
print(player1)
somber heath
#
alpha = A(a = 1)
beta = B(a = 2,
         b = 3)```
waxen barn
somber heath
#

!e ```py
def func(a, b, *args):
print(a)
print(b)
print(args)

func(1, 2, 3, 4, 5)```

wise cargoBOT
#

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

001 | 1
002 | 2
003 | (3, 4, 5)
somber heath
#

!e ```py
def func(a, b, c):
print(a)
print(b)
print(c)

args = 1, 2, 3
func(*args)```

wise cargoBOT
#

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

001 | 1
002 | 2
003 | 3
somber heath
#
func(1, 2, 3)```
#

@whole bear

waxen barn
#
class GameCharacter:
    def __init__(self, location, name, inventory):
        self.location = location
        self.name = name
        self.inventory = inventory


class PlayerCharacter(GameCharacter):
    def __init__(self, location, name, inventory, health, gold):
        super().__init__(location, name, inventory)
        self.health = health
        self.gold = gold


class NonPlayerCharacter(GameCharacter):
    def __init__(self, location, name, inventory, career, allegiance):
        super().__init__(location, name, inventory)
        self.career = career
        self.allegiance = allegiance


player1 = PlayerCharacter("Meridian", "Aloy", "hunter bow", "100", "60")
NPC1 = NonPlayerCharacter("Meridian", "Sylens", "Lance", "archaeologist", "Eclipse")
print("player1 is located at: {}\nplayer1 is named: {}\nin player1s inventory: {}\nplayer1 Health: {}\nplayer1 gold: {}".format(player1.location, player1.name, player1.inventory, player1.health, player1.gold))
#

!run

somber heath
#

!eval

wise cargoBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <code, ...>
Can also use: e

Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

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

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

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

somber heath
#

!code

wise cargoBOT
#

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.

waxen barn
somber heath
#

!e ```py
print("Hello, world.")
```

waxen barn
#

!e```py
class GameCharacter:
def init(self, location, name, inventory):
self.location = location
self.name = name
self.inventory = inventory

class PlayerCharacter(GameCharacter):
def init(self, location, name, inventory, health, gold):
super().init(location, name, inventory)
self.health = health
self.gold = gold

class NonPlayerCharacter(GameCharacter):
def init(self, location, name, inventory, career, allegiance):
super().init(location, name, inventory)
self.career = career
self.allegiance = allegiance

player1 = PlayerCharacter("Meridian", "Aloy", "hunter bow", "100", "60")
NPC1 = NonPlayerCharacter("Meridian", "Sylens", "Lance", "archaeologist", "Eclipse")
print("player1 is located at: {}\nplayer1 is named: {}\nin player1s inventory: {}\nplayer1 Health: {}\nplayer1 gold: {}".format(player1.location, player1.name, player1.inventory, player1.health, player1.gold))

wise cargoBOT
#

@waxen barn :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | player1 is located at: Meridian
002 | player1 is named: Aloy
003 | in player1s inventory: hunter bow
004 | player1 Health: 100
005 | player1 gold: 60
waxen barn
#

!e```py

    def __init__(self, location, name, inventory):
        self.location = location
        self.name = name
        self.inventory = inventory


class PlayerCharacter(GameCharacter):
    def __init__(self, location, name, inventory, health, gold):
        super().__init__(location, name, inventory)
        self.health = health
        self.gold = gold


class NonPlayerCharacter(GameCharacter):
    def __init__(self, location, name, inventory, career, allegiance):
        super().__init__(location, name, inventory)
        self.career = career
        self.allegiance = allegiance


player1 = PlayerCharacter("Meridian", "Aloy", "hunter bow", "100", "60")
NPC1 = NonPlayerCharacter("Meridian", "Sylens", "Lance", "archaeologist", "Eclipse")
print("player1 is located at: {}\nplayer1 is named: {}\nin player1s inventory: {}\nplayer1 Health: {}\nplayer1 gold: {}\n"
      .format(player1.location, player1.name, player1.inventory, player1.health, player1.gold))
print("NPC1 is located at: {}\nNPC1 is named: {}\nin NPC1 inventory: {}\nNPC1 career: {}\nNPC1 allegiance: {}\n"
      .format(NPC1.location, NPC1.name, NPC1.inventory, NPC1.career, NPC1.allegiance))
wise cargoBOT
#

@waxen barn :warning: Your 3.11 eval job has completed with return code 0.

[No output]
waxen barn
#

!e```py
class GameCharacter:
def init(self, location, name, inventory):
self.location = location
self.name = name
self.inventory = inventory

class PlayerCharacter(GameCharacter):
def init(self, location, name, inventory, health, gold):
super().init(location, name, inventory)
self.health = health
self.gold = gold

class NonPlayerCharacter(GameCharacter):
def init(self, location, name, inventory, career, allegiance):
super().init(location, name, inventory)
self.career = career
self.allegiance = allegiance

player1 = PlayerCharacter("Meridian", "Aloy", "hunter bow", "100", "60")
NPC1 = NonPlayerCharacter("Meridian", "Sylens", "Lance", "archaeologist", "Eclipse")
print("player1 is located at: {}\nplayer1 is named: {}\nin player1s inventory: {}\nplayer1 Health: {}\nplayer1 gold: {}\n"
.format(player1.location, player1.name, player1.inventory, player1.health, player1.gold))
print("NPC1 is located at: {}\nNPC1 is named: {}\nin NPC1 inventory: {}\nNPC1 career: {}\nNPC1 allegiance: {}\n"
.format(NPC1.location, NPC1.name, NPC1.inventory, NPC1.career, NPC1.allegiance))

wise cargoBOT
#

@waxen barn :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | player1 is located at: Meridian
002 | player1 is named: Aloy
003 | in player1s inventory: hunter bow
004 | player1 Health: 100
005 | player1 gold: 60
006 | 
007 | NPC1 is located at: Meridian
008 | NPC1 is named: Sylens
009 | in NPC1 inventory: Lance
010 | NPC1 career: archaeologist
011 | NPC1 allegiance: Eclipse
somber heath
#

!e py age = 17 name = "Peter" print("Hello, {name}. You are {age} years old.") print(f"Hello, {name}. You are {age} years old.") print("Hello, {}. You are {} years old.".format(name, age)) print("Hello, " + name + ". You are " + str(age) + " years old.")

wise cargoBOT
#

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

001 | Hello, {name}. You are {age} years old.
002 | Hello, Peter. You are 17 years old.
003 | Hello, Peter. You are 17 years old.
004 | Hello, Peter. You are 17 years old.
#

Hey @waxen barn!

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

waxen barn
somber heath
#

@velvet meadow πŸ‘‹

velvet meadow
#

good evening, how do I have microphone released ?

somber heath
#

!voice

wise cargoBOT
#

Voice verification

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

velvet meadow
#

Do you Portuguese?

#

yes ou no?

#

Sou Brasileiro

#

you ?

#

my name is WILLIAN

robust lichen
#

hello willian

velvet meadow
#

hello

#

want to learn English

#

heheheh

pliant swallow
#

oh

#

hi

#

why cant i speak

somber heath
#

!voice

wise cargoBOT
#

Voice verification

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

pliant swallow
#

dis is like prison

velvet meadow
#

no falo por vergonha

#

heheheh

pliant swallow
#

oh lol

#

i have loud mic

#

oh

#

bet

#

lemme

#

get

#

my

#

50

#

messages

#

oh no spam?

velvet meadow
#

what language do you program?

#

python ?

pliant swallow
#

lua and python

#

learning python

velvet meadow
#

ohhh

#

uau

pliant swallow
#

i wanna start using pygame

#

and make games in python

robust lichen
#
user_choice = convert_to_int(user_choice)
    idx = int(user_choice) - 1
    scraper = cloudscraper.create_scraper()

    print(scraper.get("https://subscene.com" + subs[idx]).text, time.sleep(10))

to get the web scraper working it was this easy lol

pliant swallow
#

i understand @somber heath

robust lichen
#

literally just adding a sleep function

velvet meadow
#

I'm a beginner, I have 1 year in php.

pliant swallow
#

3 days

velvet meadow
#

I'm 17 years old

pliant swallow
#

i learned to not make big projects

#

when im new

robust lichen
#
print("hello world")
pliant swallow
#

shoot i know

velvet meadow
#

ola mundo ?

pliant swallow
#

i get a error

velvet meadow
#

print("hello world")

pliant swallow
#

everytime i run print("hello world")

velvet meadow
#

!"hello world"

pliant swallow
#

so what programming languages yall know?

velvet meadow
#

uau

#

muitas

pliant swallow
#

@robust lichen i wanna learn cpp

velvet meadow
#

quanto anos ?

pliant swallow
#

but i wanna learn something easier first

#

like python

#

i would not say easy

velvet meadow
#

!hello world

pliant swallow
#

but not as hard as cpp

#

i feel like lua is kinda similar to python

velvet meadow
#

wanted to learn python

pliant swallow
#

but thats just me

#

i see

velvet meadow
#

lua Γ© backend ou frontend

pliant swallow
#

hehe

#

@robust lichen whats the difference between frontend and backend?

velvet meadow
#

front o bonito

#

backend o fundo

#

do site

pliant swallow
#

ohhhh

#

i see

#

thanks

velvet meadow
#

conhece mysql ?

pliant swallow
#

is there any frontend and backend languages?

#

nor do i, i like making games

velvet meadow
#

Do you really live in the United States?

pliant swallow
#

well i do know scratch

#

lol

#

yeah i know

#

that was a joke

#

i dont know scratch

#

want to see a total legit link?

#

LETS GOOOOO

#

bru

#

wait

#

i know a trick

#

lemme just fast forward the date

#

on my pc

velvet meadow
#

know php?

#

lol

pliant swallow
#

@robust lichen how do i bypass

velvet meadow
#

qual linguagem posso pesquisar estudar ?

pliant swallow
#

this 3 day wait

#

Man I'm bouta ask admin.

#

<@&267628507062992896> Please give me voice.

#

Oh shoot.

#

das all the admins

#

see

#

lemme try mod

#

pride man

velvet meadow
#

Good night, I'm going to pamper you because it's already 00:32.

robust lichen
#

Wauffle rn

velvet meadow
pliant swallow
#

bro speechless

#

@somber heath me

#

idk

#

ima dip

robust lichen
#

@pliant swallow πŸ‘‹

pliant swallow
#

bye πŸ‘‹

bleak bison
#

hi

#

I am super new

#

so i cant talk yet

#

Im working on a neat program!

#

Well i just joined 😭

#

Well im super new to programming but i have a history with html

#

Basically i want to use text to generate images use ai like openai

#

but im running into a lot of hurdles

robust lichen
#
<html>
  <body>
    <h1>Hello World!</h1>
  </body>
</html>
bleak bison
#

I dont know of any free solutions for this and im investigating

#

nice lol

#

yes

#

O cool

#

I noticed that!

#

Or just pay for the processing power 😭

#

I probably will just pay for the processing power its a great point i'd'nt consider. I will probably only need to generate one image a week anyways at a cost of about .025 cents

#

Yes openai is at a cost of .025 cent per image!

#

yeah especially for this application now that i think about it it will definitely be worth it to have it up and running

#

There are free solutions to this but it relies on you having the processing power to the best of my solution like @somber heath was saying

robust lichen
bleak bison
#

thanks i'll look intot that

#

in tater tot that

#

"know" not really

#

But i took a youtube tutorial on c++ that was like 4 hours long

#

and that went up to 2-d arrays and got me familiar

#

I already got the program running to scrape the text that I want I just need to integrate it with the ai generation.

#

I respect what your saying and agree

#

I feel like the more senses you can engage though the better

#

it is true that most people absorb info differently, but sensory engagement is a good trick to absorb as much as possible. Talk the words out type the code out and listen simultaneously. Some people say chewing gum even helps along side all of this

#

Yeah im learning a lot making this program!

#

Well said

#

how to learn python <tab> key

#

all of my mistakes have been not tabbing lol

#

if you can use tab and make sure everything is under what is supposed to be your fine

#

@robust lichen who is this

#

the u tuber

#

haxxor

#

l33t

robust lichen
#

What I use to learn (the BEST IT training): https://ntck.co/itprotv (30% off FOREVER) *affiliate link

πŸ”ŽπŸ”ŽFREE Python Lab: https://ntck.co/pythonep1
Support the course: https://ntck.co/pythonrightnow

πŸ”₯πŸ”₯Join the NetworkChuck membership: https://ntck.co/Premium

**Sponsored by ITProTV

SUPPORT NETWORKCHUCK
-----------------------------------...

β–Ά Play video
bleak bison
#

I think i have a really solid idea im afraid to talk about it because it will be stolen 😦

#

Okay don't sell this to microsoft lol

#

you ever heard of a word cloud

#

like it finds the most common words in a webpage

#

this but it uses the most common words in a webpage and puts them into dalle

#

like an ai image based word cloud

#

pretty good idea huh

#

wordss

#

like 5 phrases πŸ™‚

#

Well I read a machine learning book on python today and the idea came up

#

numpy makes this easy

#

uhhhh

#

like imagine an alt right forum

#

it takes all the common phrases from that forum and paints a literal picture of it

robust lichen
#

pc gonna be likeπŸ”₯

bleak bison
#

to give you an idea of the ambience of the space

#

simple to exclude phrases

#

stop_list = [

#

I am only using ai not making the ai 😦

#

dalle wont let me

#

trust me ive tried πŸ˜‰

#

it wont like you make the nice pics

#

I already have a program that does this

#

its just script kiddied lol

#

using beautiful soup

#

Interesting point

#

let me fix that before moving onto to the ai implementation

#

should be easy though

#

it would be but ill just outsource it to dalle's servers not worth it i'll just pay the pennies

#

and allow the creation of the image on a cylce once a day

#

it does i already created the secret key and everything

robust lichen
bleak bison
#

yes yes i was just rubber ducky debugging and running it by people who can listen to me talk about this stuff at this level

#

In software engineering, rubber duck debugging (or rubberducking) is a method of debugging code by articulating a problem in spoken or written natural language. The name is a reference to a story in the book The Pragmatic Programmer in which a programmer would carry around a rubber duck and debug their code by forcing themselves to explain it, l...

#

api should be easy to implement as well i'll have a running beta

#

very soon

#

its a funny concept

#

has anyone ever asked you a stupid question they know the answer to

#

this is a trick to help them

#

have a rubber duck for them to ask all there dumb questions too

pliant swallow
#

hello

bleak bison
#

also i'm really getting my keystrokes in today

#

hellow waffleleleel

#

yeah thanks

robust lichen
#

im a big boy

pliant swallow
#
print("Hello, World!")
print("Hello, World!")

Witch one is LUA and witch one is Python?

robust lichen
#
console.log("pee pee poo poo");
pliant swallow
#

Correct @robust lichen !

bleak bison
#

you're being quizzed?

#

I will go for now thanks for talking to me man

#

I will return

#

when i have voice accessssssss

robust lichen
#
def main(subs):
    user_choice = get_user_subtitle_choice(1, get_subtitle_count(subs))
    print('\n')

        # loop until user enters valid choice
    while not validate_user_subtitle_choice(user_choice, subs):
        print("Invalid choice, try again")
        user_choice = get_user_subtitle_choice(1, get_subtitle_count(subs))

    user_choice = convert_to_int(user_choice)
    idx = int(user_choice) - 1
    scraper = cloudscraper.create_scraper()

    print(scraper.get("https://subscene.com" + subs[idx]).text, time.sleep(10))
    #print("https://subscene.com" + subs[idx])

if __name__ == '__main__':
    main(subs)
pliant swallow
#

time.sleep(10) because if not time.sleep then it would run forever and ever untill broken?

#

ahh

#

ahhhhhhhhhhhjhhhghgyh

timber lake
#

hello, o great i get it

pliant swallow
#

@robust lichen can you quiz me on python

#

python basics

robust lichen
#

list = ['example', 'example', 'example']

pliant swallow
#

oh

#

ye

#

so

#

print("list[-3]")

#

maybe

#

idk

#

oh

#

no quotes

#

shit

#

im dumb

#

print(list[-3])

robust lichen
#
print(list[0])
pliant swallow
#

oh

#

in a tut

#

it told me to do that

#

idk why

#

oh

#

ight

#

next question

timber lake
#

Duke why you scapper do not use asyncio instead time.sleep?

#

o i see

pliant swallow
#

like

#

print whats in the list?

#

hmm

#

print(list)

#

maybe

#

ohohoiasdhhiojasdhoijaoisjgaoisjg

#

im 0-2

#

lol

#

ong

timber lake
#

hmmm do you need to use a function that involve the variable

robust lichen
#
list = ['example', 'example', 'example']

def get_subtitle_count(list):
    return len(list)
timber lake
#

Duke, do you use poetry? O which package management do you use?

pliant swallow
#

Python program to print list

using for loop

a = [1, 2, 3, 4, 5]

printing the list using loop

for x in range(len(a)):
print a[x],

#

i found dat

#

on the internet

#

NEXT QUESTION SIR

#

bet

timber lake
#

actually python has different tool to managament dependencies using pyproject.toml file

#

i use poetry but also you can use pdb which is similar to npm

pliant swallow
#

no sir

#

wdym

#

like add links to a list

robust lichen
#

links = []

pliant swallow
#
links = []
links.append("https://example.com/","https://example.com/","https://example.com/")

print(links)
#

like dat maybe

#

oh i did not mean to put that

robust lichen
#

!e

links = []
links.append('https://example.com/', 'https://example.com/', 'https://example.com/')

print(links)
wise cargoBOT
#

@robust lichen :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | TypeError: list.append() takes exactly one argument (3 given)
pliant swallow
#

wait

#

!e

links = []
links.append("https://example.com/","https://example.com/","https://example.com/")

print(links)
wise cargoBOT
#

@pliant swallow :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | TypeError: list.append() takes exactly one argument (3 given)
pliant swallow
#

odd

#

wait

timber lake
#

yes append add one by one

pliant swallow
#

ohhh

#

wait

#

here

timber lake
#

i think it is better inside of ['','','']

robust lichen
#

!e

links = []
link = "https://example.com/", "https://example.com/", "https://example.com/"

print(links)
wise cargoBOT
#

@robust lichen :white_check_mark: Your 3.11 eval job has completed with return code 0.

[]
pliant swallow
#

bruuu

#

i was bouta

#

wait

#

!e

links = []
presetlinks = ["https://example.com", "https://example.com", "https://example.com"]
links.append(presetlinks)

print(links)
wise cargoBOT
#

@pliant swallow :white_check_mark: Your 3.11 eval job has completed with return code 0.

[['https://example.com', 'https://example.com', 'https://example.com']]
pliant swallow
#

see

#

or dayt

#

that ways a bit

#

funky tho

robust lichen
#
links = []
presetlinks = "https://example.com", "https://example.com", "https://example.com"
links.append(presetlinks)

print(links)
pliant swallow
#

right

#

another question

#

pls

robust lichen
#

!e

links = []
presetlinks = "https://example.com", "https://example.com", "https://example.com"
links.append(presetlinks)

print(links)
wise cargoBOT
#

@robust lichen :white_check_mark: Your 3.11 eval job has completed with return code 0.

[('https://example.com', 'https://example.com', 'https://example.com')]
pliant swallow
#

these lowkey teachin me

timber lake
#

hmm but is it a tuple right?

pliant swallow
#

!e

print("Scratch is the best programming language")
wise cargoBOT
#

@pliant swallow :white_check_mark: Your 3.11 eval job has completed with return code 0.

Scratch is the best programming language
pliant swallow
#

wdym

#

pick em out

robust lichen
#

list = ['/example/link', 'example/link2']

pliant swallow
#

woah

#

list - []

#

best ever

#

ye i see

#

i also saw that minus

#

hmm

#

lets see

#

maybe

#

like just like print the right link

#

oh shit

#

hmm

#

idk

#

man

#

ye

#

!messages

#

wtf

#

why no answer

#

!msg

#

!sent

#

wtf nto

#

bro

#

can we join live coding so i can show yall me coding

#

oh

#

bru

#

what

#

how do i get screenshare perms

#

dont make me ping admins again

robust lichen
#
def extract_links(soup):
    subtitle_links = []

    for i in soup.findAll('a'):
        subtitle_links.append(i.get('href'))
    return subtitle_links

subs = extract_links(soup)
subs = list(set([i for i in subs if i.startswith('/subtitles')]))
pliant swallow
#

oh

#

i see

#

makes sense

#

how do i get screenshare perms btw

#

bro

#

why tf to people gotta do that shit its nasty asf and not funny

#

well

#

bet

#

<@&831776746206265384> anyone tryna watch me stream :)

#

wait

#

can helpers do it?

#

should i ask one of dem

radiant surge
#

i'm sorry, there are no moderators currently in vc to moderate a stream

#

so we cannot give you streaming permissions

pliant swallow
#

What if a helper does it?

radiant surge
#

that's not something we allow

pliant swallow
#

bro

#

i just wanan show these ppl my python skills

#

im not no porn watcher

#

for f*** sake

radiant surge
#

we're well aware that you may not be a bad actor

pliant swallow
#

sorry i dont mean to be disrespectful

radiant surge
#

but we've had many experiences where people streamed content we don't allow

#

and given that there's no history for vc, it's very difficult to moderate

pliant swallow
#

can you just like have someone check up on me every 5 mins or smht

pliant swallow
#

watch

#

he bouta gimme a chance

radiant surge
pliant swallow
#

or not

#

watch this

whole bear
#

I mean guys you could do a private call since no one else is in the conversation with you and you don't need anyone else's help

pliant swallow
#

@radiant surge look

#

im a mod

#

now

whole bear
#

:0

pliant swallow
#

totally real mod

#

legit

#

πŸ’―

whole bear
#

My man literally just changed his name

desert vector
#

No scams?

pliant swallow
#

no scams

#

real legit mod

desert vector
#

I think this guy is the real deal dawn

#

I mean, look at them

pliant swallow
#

fr

#

me no scammer

desert vector
#

that's a mod right there

radiant surge
#

very orange

#

can't believe i didn't see it

whole bear
#

lol

desert vector
#

so orange you can't even see the color

radiant surge
#

hiding under that white role

pliant swallow
#

correct

#

im the owner on a alt πŸ˜‰

whole bear
#

Make a personal role called Mod lol

pliant swallow
#

im finessin

#

or not

#

ye

#

they

#

went bye bye

whole bear
#

Make a bot for monitoring VC screenshare lol

pliant swallow
#

or maybe

#

just

whole bear
#

Oh

pliant swallow
#

make a application for screenshare perms

#

then let ppl apply

whole bear
pliant swallow
#

or they could let ppl get it at like lvl 10

whole bear
#

Yeah, trust is still a big issue

pliant swallow
#

@radiant surge so?

whole bear
#

even with application or level

radiant surge
#

i'm sorry, but if there's no mod in vc, we do not provide streaming perms

whole bear
#

Yeah, let's end the screen sharing talk here

pliant swallow
#

and i am the vc

whole bear
#

Come on bro

pliant swallow
#

okay fine

#

they won

whole bear
#

No like the bot gets triggered when screen sharing is enabled

#

like a role for it and the bot follows the role

robust lichen
whole bear
#

Sorry for bothering you, @radiant surge
Have a good rest of your day

pliant swallow
radiant surge
#

don't worry about it

#

you have a good day too

robust lichen
pliant swallow
#

be safe

#

u might get shot

#

i mean nothing

whole bear
#

umm

radiant surge
pliant swallow
#

my little gangsters might pull up on u

#

so keep lookin out that window of urs

whole bear
#

Uh oh

pliant swallow
#

@somber heath i mean there discord mods what do u expect πŸ’€

pliant swallow
#

pronouns bro

#

have some respect

#

ima go try to make a simple game with pygame

#

did i do something wrong?

#

oh

#

well

#

it was saying i dont got python

#

when i run in cmd

#

wait

somber heath
#

@small forge πŸ‘‹

pliant swallow
#

yeah ik

small forge
#

hi

#

I cannot speak

#

it's not allowing me to

#

: (

somber heath
#

!voice

wise cargoBOT
#

Voice verification

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

pliant swallow
#

shiz wont work

small forge
#

you added in the path right?

#

environment variables?

#

@pliant swallow

pliant swallow
#

i did

small forge
#

show me

pliant swallow
#

i installed from python website

small forge
#

where ?

#

in environment variable

pliant swallow
#

python website

small forge
#

you added the bin path right?

small forge
#

I joined yesterday

#

Started with python recently

pliant swallow
#

oh i know why

#

pls

#

give me

#

em

#

stafa

#

u got some connections

#

right

#

i got it

#

lets

#

go

#

i had

#

3.11

#

installed

#

and 3.10

#

i had to delete both

#

and reinstall 3.10.7

#

time to create

#

the game

#

just dmed

#

all the mods

#

asking if i can get ss perms

#

:)

#

oh

#

umm

#

where just gonna

#

delete those

#

messagesd

#

haha

#

i was jus messing around

#

jokes

#

funny

#

haha

#

doing what

#

idk

#

what that means

#

no

#

omgf

#

omfg

#

it says i dont got python

#

OMGMGMGOMGGOMGOLMGGOMGOMGGOM

#

cuh

#

no

somber heath
#
python3 mymodule.py > output.txt```
robust lichen
pliant swallow
#

gonna restart my pc

robust lichen
#
with open("output.txt", "a") as f:
  print("Hello stackoverflow!", file=f)
  print("I have a question.", file=f)
#

found this code

pliant swallow
#

it has bad words

#

if u want it u have to dm me

#

everytime someone joins i rush to see if they have mod role

#

@lethal thunder wtf

lethal thunder
#

...

pliant swallow
#

wut

lethal thunder
#

put that back

pliant swallow
#

no

#

dm me

#

if u want it

#

it has bad words

#

cannot send here

#

jus got rate limed

#

@lethal thunder crazyy right

robust lichen
pliant swallow
#

monkeys

#

@somber heath bro

#

it identifies as a monkey

#

let it be

#

@somber heath bro

#

just

#

let it be

#

its a monkey

#

dis you @somber heath ?

robust lichen
#

stop

#

or else

pliant swallow
#

look at dis boy

#

the conversation

#

is about

#

monkeysz

lethal thunder
robust lichen
#

πŸ™

somber heath
#

@fallen isle @keen hamlet πŸ‘‹

robust lichen
#

no saxophone

keen hamlet
#

hello

fallen isle
#

hello

pliant swallow
#

dis u @somber heath

fallen isle
#

as a sax player, tener and alto

#

now now

#

shh

pliant swallow
#

alr

#

i will rest it

fallen isle
#

that was good show

#

jolly good show

keen hamlet
#

Pops

pliant swallow
#

@somber heath ur not my mother tho

robust lichen
#

fire backgrounds 101 tthearteyes_catgirls

fallen isle
#

@pliant swallow do u FiveM dev?

pliant swallow
#

nah

#

why

fallen isle
#

and u do LUA

#

insane

#

I could put u onto an entire industry that is insanely profitable

pliant swallow
#

oky

fallen isle
#

just look up FiveM

lavish rover
#

@woeful salmon hello

pliant swallow
#

yes

#

lua

fallen isle
#

LUA is similar to C# and C++ and JAva

pliant swallow
#

lua is not hard at all

woeful salmon
pliant swallow
#

roblox games

lavish rover
woeful salmon
#

nice!

pliant swallow
#

all roblox games are made with lua

woeful salmon
#

i just came back from cousin's marrige... haven't slept in 2 days

fallen isle
#

well just Search up FiveM

#

and ima leave u with that

woeful salmon
#

just got back home so gonna sleep a few hours later

lethal thunder
pliant swallow
#

only @lethal thunder knows

woeful salmon
#

@robust lichen roblox

#

oh

lethal thunder
woeful salmon
#

its embedded in c alot of times to do runtime adjustments

#

and neovim uses it for configuration

robust lichen
#

this is me

robust lichen
#

irl

fallen isle
#

lol

#

why does it matter

#

what wedding

pliant swallow
#

ima go to San Francisco, California for a wedding soon

woeful salmon
#

@somber heath it was basically sitting with 100+ people i do know but never talk to and 1 cousin i do know while awkwardly looking around for 2 whole days

#

so yeah

#

the food was gr8

pliant swallow
#

oh fr?

fallen isle
#

insane

pliant swallow
#

i dont do anything

#

@woeful salmon can i get ss perms?

lethal thunder
#

give him owner rank^

woeful salmon
#

i'm unfortunately not a mod so i can't really do that 😦

#

ask @lavish rover

pliant swallow
#

oksay

#

he cant

#

eitherd

woeful salmon
#

ik

lavish rover
#

bruh

woeful salmon
#

i just wanted you to be included πŸ™‚

lethal thunder
fallen isle
#

i bid farewell

woeful salmon
#

yeah unfortunately i'm not turkish 😦

#

like mustafa

pliant swallow
#

i have a sticker but i dont know if its racist can yall tell me if it is?

#

idk

#

tho

woeful salmon
#

another good thing @somber heath i found out i fit amazingly well in kurta pajama

#

honestly was the best i'd ever looked in my life

placid token
#

hi
Can you help me
How did he do this
https://youtu.be/StmNWzHbQJU?t=254
YouTube
Engineer Man
Using My Python Skills To Punish Credit Card Scammers
Image
he select all the words
The same time

Here we go again, another day, another scammer. This time a scammer decided to use a live payment processor to test validity of cards to scam. Not very smart and he'll pay because of it.

Hope you enjoyed the video!

Join my Discord server and come say hi:
https://discord.gg/engineerman

Check out some code on my GitHub:
https://github.com/realt...

β–Ά Play video
woeful salmon
#

@lavish rover so you still working in amazon or you switched?

lavish rover
#

i started 2 weeks ago there lol

woeful salmon
#

i mean i remember you saying that you were looking at other offers

lavish rover
#

no i was just bored

woeful salmon
#

@somber heath dm me πŸ˜„ just curious

woeful salmon
spice cloak
#

@somber heath can you talk more

#

your voice

#

so soft

#

)

lethal thunder
spice cloak
#

I also like Noodles

robust lichen
spice cloak
#

@lethal thunder )) what s going on buddy

#

I gotta do more important things somewhere elses

#

adios

pliant swallow
#

cant

#

talk

#

here\\

#

i can talk in vc

rustic mantle
#

πŸ™‚

pliant swallow
#

hello

rustic mantle
stone pike
#

hello

oblique bough
#

Hello

#

I need help with a simple python program

#

Find the Middle of three using minimum comparisons

#

Sample Input : a = 20, b = 30, c = 40, d = 50, e = 60
Output : 40

#

@steel sluice @lethal thunder

#

Nom no list

#

I need to compare

#

and find

#

see the sample input

#

assign the values to a,b,c,d

#

not to the list array

#

@warm jackal need help

steel sluice
#
a = int(input("Enter a number: "))
b = int(input("Enter b number: "))
c = int(input("Enter c number: "))
d = int(input("Enter d number: "))

if a > b:
    a, b = b, a
if c > d:
    c, d = d, c
if a > c:
    a, c = c, a
if b > d:
    b, d = d, b
if b > c:
    b, c = c, b

not me, it's copilot

oblique bough
#

no numbers will be random

#

yes

#

nah man

#

that's too complecated

#

yes

#

yes

#

yes

#

but its' not the list

#

yes

#

it's interview question

#

yes

#

kinda

#

i'm not into interview

#

it's leetcode

#

question for my future interview

#

yes

#

Guys I'm here and i need Help @steel sluice @lethal thunder @warm jackal @late glade

#

i dind't get your answer

#

is there any VC where i can talk

lethal thunder
#

!voice

wise cargoBOT
#

Voice verification

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

oblique bough
#

it'll take 3 days

#

!voice

#

lol

#

!voice

warm jackal
#

In statistics, a moving average (rolling average or running average) is a calculation to analyze data points by creating a series of averages of different subsets of the full data set. It is also called a moving mean (MM) or rolling mean and is a type of finite impulse response filter. Variations include: simple, cumulative, or weighted forms (d...

oblique bough
#

def middleOfThree(a, b, c):

# Checking for b
if ((a < b and b < c) or (c < b and b < a)) :
    return b;

# Checking for a
if ((b < a and a < c) or (c < a and a < b)) :
    return a;

else :
    return c

Driver Code

a = 20
b = 30
c = 40
print(middleOfThree(a, b, c))

#

I found for 3, but I couldn't figure it out for 5 var

#

@warm jackal

#

He is like Elon musk's son name

#

x10an14

#

hehehe

#

🀣🀣🀣🀣

#

@lethal thunder

wise cargoBOT
#

Voice verification

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

lethal thunder
#

!coice

#

!coid

#

!code

wise cargoBOT
#

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.

oblique bough
#
def middleOfThree(a, b, c):
     
    # Checking for b
    if ((a < b and b < c) or (c < b and b < a)) :
        return b;
 
    # Checking for a
    if ((b < a and a < c) or (c < a and a < b)) :
        return a;
 
    else :
        return c
 
# Driver Code
a = 20
b = 30
c = 40
print(middleOfThree(a, b, c))


lethal thunder
#

an

lethal thunder
oblique bough
warm jackal
#
def median_of_any_number_of_elements(*input_elements):
    sorted_elements = sort(tuple(input_elements))
    median = sorted_elements[len(sorted_elements)//2]
    return median
warm jackal
oblique bough
#

bye bye

lethal thunder
spring dune
#

hey guys, it's been a while since i last been active in this server. hi again, opalmist

somber heath
#
Valloatsecourgondaroleitoncio Devon Gosp
Tele
Leafier Ched
Tiberiacantager
Alensly Jack
Affielemeddarmisedouse
Swalian
Requefal
Islard Hau Gawe Mona y Mar
Pave d'Aostralianith Fourcest Crustralianellano Rommertn
Tetithtvignotta
Estralian
Amer Bruns Protyram
Bryninost
Butto Regardo Egyptiazarelleydalenon a la dierioralivequet Stralettosterthur d'Aosteralive de Bleu
Regani Austrellage Mont-Piere
Olivettin de
Pyralivequish mi-A
Taladierne
Fiumi-Stillanshillattere Menottin
Emley Extral Tarrazskingotharponite Pont-Pineynia Doollouces
Meluth midde Chedderontabligno
Plymsborinkingot Farelpi Isle delo
Sonottings
Washir de Armigmoure Pyra
Alvecia
Flowerset Breshalloralieufchalian Chevrot
Ane Tarunlo Briege Chabichabecheddarmhouropam Belva
Myziegerbis a Australia```
#
Dunbery Stronnes
Sardalet Cenalan
Wens
Hushirene
Royalp Tau
Yarre a l'Aubbe
Dieur deddanchees
Dieuilla Feuille
Striege Druffe
Bano
Neuffalotte Gex
Estraliano Richk
Anne
La Valleno
Yarra l'Autu
Fermignollette
Raclet Ber j
Yarre-V
Style Ageddano
Austeriche
Kadc
Coldt Fouries
Meyeng Che
Buch
Aveynierit
Gueratyrintalette
Serreg
Adoberda
L'Ec```
whole bear
#

what are you guys talking about

#

@terse light

bleak bison
#

im still not allowed to speak for a couple of days

#

but hi lol

#

im trying to get stable diffusion to work in python 😭

#

I dont have a gpu either lol

#

I think im coming up on an understanding of how to get it to work but god i spent all day

#

nah its like 3 days dude

#

not rick

echo shell
#

test

bleak bison
#

rich

#

like cheeto

#

rich

#

Whattttt

#

Lol I guess I better get a new computer haha

#

Its okay i dont really mind the mispronounciation

#

my french friend is the reason i stopped going by richard

#

she kept calling me Rishart

echo shell
#

got you.

bleak bison
#

hey guy thats using stable diffusion

#

is that u steve

#

im going to add you as a friend then

#

I was doing some studying on machine learning using python

#

I really am going to need to upgrade with all these difficult mathematics

#

I am learning still

#

but i am coming from a pretty mathy angle

#

I do math for a living

#

i do calculation for cannons to properly shoot

#

cool

#

i used to hate math

#

but the job that i do kind of changed a lot of my perspective

#

its very easy to visualize this kind of math

#

yes that was what fascinated me with numpy

#

heres the kind of math i do on a daily basis

#

not interested in doing this kind of math for fun haha

#

I had a good idea but i need better processing power to make it work

#

what is my cheapest option for getting this to work quickly

#

steve do you want me to just call you personally

#

ok!

untold rain
#

Yo can I get help with something simple?

bleak bison
#

3 days

#

Its the blind leading the blind but whats going on

#

you're definitely fucked

#

jk

untold rain
#
print ("Please type your name: ", end = "")  
string = input()  
string_length = len(string) 
for i in string:  
    ASCII = ord(i)  
    print (i, "\t", ASCII)
timber lake
#

yes you can iterate string

bleak bison
#

c u later!

waxen galleon
#

anyone able to help me with that I cant figure it ou

trail mural
#

Johnny you can't figure out what?

trail coral
#

hello

#

I have problems with pygame

#

I installed it but this module doesn't work

#

idk why it's showing

waxen galleon
#

im trying to do this

trail coral
#

just wrong tabs between 11-12 line

waxen galleon
#

so they should be back more?

trail coral
#

yes

#

exactly

#

if you don't know how I can fix it

#

just send me your code, and compare mine to yours if you want

#

my question is

waxen galleon
#

ok

trail coral
#

what you want to achieve in this project?

#

what this program suppose to do?

waxen galleon
#

so it does that but does not repeat when it should?

trail coral
#

just copy the code

#

then I will try to fix that

#

okay?

waxen galleon
#

name = input("Enter your name: ")
print("SIMPLE CALCULATOR")
num1 = input("Enter First number: ")
num2 = input("Enter Second number: ")

user_input = "y"
while user_input == "y":
user_input = input("Would you like to go again? Y or N")
if user_input != "y":
break
math_type = input("Enter to Add '+' or Subtract'-' or Multiply '' or Divide '/' : ")
if math_type == '
':
r = float(num1) * float(num2)
elif math_type == '/':
r = float(num1) / float(num2)
elif math_type == '+':
r = float(num1) + float(num2)
elif math_type == '-':
r = float(num1) - float(num2)
else:
print("Failed. Only enter '*' or '/' or ''+'' or ''-''")
exit()
print(r)

print(f'{name}, the result is {r}')

trail coral
#

ok

#

wait some while

waxen galleon
#

ok man i appreciate it alot

trail coral
#

try to use Visual Studio Code, it's free programming IDE

#

It's very helpful

#

and I almost done

waxen galleon
#

ok ill try it out

trail coral
#

.
print('SIMPLE CALCULATOR')
name = input("Enter your name: ")

loop = True
while loop:
num1 = float(input("Enter First number: "))
num2 = float(input("Enter Second number: "))
math_type = input(
"Enter to Add '+' or Subtract'-' or Multiply '' or Divide '/' : ")
if math_type == '
':
r = num1 * num2
elif math_type == '/':
r = num1 / num2
elif math_type == '+':
r = num1 + num2
elif math_type == '-':
r = num1 - num2
else:
print("Failed. Only enter '*' or '/' or ''+'' or ''-''")
print(r)
exit()
print(f'{name}, the result is {r}')

user_query = input("Would you like to go again? (Y/N): ")
if user_query.lower() == 'y':
    print()
    continue
elif user_query.lower() == 'n':
    input('Hit [ENTER] to end this program.')
    loop = False #you can also write "while True:" instead "while loop:", which "loop" value is True,

in "if" block instead "loop = False" write "break" if you wrote "while True:" when you want to break loop.

#

here

#

try now

#

I could use "match/case" but I saw you're using website python interpreter, which have older verison of python

warm jackal
pliant swallow
#

@somber heath

#

do u believe in death?

pliant swallow
#

wtf

mortal sundial
#

how to do i get the role video to stream?

@midnight agate

pliant swallow
#

you

#

cant

#

oh nvm

#

i thought u meant screenshare

mortal sundial
#

u cant screen share either?

somber heath
pliant swallow
#

@midnight agate can u screenshare?

mortal sundial
#

ok'

pliant swallow
#

@somber heath correct

somber heath
#

Typically what will happen is that a voice chat regular admin/moderator will be in the voice chat, and you'll ask if it would be agreeable for you to stream such and such, and if it is, they'll give you the temporary ability to begin a stream. Keep in mind that you're asking them to watch you stream for moderation purposes.

pliant swallow
#

uhh

#

nothing

somber heath
#

Or they might say, "Sorry, not just at the moment" kind of thing or somesuch.

pliant swallow
#

@somber heath u a clown Clown

#

is this off topic @somber heath

#

changing my time no work

somber heath
#

@whole bear πŸ‘‹

whole bear
#

I wonder what is being in IT like? Is it difficult really hoping for the best

#

What channel?

#

Also opal mist what is working dev like does it pay more than business is it more fun to do?

#

Oh ok I assumed you were

pliant swallow
#

LOLLLLLL @somber heath

#

LMAOOOO

#

@robust lichen what did u make him do

robust lichen
#
def print_function():
    print("Hello, World")
print_function()
pliant swallow
#

LOLLLL

#

@robust lichen

#

can u test me again

#

@somber heath

#

can u quiz me

#

on python

#

im a beginner

#

i started 4 days ago

#

4 spaces i think

#

at the end of a function

#

and a loop

#

can i have a code question

#

no

#

like me have to write code

#

class

#

sorry what

#

i was not paying attention

#

no

somber heath
#

!d dict

wise cargoBOT
#

class dict(**kwargs)``````py

class dict(mapping, **kwargs)``````py

class dict(iterable, **kwargs)```
Return a new dictionary initialized from an optional positional argument and a possibly empty set of keyword arguments.

Dictionaries can be created by several means:

β€’ Use a comma-separated list of `key: value` pairs within braces: `{'jack': 4098, 'sjoerd': 4127}` or `{4098: 'jack', 4127: 'sjoerd'}`

β€’ Use a dict comprehension: `{}`, `{x: x ** 2 for x in range(10)}`

β€’ Use the type constructor: `dict()`, `dict([('foo', 100), ('bar', 200)])`, `dict(foo=100, bar=200)`
pliant swallow
#

oh ight g

#

say it again

robust lichen
#
def even_or_odd():
    is this bitch odd? or even?
    RETURN
even_or_odd()
pliant swallow
#

bro

#

wtf

final pagoda
#

based

#

I approve

pliant swallow
#

lemme go test

#

in

#

visual studio

final pagoda
#

best ide

pliant swallow
#
num = int(input("give me a number please "))

if (num % 2) == 0:
    print("even")
else:
    print("odd")
#

there

#

i think it works

#

i tested it

#

no?

#

is it on a website?

#

ohhhhh

#

wait

#

okay

#

then

trail mural
#

is_even_or_odd

#

return True or False

pliant swallow
#

kk

trail mural
#

from even import steven

somber heath
#

@pliant swallow "Write a function which accepts a single integer as argument and returns True or False depending on whether the argument given is even or odd. Name the function as appropriate."

whole bear
#
  slowprint("Hello Fisher! Welcome to the fishing empire!", 0.5)
  option = input(slowprint("Would you like a tutorial?[y][n]: ", 0.5))
#
Would you like to load a game[l] or start a new one?[n]
Answer: n
Hello Fisher! Welcome to the fishing empire!
Would you like a tutorial?[y][n]: 
None

somber heath
#

So when you feed that to input, it's like you're writing py input(None)

#

Put the slowprint call above the input call.

whole bear
#

i got it

scarlet vale
#

self.btn_clients = tk.Button(self.frame1,
                                   width = 40,
                                   height = 5,
                                   text = "Add client",
                                   font = ("Sans-Serif", 12, "bold"),
                                   fg = "white",
                                   bg = "cadetblue",
                                   relief = "raised",
                                   bd = "5",
                                   command = lambda:self.create_frame2())
def create_frame2(self):
        self.frame2 = tk.Frame(self.frame1, bg="light blue")
        self.frame2.pack(expand=True, fill='both')
        self.pack_forget()
        button = tk.Button(self.frame2,
                           text="Home",
                           width= 10,
                           height=2,
                           font=("Sans-Serif", 9, "bold"),
                           bg="white",
                           command=self.change_to_a_frame_from_frame2)

def change_to_a_frame_from_frame2(self):
        self.pack(expand=True, fill='both')
        self.frame2.pack_forget()```

Can someone please tell me why when the 'add client' button is pressed the frame doesnt wanna be created?
somber heath
#

!code

wise cargoBOT
#

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.

scarlet vale
#

sorry i have no clue how to add colours to my code on discord

#

is it just backticks?

#

ah ok

#

you see anything or do you want me to send you the whole code privately

#

you sound very muffled

#

its good now