#off-topic-lounge-text
1 messages · Page 8 of 1
take the input from the user complex number and the greater number between real and imagenery part
Hello how to download populair streaming sites?
who's is a beginner here and is in process of learning python
hey
Hello
man's really saying hi everywhere
Hi
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@sour tiger

bro what does x //= 10 mean?
can we share link here ??
no thanks
its not allowed sorry admin
hiii
Is there a community for pair programming here (working small coding challenges, working on projects,etc.)?
If so, could anyone point me in the direction of the correct channel?
hy guys
@night lily I am not yet voice verified so can't speak. I just joined this server today
hi guys any one know iqoptionapi library ?
hello
Hi, I would like to join a group like that,
but my level is beginner/medium
hey guys
may somebody helps me a bit?
i has some stuck with my test code
`#we read 4 lines
response = ""
while response.count('\n') < 4:
response += sock.recv(1024) <-- line 37
#print(response)
#print('')
#get rid of empty lines
responses = [json.loads(res) for res in response.split(',') if len(res.strip())>0]
pprint(responses)
job_id,prevhash,coinb1,coinb2,merkle_branch,version,nbits,ntime,clean_jobs = responses[1]['params']`
File "py_miner.py", line 37, in <module>
response += sock.recv(1024)
TypeError: can only concatenate str (not "bytes") to str
i was try to .decode() it but its fails to with another fault
job_id,prevhash,coinb1,coinb2,merkle_branch,version,nbits,ntime,clean_jobs = responses[1]['params']
ValueError: not enough values to unpack (expected 9, got 1)
.
.
any bit of help? any solution?
its simple cpu miner
to learn more about stratum protocol (bitcoin mining)
its their code
i has try to port it from py2 to py3
remote server that it polls, might've changed response format
it different on breaking bad
what about the soul?
No Category:
help Shows this message
send
Type !help command for more info on a command.
You can also type !help category for more info on a category.
eh ¯_(ツ)_/¯
привет
hey i always wanted to ask
what exactly do you guys even do in a python vc?
do u guys just chill or are u working on a project or something?
first -- usually; second -- rarely
hello nuraj how are you
I'm good and you?
Yes @old cradle
!e
print("hello nuraj bro")
@old cradle :white_check_mark: Your 3.11 eval job has completed with return code 0.
hello nuraj bro
!e
Hello Tomas bro
@magic ridge :x: Your 3.11 eval job has completed with return code 1.
001 | File "/home/main.py", line 1
002 | Hello Tomas bro
003 | ^^^^^
004 | SyntaxError: invalid syntax
It's not working @old cradle bro
!e
x = 1
y = 1
print(x+y)
@old cradle :white_check_mark: Your 3.11 eval job has completed with return code 0.
2
you should use print too
it's a python interpreter
Nice @old cradle bro
hi
Hello
which year?
What which year?
college or job?
which company
Where are you from?
delhi
where are you from
ma pani nepali ho nee bro
kathmandu ho nee
Mani Kathmandu nai ho yr
me too from kapan bruh
Okay
hi
how are you?
I am as always depressed ?
what are you upto?
its a channel for live coding so
i think its inappropriate to text random stuff here
Sorry for that.
I am new in this channel so I haven't much idea.
If there is random channel
to talk like this
please ping me ok.
ah its fine
Thanks!
Guys, do you know if is it possible to search one word across a text line more than one time? I mean, if I have GATAGATGGACTATAAGATGATATAAGA and use find on TATAA it will tell me the index corrisponding only to the first TATAA, but I want to know all the positions.
hope this is a right channel to ask
Yes
How can I do that?
just type it
i guess it wil give the result of this log text
u've written
import re
teststr = 'GATAGATGGACTATAAGATGATATAAGA'
pattern = 'TATAA'
matches = re.finditer(pattern, teststr)
number_of_matches = len(list(matches))
print("Total number of matches:", number_of_matches)
Anyone around? I am trying to do a POST request to an API to upload a file... I think I really just need help understanding the API (https://doc.nitrado.net/#api-Gameserver-GameserverFilesUpload). I successfully do a POST to the API and I get a 201 status code back but the API says I should get a 200. but regardless I get the response back that they say I should.. This is from their docs json HTTP/1.1 200 OK { "status":"success", "data":{ "token":{ "url":"http://dev001.nitrado.net:8080/upload/", "token":"8c3ff9b4-b222-4d30-87ae-9dd6a7c0d1d7" } } } the only difference is mine is a 201 and not a 200. but the file on the ftp server isn't changed after the request. Is there something that I am supposed to do with the URL and TOKEN that I receive from the original post request?
ok, but I need to know where (index) are all my TATAA sequences. I aim to an output like: first TATAA appear in index 34, second TATAA appear in index 49 etc..
Maybe a loop where the system slices the sequences by 1 from 0 and find(mysequence) every time by the lenght of my sequence could work, but don't know imma try myself
text = 'Allowed Hello Hollow'
index = 0
while index < len(text):
index = text.find('ll', index)
if index == -1:
break
print('ll found at', index)
index += 2 # +2 because len('ll') == 2ll found at 1
ll found at 10
ll found at 16
I found this online
The match.start() method returns the starting index of the match, and you can iterate through all the matches using a loop and print their respective indices. This code will output:```python
import re
teststr = 'GATAGATGGACTATAAGATGATATAAGA'
pattern = 'TATAA'
matches = re.finditer(pattern, teststr)
for match in matches:
start_index = match.start()
print(f"'{pattern}' appears at index:", start_index)
'TATAA' appears at index: 21```
Thx bro, I didn't know that command
your good! we are all learning!
now I am trying to do an input command for pattern(s)
like this? ```python
import re
def find_pattern_occurrences(text, pattern):
occurrences = re.finditer(pattern, text)
return [match.start() for match in occurrences]
Get input from the user
text = input("Enter a text: ")
pattern = input("Enter a pattern: ")
Find occurrences of the pattern in the text
occurrence_indices = find_pattern_occurrences(text, pattern)
if occurrence_indices:
print(f"Pattern '{pattern}' found at indices: {occurrence_indices}")
else:
print(f"Pattern '{pattern}' not found in the text.")
man you are a genius
hiii
hi
comments lead me to believe that this is !rule 10
what is !rule 10?
ur rule 10
no gpt lol
why ???????????
not work
you're installing for 3.10, but vsc uses 3.11
I have to install vsc 3.11?
ctrl+shift+p
select interpreter
i love uuu <33333333 thx bro
Can anyone who may have saved some of my work help me get it back?
@glad topaz did you do algo trading ?
no lol
in college ?
yeah
Stocks Ratios
@glad topaz @sonic pasture bye guys
hello!
hello!
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
defaul
idk then soz dont remmeber changing it
yeah it is
Can someone help me with the dictionary usage in Python.. trying to use a dictionary/list to modify variable value, but I am missing the basic syntax usage rules can't figure out why.. https://discord.com/channels/267624335836053506/1147586084721676318
Exception has occurred: TypeError (note: full exception trace is shown but execution is paused at: _run_module_as_main)
replace() argument 2 must be str, not Series
File "C:\python\Scripts\BW_Translate.py", line 60, in <module>
AcctName = AcctName.replace(key,value)
to replace a dict value you would call its key value
dict['key'] = value
this assigns a new value to that key
Any lua gods?
Im trying to run a function in a different file, but the filename is the same as the plugin name, so when I require it, it is requiring the plugin file instead
Leetcode is my religion
-- Gi classic banter
hey guys
Hey
silent gang
i am here to learn guys i love to get your helps
mailing scripts 😢
type MyType = {
Value: number;
}
function beans(a: MyType) {
console.log(a.Value);
}
beans({
Value: 5,
Value2: 7,
});
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.
Gotta make some lunch here. Cheers
Back in a sec, have to migrate someone's computer.
Not far off, honestly
They're moving out of one office into another
Hi, I am finding this erro
AttributeError: 'int' object has no attribute 'next'
please help me out
does anyone familiar with code Wars problem solving
I've solved a bit there, not very much. Why?
@chilly spear I mentioned the NDVI index
for vegetation
about my microphone yes.. it's not the best
okay my thing is solving all of them...
import json
import os
from libs import solver
class Data:
dirs_path: str
dirs_key: str
strings_path: str
samples: list[str]
strings: list[str]
data = Data()
data.dirs_path = "./dirs.json"
data.dirs_key = "samples"
data.strings = []
data.strings_path = "./strings.txt"
def get_samples_directories():
with open(data.dirs_path, "r") as f:
samples_path = dict(json.load(f)).get(data.dirs_key)
samples = [os.path.join(samples_path, sample) for sample in os.listdir(samples_path)]
data.samples = samples
def get_texts():
for i, sample in enumerate(data.samples):
print(" "*54, f"{i}/8049", end="")
data.strings.append(
solver.get_answers(sample)[0][1]
)
def save_strings():
with open(data.strings_path, "w") as f:
f.writelines((f"{s}\n" for s in data.strings))
def main():
get_samples_directories()
get_texts()
save_strings()
# print(*data.strings, sep="\n")
if __name__ == "__main__":
main()
oh no looks like my solver doesnt remove image cash
ohno
anyway
still better than how i code
got them, sadly cant upload
what do you guys doing

Yo. So unfortunately, since you're still fresh to the server, I typically don't grant streaming role. Typically. What're you working on currently?
i am learning python i started today im learning basics like, if, etc
and i do need help sometimes
so i though i could request help
if i cannot continue
just streaming for fun
is it ok if i share for bit? or smth im on vc called live coding, if not then how can i achieve the role?
Oh for sure. I'm happy to help when you need it. And I try to grant temporary/probationary stream permissions after we get comfortable with folks
kk thanks do iachieve role by spending more time here?
You can see the details on the voice role by checking out the #voice-verification channel
That'll tell you about the voice gate specifically
oh thanks
For the streaming, I typically grant it on an as needed basis when people want/need help or are wanting to show off their code and what have you
As we see that people can be responsible, we grant them the permission for a probationary period (typically 3 weeks). And if they show to be responsible after that, perma
Have a good one
car = 400
plane = 100
if car > plane:
print("car is greater than plane")
am i allowed to send codes here
Of course. You'll use the built in markup that Discord has
uh
i forgot the py half the times
Oh it's the backtick, same key as the ~, next to 1 on the number row
On US keyboards, anyway
!code
~car = 400
plane = 100
if car > plane:
print("car is greater than plane")
'
print('Hello world!')
`
And then the closing 3 ticks
copy 3 of thse
Yeah it's annoying at first
kk
car = 400
plane = 100
if car > plane:
print("car is greater than plane")```
like this
Boom
print("Hello world")
Yeah that's an unfortunate thing- HA
u sure they arent hidden?
hi
No worries
!code
plane = 100
if car > plane:
print("car is greater than plane")```
no code
The py has to be next to the first 3 ticks, no spaces on either side
And the code needs to be on the following lines
But yeah, you don't need the !code
That's just for brining up the embed
choices = get_choices()
result = check_win (choices["player"],choices["computer"])
print (result)
car = 400
plane = 100
if car > plane:
print("car is greater than plane")```
could this be correct
to do what
yea its right
else if
oh thanks
u could this do this aswell
car = 400
plane = 100
if car > plane:
print("car is greater than plane")
else:
print ("plane is greater than car")
car = 400
plane = 100
if car > plane:
print("car is greater than plane")
elif car == plane
print("car and plane are equal")```
oh
u just have 2 things
if the first isnt right just do else
or elif
also wrong indentacion
Anything in a if elif else chain need to be on the same margin line
im still learning but i like cs50
And that's why we're here to help
the guy is good at explaining
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
I typically recommend "A Byte of Python", which is free on its respective site.
There's also youtube channels that are solid if that's more your style
there is also a cs50 focused on python
And of course, you can always ask us here and we can help explain concepts and what have you
Oh neat, I didn't know that
I always thought it was just a section of CS50 rather than the whole thing
Learn Python programming from Harvard University. It dives more deeply into the design and implementation of web apps with Python, JavaScript, and SQL using frameworks like Django, React, and Bootstrap. Topics include database design, scalability, security, and user experience. You will learn how to write and use APIs, create interactive UIs, a...
on the normal cs50 yea
but this one is more indepth
and i like the muppets
Very cool, I'll have to bookmark that
car = 400
plane = 100
if car > plane:
print("car is greater than plane")
elif car == plane:
print("car and plane are equal")```
Muppets are always a plus
why do u have elif car == plane:
it says equal
nvm
u can now do a else to make plane > car
An else would cover that case, yeah
Since if it's not bigger or equal, it'd have to be smaller
car = 100
plane = 100
if car > plane:
print("car is greater than plane")
elif car == plane:
print("car and plane are equal")
elif car < plane:
print("plane is greater then car")```
is there a problem if u dont end a if with else? @buoyant kestrel
u dont need elif car<plane
hm
or a else
if its the final
i got it
lemme try
car = 100
plane = 100
if car > plane:
print("car is greater than plane")
elif car == plane:
print("car and plane are equal")
else:
print("plane is greater then car")``` still didnt do something correct
do u have python in your pc?
I do love me some madlibs
and a f string
car = 100
plane = 100
if car > plane:
print("car is greater than plane")
elif car == plane:
print("car and plane are equal")
else:
print("plane is greater then car")
it doesnt work
oops i forgot ``````
here
i have a extension that makes indent more collorfull
its inside now
may i see it
btw
here
car = 200
plane = 100
if car > plane:
print("car is greater than plane")
elif car == plane:
print("car and plane are equal")
else:
print("plane is greater than car")```
btu it still doesnt work
im trying to figure out why
it works
dont i have to do else car < plane and then print inside of it
says car and plane are equal
wth
it doesnt for me
lemme retry
yay
it works
should i make it more difficult?
aadding one more
want me to share screen in dms i wont talk my mic broken
hemlock is it ok if i add u friends
!stream 724651365531385919
✅ @jaunty robin can now stream until <t:1694535576:f>.
u could make it prettier and shorter
about your ear?
no
about last part "else"
the equal thing
im so confused help
car = 100
plane = 100
jayy = 100
if car > plane and jayy:
print("car is greater than plane and jayy")
elif plane > car and jayy:
print("plane is greater than car and jayy")
elif jayy > plane and car:
print("jayy is greater than plane and car")
else jayy```
idk last part
to do equal
what do i do?
else
ok
thanks
yay
works
thanks
car = 150
plane = 200
jayy = 100
if car > plane and jayy:
print("car is greater than plane and jayy")
elif plane > car and jayy:
print("plane is greater than car and jayy")
elif jayy > plane and car:
print("jayy is greater than plane and car")
else:
print("car, plane, jayy are equal to eachother")```
hemlock
So minor issue
oh
kk
do i unshare
or what
or am i able to keep sharing
will redo this to make sure i memorized the code
You can keep sharing. The time is just to give you prep time to start streaming and to keep you from streaming again once you're done
That's a good policy. Hey your hands comfortable with typing all that
done
im used
to typing
lol
thanks
works
huh
i dont got any idea
about these
can u teach me
?
yea
i got idea
lemme try it
uh
how do u do when u ask how old am i
and it answers
with number
a = input
hm
then u print a
kk
your printing the letter a
kk
i wrote code hour or two ago
similiar
i cant remember
friend of mine helped me
do print(a)
aa
kk
done
its my first time using input
i started learning today
just hour or two ago
how do i do so it answers
Install code runner
the question "how old am i"
Extension
what is that
in the same place
installing
You can see run button on up right hand side
done
poor guy getting 5 milliong things
dont ddos yourself
Ok
huh ddos?
kk
at the bottom
yea
oo
it gave u the response that u gave it
@buoyant kestrel teaching him input
sorry i dont hear well
Very good
try and type 2.4
2.4?
yea when it ask for age
So when you did print("a"), it is printing the string literal "a"
Not the variable a
Yes
Yeppers
It's a variable
it works
i was expecting to break couse its a float xD
a
So anything that you send into input() will always be recorded as a string
Always always
oo ok
And you have to convert it yourself if you want it to be a different type
@jaunty robin buddy you watch the tutorial
Did we explain the and gotcha?
watching now
huh
When checking if something is equal to one thing or another, you might think that this is possible:
# Incorrect...
if favorite_fruit == 'grapefruit' or 'lemon':
print("That's a weird favorite fruit to have.")
While this makes sense in English, it may not behave the way you would expect. In Python, you should have complete instructions on both sides of the logical operator.
So, if you want to check if something is equal to one thing or another, there are two common ways:
# Like this...
if favorite_fruit == 'grapefruit' or favorite_fruit == 'lemon':
print("That's a weird favorite fruit to have.")
# ...or like this.
if favorite_fruit in ('grapefruit', 'lemon'):
print("That's a weird favorite fruit to have.")
let me know when you're done with the vid and we can reup it
oh kk
Take time is long video gave a week daily 2 hrs
Oh right right
You will understand basic in starting 2-3 hrs
It's also have notes you will like it
Ehhhh
Good luck
Learn Python programming from Harvard University. It dives more deeply into the design and implementation of web apps with Python, JavaScript, and SQL using frameworks like Django, React, and Bootstrap. Topics include database design, scalability, security, and user experience. You will learn how to write and use APIs, create interactive UIs, a...
cus
this one better
when its explained here in text its ez
I still recommend sites and books
I don't do well with vids
lemme watch this one
different people
reading something isnt for me
Exactly
This also good
To each their own
They also provide certificate
is reading on site allowed while sharing?
Oh sure sure
oo thanks
!stream 724651365531385919
✅ @jaunty robin can now stream until <t:1694537772:f>.
The classic Monty Python's Flying Circus Argument Clinic sketch. A man goes in to the Argument Clinic to have an argument. This is the full version of this sketch.
All good
CAN
Looking
Scroll up to the very top of the page
Top left hand corner
The A
Yeah you got it
Now you can run that file check out run button
?
!stream 724651365531385919 30M
✅ @jaunty robin can now stream until <t:1694539677:f>.
yo whats this
wth
something they are talking about
what is debug
i meant
where is debug and run
wheres debug
my sound
is broken
the red arrow next to name
Click that arrow
That's a breakpoint
That tells the debugger to stop at that line so you can see what's going on in the program
the name part so confusing
But in our case, we don't need to worry about that
in book
Check there is drop down arrow like it can run python file
sec
So the name thing
yh
When you were doing name + ... and it was throwing an error, it was because name was not defined ahead of time
So it didn't know what you meant by name
oh
When we add name = "blah" above that, then it knows
The book kind of expects you to follow along with all the input so that you have those things ready to test and play with
ok
Try this
?
Weird
Either way, that's the selection I'd use for this for now
Debugging adds some extra things running that you don't need to worry about at the moment
I'm dumb
I totally forgot the little play button in the top right hand corner
Thanks to Torbjorn for reminding me
Yeppers
kk
got it
how do i make so "enter your ussername" and u can answer it with ur name after
.
input?
input('Enter your name: ')
Any argument you give input will show up as your prompt
Any time you do an input, you have to make sure you have something to catch it
Yep
Remember, one equals sign (=) is assignment, two (==) is comparison
huh
go to first line
wait
kk
and do a = input
you can use this everytime
kk
what you want to do
hmm
tor my soundis broken
remember lol
i dont hear well
are u able to make some kind of tab?
box
small box*
In terminal or as a separate window?
Terminal
means
Hands down
u can make a madlibs, which is a few sentances and take some words out and ask the person what those words are and check if they are right or wrong
I may be thinking a different thing
i wanna make small box saying enter ur name and age
a actual window?
---
Enter your name:
---
Something like that?
tkinter
Just put prints between your inputs
from turtle import *
hideturtle()
color('black', 'green')
def left_turn():
for i in range(10):
forward(15)
left(9)
def petal():
begin_fill()
left_turn()
left(90)
left_turn()
left(90) # Line added
end_fill()
for i in range(50):
petal()
right(36/5)
bye()
wth
Like a new print between the two input statements
Or around it, however you want it to look
YO WTF
CAN I LEARN THIS LOL
Of course
yes
if u wanna mess with the code, change the left or fowards numbers
Debug will make it be slower
.
Ooo pretty
Yes
ay
do # before the hiddleturtle line
Import random
?
run it for now
dont ask me
excellent exercise to understand the POO
from random import randint
r, g, b = [randint(0, 255) for _ in range(3)]
pencolor(r, g, b)
Something like that, but in the loop
You'd have to do the rest
input
uhh
input("Please enter your username: ")
But assigned to something
If that's what you meant
the turtle isnt moving couse u didnt give it commands
Hold on, I'll modify Tor's code
from random import randint
from turtle import *
hideturtle()
color('black', 'green')
def left_turn():
for i in range(10):
forward(15)
left(9)
def petal():
begin_fill()
left_turn()
left(90)
left_turn()
left(90) # Line added
end_fill()
for i in range(50):
r, g, b = [randint(0, 255) for _ in range(3)]
fillcolor(r, g, b)
petal()
right(36/5)
bye()
Think that'd work?
Well we got sidetracked with Turtle
my brain ded
And it's alwasy good to sleep on stuff, let it soak in
Regular breaks are helpful
My bad
a
But I think we're getting side tracked from the basics
I'd say back to A Byte of Python for now
Can futz with turtle more later
a good thing to learn is def
FINISHED!!!
def?
ask mr.hemlock
@buoyant kestrel
Python > Excel
u should go back to python basics @jaunty robin
Yeah, A Byte of Python will cover functions (which is what def is for)
get indent rainbow interface
!e py def func(): # I create a function object and point the variable, func, at it print('Hello, world.') # I here say what this function does when it is run/'called' print('Goodbye.') #Function ended. Note the indent levels. func() #I call/run the function.
@night lily :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | Hello, world.
002 | Goodbye.
i mean extensions
!e
classes are cooler though (practically a function with more steps and more functionalities)
code
!eval [python_version] <code, ...>
Can also use: e
Run Python code and get the results.
This command supports multiple lines of code, including formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.
If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.
Currently only 3.11 version is supported.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!
..
And are often overkill for simple things
yes
Which isn't helpful for teaching folks the basics
hemlock is it ok if i reshare
Reshare?
Oh yeah
!stream 724651365531385919
✅ @jaunty robin can now stream until <t:1694541258:f>.
Or did you mean like later
!e ```py
def func(parameter):
print(parameter)
argument = 'Hello, world.'
func(argument)```
@night lily :white_check_mark: Your 3.11 eval job has completed with return code 0.
Hello, world.
thnks
Yarp
no rn
Righto
what u want
Functions can have a sort of "inbox" or "inboxes", called 'parameters'.
So def is used for making functions
with print or input
Functi- Opal is beating me to it
practice

To these parameters, we give arguments. Objects given to the call to that function.
I declare Opal as my official assistant in my sted
with def u can make custom functions
definitely
so if your doing something over and over, make a function that does that for u
@jaunty robin try and look at this and see what it means
import random
def get_choices():
player_choice = input ("Enter a choice (rock paper scissors:")
options = ["rock","paper","scissors"]
computer_choice = random.choice(options)
choices = {"player": player_choice,"computer": computer_choice}
return choices
def check_win(player,computer):
print (f"You chose {player}, computer chose {computer}")
if player == computer:
return "Its a Tie"
elif player == "rock":
if computer == "scissors":
return "Rock destroys scissors! Player wins"
else:
return "Paper destroys Rock! Player losses"
elif player == "paper":
if computer == "Stone":
return "Paper destroys Rock! Player wins"
else:
return "Scissors destroys Paper! Player looses"
elif player == "scissors":
if computer == "Paper":
return "Scissors destroys Paper! Player wins"
else:
return "Rock destroys scissors! Player looses"
choices = get_choices()
result = check_win (choices["player"],choices["computer"])
print (result)```
NAH WHAT
!e ```py
def func():
return 'Hello.'
print(func())```The call of a function is replaced by the object given to return, within the function.
@night lily :white_check_mark: Your 3.11 eval job has completed with return code 0.
Hello.
This is like the function's "outbox"
u can pretty much read the code
new tab, u mean new file?
import random
while True:
result = random.choice(['win', 'lose'])
input('Rock, paper or scissors? >')
print(f'You {result}!')```
u can see def check win, checks if u win or loose, and def get choices gets the choices from the player and computer
All functions that complete return.
If nothing is explicitly given to be returned, None is returned.
i'd say go learn the basic before u make any game
YOO PING PONG GAMAE
!e ```py
def func():
print('Hello!')
result = func()
print(result)```
im js doing it for fun lool
@night lily :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | Hello!
002 | None
It is in this way important to recognise the distinction between printing and returning, because in some cases, it can be difficult to see the difference.
Do you have any questions about def so far?
Very well.
i go sleep
i dont think hes paying attencion
Get some rest
cyaa

hey
hes busy in another vc
Once you're voice verified, I don't mind.
