#voice-chat-text-0

1 messages · Page 750 of 1

rigid shell
#

I tried learning Klingon in their app, but I was not that succesful

willow light
#

Good thing I have two streak freezes equipped, but I’ll be practicing German later anyway

viscid perch
#

yes but it holds students for experimenting, so if you ever worked with turbo c++ it the most stupid editor, if she allows me to use VScode i can experiment many thing in very short span of time since it autocomplete and all sorts of good things , now in my class i just want to complete the day's experiment and leave the class.

faint ermine
rigid shell
#

I am german native. I just can not recommend German as easy to learn. Try something different like spain etc.

whole bear
#

I love him

#

my rolemodel

faint ermine
#

hell im supposed to be a native speaker and i make more mistakes in german than english.

willow light
somber heath
willow light
#

We recently found out we still have German cousins that survived the 1940s, so I’m learning German so I can communicate with them better.

rigid shell
#

If I could choose, I would select english as my native language and payed attention in school in spain or french. If you know latin your live will be easier by far

willow light
#

I also find German grammar to be interesting, from an academic standpoint.

rugged root
#

He is truly a feyn man

somber heath
faint ermine
somber heath
#

But then I don't speak German.

rigid shell
#

My english texts in school have always been better than in my native language German

gentle flint
willow light
#

I’m a native English speaker, but unfortunately it is New Hampshire English. @faint ermine and @rigid shell probably speak English better than I do.

faint ermine
rugged root
#

Laund, I have no idea if a spinning banana is good or not

#

Or if I should take it at its potassium based face value

gentle flint
faint ermine
#

@rugged root i mean i explained it in a staff channel a while ago, have fun finding it ;)

whole bear
#

Rather than trying to understand it, it is much easier to hate and condemn it

rugged root
#

I'll just assume that all bananas on my messages mean I'm the funniest man alive

rigid shell
#

:). But if you like to learn a new language just go. I think it is to have the passion to do so and succed. And to order food in a restaurant in the contries language is fine.

faint ermine
#

@rugged root its a ack

#

basically

rugged root
#

"ack"?

willow light
#

I forgot who said it, but one of my favorite quotes is “In America, the rule is your expertise is equally as valid as my ignorance”

faint ermine
#

¯_(ツ)_/¯

somber heath
#

Mars Attacks.

gentle flint
rugged root
#

No, I'm convinced Opal is correct

#

And we have just learned that Laund is a martian

gentle flint
#

acknowledgement

#

surely you know that

rugged root
#

Nooooope

#

Alien

gentle flint
#

o
k
then

faint ermine
somber heath
#

We're all space dust.

gentle flint
restive geyser
#

like irregardless

#

lel

rigid shell
#

@willow light 👍 If you visit Germany after Covid you will notice that the German Pünklichkeit belongs to the past and most people in northern Germany are impolite and unfriedly

willow light
#

Then I’ll feel perfectly at home, because that’s what Boston is like.

#

But I’ll probably be visiting my grandfather’s old home in Munich

faint ermine
willow light
#

Hey, at least you have trains at all!

viscid perch
#

problem is when language becomes status symbol

gentle flint
#

half till three.
you mean half past two
Dutch does the same as German
half drie

faint ermine
gentle flint
#

oof

restive geyser
#

hiiii

gentle flint
#

I mean, honestly, I had exactly that situation when I was gonna take the Thalys from Amsterdam to Paris

#

except a little worse

rigid shell
#

With our actual econimical situation I should rather advert Germany: We have great beer, great sausages and great cars

gentle flint
#

great sausages made by the same firm as the great cars

rigid shell
#

probably, but you are allowed to drive as fast as you want on our highways.

faint ermine
faint ermine
#

on some* highways

rigid shell
faint ermine
willow light
#

I’m sitting here wishing I was in Germany, if only because the whole reason my family is in America right now is that Papa Sarstedt had to get the hell out in 1937.

#

for political reasons

#

I’ve heard it is much better there now.

whole bear
#

Giving instructions to computer

faint ermine
willow light
#

We’re trying to find paperwork proving that it was political (although it should be fairly obvious) because then we can reclaim German citizenship.

rigid shell
rugged root
faint ermine
willow light
faint ermine
rigid shell
willow light
faint ermine
#

oh lmao i thought you meant a piece of it thats still standing in its original spot

willow light
faint ermine
willow light
#

It has been a very rough four years for me.

#

But that’s a little too political for this discord haha

lethal crest
#

hello

willow light
#

As soon as the borders reopen, I’m taking a weekend in Quebec. It’s a four hour drive north, so that’s a good day trip.

rigid shell
willow light
whole bear
#

So Dark

#

Lol

rigid shell
faint ermine
#

well i wish you best of luck @willow light

willow light
faint ermine
#

its not the best but it sure is better than the US

lethal crest
#

hello, i have a coding question

rigid shell
viscid perch
#

i guess you can buy citizenship in cyprus and get into EU

rigid shell
rigid shell
willow light
#

Yeah, which is why the primary method we’re using is to try to get repatriated through what we can find of Papa’s old documents.

restive geyser
#

"Vertical Video Ep. 2: Putin's Hybrid Regime - YouTube"

lucid mountain
#

Yep

lethal crest
willow light
#

I mean, technically I already qualify for Norway through my grandmother, but I really want the EU. Not too picky where my citizenship and residence in the EU would be, but I would prefer Germany for family reasons.

sage holly
faint ermine
lucid mountain
#

Yep

#

😂

rigid shell
lucid mountain
#

Sublime text

sage holly
#

?

#

Why

#

I

#

think

rigid shell
rigid shell
sage holly
#

ok

#

nerer

#

never

#

mind

willow light
cloud rune
#

@rugged root it didn't worked

willow light
#

But the family originally came from Sarstedt

#

Although no one in the family have lived there since the 1860s

cloud rune
#

😫

rugged root
#

Hmm

#

Well that sucks.

cloud rune
#

bashing my head for 4 days

willow light
#

@rigid shell We have a picture hanging up of where my grandfather grew up. The building, and street for that matter, were so thoroughly destroyed in the war that it’s a public park now.

cloud rune
#

i should sleep now or will get insane

rugged root
#

Yeah, better to tackle it when you're refreshed

molten pewter
#

Does your rick roll script detect this? https://www.youtube.com/watch?v=I6OXjnBIW-4&t=23s

Reggie Watts recreates one of the seminal YouTube videos of our time.

Watch more YouTube YouTube Music Awards videos at http://youtube.com/musicawards

If you would like to Reg Roll someone, simply download this link: https://vimeo.com/68257755

SUBSCRIBE to Reggie's channel here: http://bit.ly/REGGIEsubscribe

CHECK OUT THE REST OF JASH:

JASH...

▶ Play video
restive geyser
#

-humble brag-

#

LOL

rigid shell
#

My family is originally from Wroctaw in Poland and Stettin before it became poland. After the war a lot of families had to relocate

willow light
#

Mom and Dad recently visited the site. It was hard to find because the entire street grid was completely erased and then redrawn

olive hedge
#

Jimmy and Paul Rudd do a shot-for-shot remake of the classic 1985 music video for British band Dead or Alive's "You Spin Me Round (Like a Record)."

Subscribe NOW to The Tonight Show Starring Jimmy Fallon: http://bit.ly/1nwT1aN

Watch The Tonight Show Starring Jimmy Fallon Weeknights 11:35/10:35c
Get more Jimmy Fallon:
Follow Jimmy: http://Twitt...

▶ Play video
rigid shell
willow light
#

“Nice grids”

Ever seen a street map of Boston?

somber heath
#

Aperiodic.

#

Stochastic.

#

Convoluted.

willow light
lucid mountain
#

Same here

whole bear
#

Was but getting warmer by days

rigid shell
somber heath
#

Easter omelette.

willow light
#

My favorite way to describe navigating Boston is thus:

“Stick to Comm Ave, Mass Ave, and Dot St if you’re a tourist. If you’re a local, just use your friggin CharlieCard.”

somber heath
#

It's for travelling by rainbow.

#

Like a unicorn.

restive geyser
#

charlieeee

#

lololol

willow light
#

Named after the song about the guy who didn’t pay enough, and thus wasn’t able to get off the train.

Back when you had to pay to get off the train.

rigid shell
restive geyser
#

is it pink or is it fuschia

olive hedge
#

enough of this seblantics

willow light
#

It’s probably pink. Fuchsia is an OS last I checked

somber heath
#

"Welcome to The Railway California" 🎵

restive geyser
#

*fuchsia

#

LOL

#

fuchsia is purple-y

willow light
#

“Charlie handed in his dime; at the Kendall Square Station; And he changed for Jamaica Plain; When he got there the conductor told him,; “One more nickel.”; Charlie could not get off that train”

#

That’s the song.

#

Back in the good old days when a fare was $0.10 instead of the current $2.40

whole bear
#

But Hot Cocoa Milk is good for sleeping they say

#

what's that about?

restive geyser
#

because of the warm milk lol

willow light
#

I usually go for hot milk with honey and kava extract...

rigid shell
# willow light “Charlie handed in his dime; at the Kendall Square Station; And he changed for J...

your public transport has got a nice song? ours just ugly: https://www.youtube.com/watch?v=YEYim54pJ00 yes it is the official song of the berlin public transport

bei mir läuft nicht, bruder. bei mir fährt. isch hab video mit BVG gemacht.

egal, wen du bist. hier geht's zu facebook von BVG: http://facebook.com/weilwirdichlieben

▶ Play video
willow light
#

Our public transport songs are mostly protest songs about the rising prices.

restive geyser
#

we don't have public transport songs. we just have rappers do the subway announcements. lel.

willow light
#

I’ve been on the Berlin public transport, and it is much nicer than the Boston MBTA.

Then again, if you have a functional nose, walking is much nicer than the Boston MBTA.

#

As I told my Norwegian cousins when they visited a few years ago “you get used to the smell of urine after a while”

faint ermine
rigid shell
olive hedge
restive geyser
#

it's all the mercury in the fish duh xD

willow light
#

No, Atlantic mackerel actually has the lowest mercury content of all fish.

rugged root
#

They haven't been to space

olive hedge
#

The mercury goes straight to the brain, delicious

faint ermine
rigid shell
#

if you are taking the BVG every day you will know why it is funny

willow light
#

I eat a lot of tuna, so when I took Environmental Pollution in college, Dr Obrist took hair samples from the whole class and tested them. I was an order of magnitude higher than the rest of the class combined for my mercury levels.

faint ermine
rugged root
#

I just really don't like tuna

#

I think I got turned off of it due to the canned stuff

willow light
#

Supermarket sushi is what brought my levels so high.

restive geyser
#

mmm i want sushi

rugged root
#

I loooooooooove eel sushi

olive hedge
#

Eel is D tier sushi

restive geyser
#

lol of course you like the cooked one

#

xD

#

it's ok. more for me. ❤️

#

😐

lucid mountain
#

😐

olive hedge
#

Uni

whole bear
#

😐

rugged root
#

I think it's the eel sauce that does it for me

#

So good and sweet

whole bear
#

Im surpressed

lucid mountain
#

Akee

somber heath
#

Yeah...kill the animals you're eating, first.

#

Otherwise it's just cruel.

whole bear
#

Yes

willow light
somber heath
#

Ungh.

restive geyser
#

mmmm that's the best. when it's fresh

willow light
#

Then again, I usually cook lobster by taking them directly from the boat and into the pot of boiling water head first.

restive geyser
#

lol y'all haaaatin'

somber heath
#

Quick slaughter or fuck riiiiight off.

lucid mountain
#

Torture

whole bear
#

Imma go back to learning how to make a disc bot peace

lucid mountain
#

RedDeadRedemtion 2

willow light
#

The other argument I use when I defend my continued consumption of meat: Vitamin B12

It is almost impossible to get Vitamin B12 without eating meat.

restive geyser
#

<.< y'all don't eat live oyster...

willow light
olive hedge
#

I am very engaged with this convo, but gotta go :C byesies

restive geyser
#

laters fisher

#

lOL

dire folio
willow light
#

I have a question for those who have moral reasons to not eat meat: what about lab-grown meat?

rigid shell
rugged root
stuck furnace
#

Hey everyone 😄

somber heath
#

@rugged root Miniature giant space hamster wheel.

restive geyser
#

hi lx ^^

whole bear
#

I am DC not Marvel

rugged root
#

It ruins the flow of conversation history

#

And drives me crazy

digital leaf
#

what are we talking about?

west knot
#

astou sim?

digital leaf
rugged root
#

Weather data now

#

We've been hopping around pretty rapidly

west knot
#

Holding on...

stuck furnace
#

Do it

#

Aw

faint ermine
#

!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.

stuck furnace
#

The backtick?

candid venture
#

@rigid shell

somber heath
#

If something was a bacle, does that mean it ran smoothly?

stuck furnace
#

Can you be sheveled?

#

Or whelmed.

heavy nacelle
#

@faint ermine you got a second bro?

#

i'm in voicechat

#

1

west knot
#

i can help u with flask

#

its the protocol

somber heath
#

He is thinking. He is the physical embodiment of the concept.

willow light
#

Oof

west knot
#

Deep...

willow light
#

Thinking is dangerous

restive geyser
#

so is not thinking. xD

west knot
gentle flint
restive geyser
#

there are degrees of truth

stuck furnace
#

It's just logic, but propositions can be partially-true.

#

How does AND work?

#

Don't ask me either 😄

#

Not really tbh. It's something I've been meaning to learn about.

willow light
#

Nothing like getting feedback on documentation, and it turns out they were looking at a version of the docs that haven’t been valid for three years.

#

“Thanks, but we already fixed that three years ago. Here’s the new documentation.”

restive geyser
#

bless you whoever sneezed

gentle flint
#

can I be blessed too

#

I didn't sneeze

#

but my schoolwork is a pain

amber raptor
#

I don't stomp off, I run from the dumb

gentle flint
#

we all have our own names for it

amber raptor
#

I'll stay if Stel or other are around to supervise

gentle flint
#

exactly

#

Thou art thanked, oh well-wisher
May thou be blessed one hundredfold in return

rugged root
#

Hilarious thing,

sly jolt
gentle flint
#

...wow

rugged root
#

It's cracking me up

gentle flint
#

ok

sly jolt
restive geyser
#

LMAO WHAT DID I DO

stuck furnace
#
def digits(num):
    return map(int, str(num))
scenic wind
#

A happy number is defined by the following process: Starting with any positive integer, replace the number by the sum of the squares of its digits, and repeat the process until the number equals 1 (where it will stay), or it loops endlessly in a cycle which does not include 1. Those numbers for which this process ends in 1 are happy numbers, while those that do not end in 1 are unhappy numbers. Display an example of your output here. Find the first eight happy numbers.

sly jolt
#

"restful" has "stfu" in it

#

so it triggered our watchlist lmfao

restive geyser
#

bahahahahahaha

rugged root
#

In fairness, I would have gone with "stfu and get some restful sleep"

gentle flint
#

😢

restive geyser
#

oh no. someone's caught on to my brujeria

scenic wind
stuck furnace
rugged root
#

brujeria
I learned a new word today

#

Okay, ACTUALLY leaving this time. Back later

stuck furnace
#

A heuristic is an easy question that you ask in place of a hard question.

restive geyser
#

LOL

scenic wind
#

idk about strings

stuck furnace
scenic wind
#

oh ok

#

what does the map do?

stuck furnace
#

map just takes a function and applies it to each element of an iterable

#

In this case, we're applying the square function to each digit.

scenic wind
#

ok so it then asks to keep doing that until the number = 1

#

so i think i can do that bit

#

using a while loop

stuck furnace
#

Alright. Good luck 👍

scenic wind
#

and if num = 1:

#

break

stuck furnace
#

Yep. Could use a while loop.

scenic wind
#

i think its if num == '1':

#

or if num = 1:

stuck furnace
#

1 rather than '1'. The str was used to convert the number to a string so we could get the digits (the characters of the string). After doing map(int, ...) we're dealing with numbers again.

scenic wind
#

ok thanks

#

hm it says undefined name digits

#

do i have to define digits?

stuck furnace
#

Did you include the definition of the digits function in your code?

stuck furnace
scenic wind
stuck furnace
#

😄

stuck furnace
#

No problem 😄

#

Erm, you might need to think a bit more carefully about your approach to this problem however.

#

How will you know that a number isn't happy?

scenic wind
#

but for some reason this isn't working

stuck furnace
#

Oh, you need the closing ```

scenic wind
#

def digits(num):
    return map(int, str(num))

def square(num):
    return num**2

def sum_of_squared_digits(num):
    return sum(map(square, digits(num)))

while True:
  products = sum_of_squared_digits(num)
  print(products)
stuck furnace
#

Oh right

#

Hmm

#

Erm 25 + 36

#

Sorry, can't do maths right now as I'm mildly concussed 😄

#

I jumped up onto a step ladder, forgetting my shed has a ceiling.

scenic wind
#

lol

stuck furnace
#

Yep, luckily no one saw

#

Erm, so you need to repeatedly replace the number with the sum of squared digits.

#

Yep, I would recommend a set.

#

A set is an unordered collection of unique objects.

#

!eval ```python
s = set('the quick brown fox jumps over the lazy dog')
print(s)

wise cargoBOT
#

@stuck furnace :white_check_mark: Your eval job has completed with return code 0.

{'a', 'p', 'b', 'j', 'w', 'v', 'm', 'x', 'd', 'h', 'c', 'r', 'g', 'z', 't', 's', 'q', 'y', 'l', ' ', 'k', 'n', 'o', 'u', 'f', 'i', 'e'}
stuck furnace
#

Set of characters.

#

!eval ```python
print(set([1, 2, 3, 4, 1, 2, 3, 4]))

wise cargoBOT
#

@stuck furnace :white_check_mark: Your eval job has completed with return code 0.

{1, 2, 3, 4}
stuck furnace
#

You can also do {1, 2, 3, 4}

#

You just need to keep track of numbers you've already seen.

#

A set is good for this because it's fast to check membership of a set.

#

You can add an element to a set with e.g. myset.add(42)

#

And check membership by doing 42 in myset

#

Yep 👍

#

Yeah, I guess you just want to keep looping until you see a number that you've not already seen.

#

So, if you call your set seen = set(), then each iteration you add the current number to the set seen.add(num).

#

Yep, exactly

#

It's called 'add' because there's no order.

#

Erm, in that case, you'd need a more complicated data structure called a dictionary.

#

To count the number of occurrences.

#

Yep, although actually the other way around.

#

The key would be the number, and the value would be the count.

#

Yep

#

In this case however, do you really need to count the number of occurrences?

#

Think about what happens.

#

Yep

#

One sec, sorry.

#

Alright, so for 2, you get a sequence that cycles like this: ```
2 -> 4 -> 16 -> 37 -> 58 -> 89 -> 145 -> 42 -> 20
-> 2 -> 4 -> 16 -> 37 -> 58 -> 89 -> 145 -> 42 -> 20
-> ...

#

You know 2 isn't 'happy' as soon as you see 2 again.

#

Actually, it's just occurred to me that you don't need a set at all...

#

Or do you? 🤔

#

Yeah actually, you probably do, as not all numbers will cycle back to themself.

#

What were you asking about dictionaries?

#

Sure 😄

scenic wind
#

counter = {}

stuck furnace
#

Oh yeah, he probably used a 'comprehension'

#

Erm, so a dictionary just maps keys to values.

#

Example:

#
mydict = {
    'a':  1,
    'b':  2,
    'c':  3,
}
#

Yep, that's one use-case for a dictionary.

#

Erm, that's not really what dictionaries are designed for.

#

Yes, exactly. You give it the key and it gives you the associated value (if there is one).

#

For example, here you might do mydict['a'], to get 1.

#

Yep

#

If you put it inside the loop it would keep getting replaced.

#

Yep 👍

#

Erm, you could use either a dict or a set.

#

Yeah, pretty much 😄

#

Erm, you simply re-assign the key.

#

For example:

#

!eval ```python
mydict = {
'a': 1,
'b': 2,
'c': 3,
}
mydict['a'] = 42
print(mydict)

wise cargoBOT
#

@stuck furnace :white_check_mark: Your eval job has completed with return code 0.

{'a': 42, 'b': 2, 'c': 3}
stuck furnace
#

You could do mydict['a'] += 1 to increment it.

#

Yep

#

mydict[num] += 1

#

Yep.

#

Although, you only really need to check if it has occurred once.

#

But it's deterministic

#

So it will follow the exact same cycle, once it gets back to 41.

#

Brb

#

Yo

scenic wind
#

def digits(num):
    return map(int, str(num))

def square(num):
    return num**2

def sum_of_squared_digits(num):
    return sum(map(square, digits(num)))

mydict = {}

while True:
  products = sum_of_squared_digits(num)
  print(products)
  mydict[num] += 1       ```
stuck furnace
#

py needs to come right after the ```

#

like ```py

#

Erm, then don't press space? 😄

#

value

#

Yeah, or really the value in a python dictionary is any object.

#

In this case, an integer, which represents the number of times you've seen the key.

#

A dictionary doesn't really contain items a number of times.

#

Yep.

#

Oh, erm you would have to loop through all the keys in the dictionary.

#

But this wouldn't be very efficient.

#

I mean, O(n) vs O(1).

#

Sorry 😄

#

O(n) just is a way of saying that the time it takes is proportional to n, which in this case represents the number of keys in the dictionary.

meager lichen
#

LA-TECH

#

but I always call it latex

#

time for inquisition?

gentle flint
#

I'm not expecting the Spanish Inquisition

gentle flint
#

precisely

stuck furnace
#

So, first get the value from the dictionary, then use == to compare it.

#

mydict[key] == value

meager lichen
#

my_dic

stuck furnace
#

Yep

#

Nope, that would mean it's a string.

#

Ah yes, but we convert back to integers with int

#

But it converts each character to an int individually.

#

And the result is you get all of the digits as separate integers.

scenic wind
#

def digits(num):
    return map(int, str(num))

def square(num):
    return num**2

def sum_of_squared_digits(num):
    return sum(map(square, digits(num)))

mydict = {}

while True:
  products = sum_of_squared_digits(num)
  print(products)
  mydict[num] += 1
  if mydict[num] == 2:
    print("This number is not a magic number!")
    break
  if num == 1:
    print("The number ")
stuck furnace
#

Well, you could wrap it all in a function maybe?

#

So that num is a local variable.

#
def main(num):
    ...
#

Erm, I'm not sure what you mean sorry lemon_thinking

#

Oh, thought it was pynum 😄

#

Yes, that's one way to save the original value of num.

#

Ah 😄

scenic wind
#

def main(original_num):
  

def digits(num):
    return map(int, str(num))

def square(num):
    return num**2

def sum_of_squared_digits(num):
    return sum(map(square, digits(num)))

mydict = {}

while True:
  products = sum_of_squared_digits(num)
  print(products)
  mydict[num] += 1
  if mydict[num] == 2:
    print("This number is not a magic number!")
    break
  if num == 1:
    print(f"The number ")
stuck furnace
#

```py
your code here
```

#

Maybe there's a syntax error?

scenic wind
#
origianl_num = input("What number do you want to continuously find the sum of it's squares of?: ")

def main(original_num):
  

def digits(num):
    return map(int, str(num))

def square(num):
    return num**2

def sum_of_squared_digits(num):
    return sum(map(square, digits(num)))

mydict = {}

while True:
  products = sum_of_squared_digits(num)
  print(products)
  mydict[num] += 1
  if mydict[num] == 2:
    print("This number is not a magic number!")
    break
  if num == 1:
    print(f"The number ")
stuck furnace
#

Nice 😄

meager lichen
#

finally

#

pass

stuck furnace
#

That would be where you put the code of your function.

#

I would call the argument num.

#

Yep

scenic wind
#
num = input("What number do you want to continuously find the sum of it's squares of?: ")

def main(num):
  pass
  
def digits(num):
    return map(int, str(num))

def square(num):
    return num**2

def sum_of_squared_digits(num):
    return sum(map(square, digits(num)))

mydict = {}

while True:
  products = sum_of_squared_digits(num)
  print(products)
  mydict[num] += 1
  if mydict[num] == 2:
    print("This number is not a magic number!")
    break
  if num == 1:
    print(f"The number ")
stuck furnace
#

Yep, but instead of pass, that's where you would put the main part of your code.

#

Yep

scenic wind
#
while True:
  num = input("What number do you want to continuously find the sum of it's squares of?: ")

  def main(num):
    def digits(num):
      return map(int, str(num))

  def square(num):
      return num**2

  def sum_of_squared_digits(num):
      return sum(map(square, digits(num)))

  mydict = {}

  while True:
    products = sum_of_squared_digits(num)
    print(products)
    mydict[num] += 1
    if mydict[num] == 2:
      print("This number is not a magic number!")
      break
    if num == 1:
      print(f"The number {num} is magic!")
gentle flint
stuck furnace
#

Anywhere inside the loop, as long as it's not inside another loop inside the loop.

#

Maybe you should have a function called is_happy?

scenic wind
#
def digits(num):
      return map(int, str(num))

def square(num):
  return num**2

def sum_of_squared_digits(num):
  return sum(map(square, digits(num)))

while True:
  def main(num):
    mydict = {}
    while True:
      products = sum_of_squared_digits(num)
      print(products)
      mydict[num] += 1
      if mydict[num] == 2:
        print("This number is not a magic number!")
        break
      if num == 1:
        print(f"The number {num} is magic!")
        break
restart = input("Do you want to restart if yes type 'restart' if no type 'exit'")
if restart == 'restart':
  break
elif restart == 'exit':
  exit()
stuck furnace
#

Alright, maybe we need to go back a few steps?

restive geyser
#

👀 what'd i miss. i made spaghetti

#

lol no. it's mine.

#

😛

willow drift
#

@restive geyser you should look at the code I'm working on currently it also looks like spaghetti

restive geyser
#

LOL

stuck furnace
#

I'm actually slightly concussed right now Hemlock tbh 😄

restive geyser
#

spaghetti and spaghetti code

stuck furnace
#

Yeah, I'm an idiot lemon_pensive

restive geyser
#

lol why did you jump

stuck furnace
#

Forgot that my shed has a ceiling.

restive geyser
#

HAHAHAHA

stuck furnace
#

Just jumping up onto the step-ladder to paint the top of some shelves.

#

Alright. I'm going to re-structure your code for you, if that's ok?

restive geyser
#

lol what is this program supposed to do

#

ooooh

stuck furnace
#

There are still some issues, but here's a start: ```python
def main(num):
mydict = {}
while True:
products = sum_of_squared_digits(num)
print(products)
mydict[num] += 1
if mydict[num] == 2:
print("This number is not a magic number!")
break
if num == 1:
print(f"The number {num} is magic!")
break

def digits(num):
return map(int, str(num))

def square(num):
return num**2

def sum_of_squared_digits(num):
return sum(map(square, digits(num)))

while True:
num = input("What number do you want to continuously find the sum of it's squares of?: ")
main(num)
restart = input("Do you want to restart if yes type 'restart' if no type 'exit'")
if restart == 'restart':
continue
elif restart == 'exit':
break

restive geyser
#

ahh. so much easier to read

stuck furnace
#

Yes 😄

scenic wind
#

Traceback (most recent call last):
File "main.py", line 28, in <module>
main(num)
File "main.py", line 9, in main
mydict[num] += 1
KeyError: '45'

stuck furnace
#

Reading out the full error message 😄

#

Ah, well, that's the way it's done you see.

#

Ah right. So the issue here is that you're trying to access a key from a dictionary that is not a member.

#

That's what a KeyError means.

#

When you first encounter a number, you want to add it to the dict with value 1.

restive geyser
#

LOL

#

can you send us the prompt from the textbook? <.<

stuck furnace
#

Erm, something like this ```python
if num in dict:
dict[num] += 1
else:
dict[num] = 1

restive geyser
#

yes, you

meager lichen
#

guys, what does one mean when they say

"Is the behaviour of an object distinguished from its state and is the state encapsulated?"

#

what is "state"

stuck furnace
#

Think of it like a table. When you encounter a new key, you're adding another row to the table.

wise cargoBOT
#

Hey @scenic wind!

It looks like you tried to attach file type(s) that we do not allow (.pdf). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .mkv, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .webm, .webp, .flac, .afdesign, .m4a, .csv.

Feel free to ask in #community-meta if you think this is a mistake.

#

Hey @scenic wind!

It looks like you tried to attach file type(s) that we do not allow (.pdf). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .mkv, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .webm, .webp, .flac, .afdesign, .m4a, .csv.

Feel free to ask in #community-meta if you think this is a mistake.

stuck furnace
#

Hmm

#

Ah, sorry

#

if num in mydict:

#

Rather than dict

#

Or whatever the name of your dictionary is.

#

Same problem 😄

#

Yeah, I'm a derp

#

Erm, not sure what you mean?

#

My DMs are off atm sorry.

#

Hmm, like >>>?

scenic wind
#

willow drift
#

press windows+shift + s

#

for screen shot

scenic wind
stuck furnace
#

Ah, because you're doing break

#

Rather than e.g. continue

#

continue goes straight to the top of the next iteration of the loop.

whole bear
#

The first few happy numbers are 1, 7, 10, 13, 19, 23, 28, 31, 32, 44, 49, 68, 70, 79, 82, 86, 91, 94, 97, 100

restive geyser
#

lol shhhhh

whole bear
#

Try them

restive geyser
#

yes, 1 is happy

whole bear
#

01

#

Yeah it is

honest pier
#

what's the def of a happy number

stuck furnace
restive geyser
#

but because the sum of the square of 1 is 1, it's happy.

#

then your algo is wrong 😦

honest pier
#

😦

whole bear
#

Program is broken

scenic wind
#
'''
def main(num):
    mydict = {}
    while True:
        products = sum_of_squared_digits(num)
        print(products)
        if num in mydict:
          mydict[num] += 1
        else:
          mydict[num] = 1
        if mydict[num] == 2:
            print(f"This number {num} is not a happy number!")
            break
        if num == 1:
            print(f"The number {num} is happy!")
            break

def digits(num):
      return map(int, str(num))

def square(num):
  return num**2

def sum_of_squared_digits(num):
  return sum(map(square, digits(num)))

while True:
    num = input("What number do you want to continuously find the sum of it's squares of?: ")
    main(num)
    restart = input("Do you want to restart if yes type 'restart' if no type 'exit': ")
    if restart == 'restart':
      continue
    elif restart == 'exit':
      exit()
stuck furnace
#

Ohh, I see the issue

#

This line products = sum_of_squared_digits(num)

#

Can you see the issue?

#

Yep, but what do you need to do with the answer?

#

The algorithm is, replace the number with the sum of the squares of its digits repeatedly until it either reaches 1 or cycles.

#

What I'm getting at: num = sum_of_squared_digits(num)

restive geyser
#

37 is not supposed to be a happy number

#

ooh

#

you create a different variable

#

for the input

#

versus what you use to comput

#

*compute

scenic wind
stuck furnace
#

Maybe the line is too long?

#

input("gib num")

#

Alright gtg for a bit.

#

Cya 👋

honest pier
#

it is what it is

restive geyser
#

did that kid figure out his code? D;

honest pier
#

i think so

whole bear
#

i hope so

restive geyser
vagrant tapir
#

Could anyone start a conversation with me, i want that verification, so i can talk

honest pier
#

oop

#

sure

#

uh

vagrant tapir
#

Nice

#

What have you been working on recently

honest pier
#

what's the area of the region bounded by the curves cos x and x^2

restive geyser
#

LOL

vagrant tapir
#

gimme a second

#

okay

#

Its kinda ugly numbers but its approximately 1.095

honest pier
#

.wa area of region bounded by cos x and x^2

viscid lagoonBOT
honest pier
#

very good

vagrant tapir
#

Come on next one at me

restive geyser
#

show step-by-step calculation plz.

vagrant tapir
#

Okay

#

let f(x) = x^2 and g(x)=cos(x)

#
  1. Find all intersections of f and g
#
  1. Check between every pair of intersections if the inbetween area is positive
whole bear
#

Integrate f-g right

honest pier
#

you need to find the bounds

vagrant tapir
#

Dont think so cuz, integral of cos is no defined value from -inifity to +infinity

#

for every pair that those have positive area inbetween, add it to the total count

vagrant tapir
#

Maybe a coding problem?

honest pier
#

lol

#

one sec

vagrant tapir
#

Thank you

honest pier
#

not a coding problem ;-;

vagrant tapir
#

hmm

#

I got one problem for you then

#

find a valid solution for x-1 = 1/x

#

Should be easy if you know one right ahead

honest pier
#

hmm

vagrant tapir
#

xD

honest pier
#

um

#

(1 +- sqrt(5)) / 2

#

?

vagrant tapir
#

Wanna know the answer?

#

Yeah

#

The number you sent is the golden ratio

#

One very nice property of it

#

I will check for complex solutions quickly

honest pier
#

It might be argued that the inverse square law for light would provide a solution to Olber's paradox. To see that this is not so, consider a uniform distribution of stars with n stars per unit volume, each of luminosity L. Imageine that two thin, spherical shells of stars with radii r1 and r2 are centered on Earth; let the thickness of each shell be Delta r. Show that the same energy flux reaches Earth from each shell.

#

not robbed from a text btw lul

vagrant tapir
#

indeed.

#

Gosh, i will need an hour to read into it already

queen solar
#

What's Olber's paradox?

honest pier
#

uh

#

why is the sky dark if the universe is infinite and static

whole bear
#

@honest pier I only know cos square law of polarization

honest pier
#

only?

queen solar
honest pier
#

yeah but like, there's a bunch of requisite math

queen solar
honest pier
#

hmmmm

#

idk about that one

vagrant tapir
#

Oof i havent gotten my 50 msgs yet

honest pier
#

oof

#

um

#

just talk more

vagrant tapir
#

talk

#

takl

honest pier
#

D:

vagrant tapir
#

Yeah yeah ik not really creative

#

So we currently got lockdown in germany

#

And my school has video lessions

#

Kinds sucks but better than going to school in person

#

lol

#

How about you

honest pier
#

uh

#

my school is "hybrid"; half the school goes in on monday and wednesday

#

the other half goes in on tuesday and thursday

vagrant tapir
#

ahh, we had that too for a couple months

#

I think schools will open again soon

#

at least here in germany

#

Where are you from?

honest pier
#

united states

#

east coast

vagrant tapir
#

nice

#

Like florida or virginia, right?

#

I am bad at geography but that should be around you right

honest pier
#

nah

#

well yeah

vagrant tapir
#

Dang it

honest pier
#

close, but i'm not in those

vagrant tapir
#

Ahh ok

#

I wont ask

#

no worries

honest pier
#

¯_(ツ)_/¯

vagrant tapir
#

Let me check about the msgs

honest pier
#

i live pretty close to a city

vagrant tapir
#

I am verified wanna talk?

#

I could practice my english a bit xD

honest pier
#

uh

#

i have to leave ;-;

#

maybe another time

vagrant tapir
#

bruh

honest pier
#

lul

vagrant tapir
#

sad Max noises

honest pier
#

ghost ping kekw

whole bear
#

wry noice

vivid sapphire
#

@tidal salmon Hello there

#

Poor quality mic.

honest pier
#

hi

#

einstein ring 🧐

lethal crest
#

hi

honest pier
#

hi

#

@median jackal this channel is for talking to people in vc

#

!voice also this

wise cargoBOT
#

Voice verification

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

median jackal
#

i can't talk i haven't gotten 3 days yet

#

i gotta pass the verification as well

#

saddddd

#

so almost all objects 🙂

#

love how it's vc0 and vc1 since we start counting from 0

honest pier
#

yep, same with off topic channels

lime shore
#

can't talk haven't been on here for 3 days

clear shadow
#

Hey @vivid sapphire

meager lichen
#

@clear shadow @vivid sapphire can you guys explain to be what this means

● Is the behaviour of an object distinguished from its state and is the state encapsulated?

clear shadow
#

Lady scirpt

waxen cargo
#

hi

#

Abhinav
#5822 is Brodevil

clear shadow
waxen cargo
scenic wind
#
y = 1
n = input("How many temperatures do you want to input (must be between 5 and 20)?: ")
while True:
  if n > 5 and n < 20:
    for number in range(n):
      input(f"What is your {y} temperature?: ")
      y += 1
  else:
    print("This number is not between 5 and 20")  
    continue
#

Traceback (most recent call last):
File "main.py", line 4, in <module>
if n > 5 and n < 20:
TypeError: '>' not supported between instances of 'str' and 'int'

upper swift
#

int

lunar pendant
#

you should try n = int(input)

upper swift
#

n = int(input("How many temperatures do you want to input (must be between 5 and 20)?: "))

lunar pendant
#

But your code run upto infinity

scenic wind
#
y = 1
while True:
  n = int(input("How many temperatures do you want to input (must be between 5 and 20)?: "))
  if n > 5 and n < 20:
    for number in range(n):
      z = int(input(f"What is your {y} temperature?: "))
      y += 1
  else:
    print("This number is not between 5 and 20")  
    continue
lunar pendant
#

can you tell me what was the question

upper swift
honest onyx
#

Hey guys! I want to train my python skills with some tasks, can you offer me some web-s?

verbal ibex
#

Sure!

#

1 sec

#

here it is

#

@honest onyx

upper swift
#

:POGGERS:

somber heath
#

Linus Torvalds: Word mincer.

craggy zephyr
#

HEY @severe pulsar

#

WHAT'S UP BRO???

craggy wadi
#

no voice verification : (

craggy zephyr
#

opps

worn notch
#

.

rugged root
lethal crest
#

hey, can someone help me?

frigid panther
#

sup

clear shadow
lethal crest
frozen oasis
frigid panther
#

rezero

lethal crest
#

hi

frigid panther
#

halo o/

lethal crest
#

wait how

clear shadow
#

Hey

frigid panther
lethal crest
#

k

frozen oasis
#

1 sec

rugged root
#
while user_input := input() == "no":
  print("yes")
print(f"Hello {user_input}")
somber heath
#

It's a fairly compact way to restrict an input by a conditional.

whole bear
#

Vertical tabs are the best thing to add to my browser

#

I modified the userChrome to hide the tabs and use an extension.

rugged root
whole bear
#

I made a Python prototype and now I'm converting it into another language because it's too slow 😂

whole bear
#

It was already in the mobile version though like 3 months from now

clear shadow
#

who is this @marble hull 😂

whole bear
#

where? 👀

clear shadow
#

He had kept his name as the fan of @rugged root

marble hull
#

lol

#

me big hemlock simp

#

idek y i just randomly started simping for no reason LMFAO

whole bear
#

Oh Hello there

marble hull
#

hello

cloud root
#

HI

#

sup

#

Interesting...

marble hull
#

tf is going on

cloud root
#

idk

#

u have voice verified?

marble hull
#

Aurora having problems with a program or smtng>

cloud root
#

yeh

marble hull
#

yes i am

fierce summit
#

EPLAN

marble hull
#

hol up how did i even get it lol

cloud root
#

opal said it has to be compatibility

#

goto properties and select run compatibility

#

and choose any

marble hull
#

@fierce summit ^^

cloud root
#

oh

#

I stoopid sorry

somber heath
#

Nono. I did say the word compatibility.

cloud root
marble hull
#

aight imma head out this is too complicated for my print('Hello World!') Brain

cloud root
#

Btw I need help

#

w8 lmme send image

#

Here

clear shadow
# cloud root

Are you pressing Enter from the long time to open the file

cloud root
#

No

#

I made an evil script that ricl rolls you and crashes your PC

whole bear
#

Karma

#

Lol

cloud root
#

Btw its 11pm rn

undone idol
#

Have a look at this

#

cool 😄

cloud root
#

ok

undone idol
#

is that the thing you are looking for ? @clear shadow

cloud root
#

I wanna make a script that dletes SysWOW64 and System32

swift valley
#

Evenin', once again

undone idol
frigid panther
cloud root
#

any of you guys know how to code?

rugged root
#

!voice @whole bear

wise cargoBOT
#

Voice verification

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

rugged root
#

That's where you'll need to check

undone idol
cloud root
#

I only know how programs work by looking at the code

#

but idk how to program it

#

imma just do me hm

#

while listening to this vc

undone idol
#

yes @mystic marlin ?

cloud root
#

BTW recently deleted windows folder

#

Got my PC fixed

somber heath
cloud root
#

not to delete it

#

why do some people had their mic turned on although I cant hear their voice 🙃

cloud root
#

oh

whole bear
#

maybe

cloud root
#

ok

#

lemme turn that on

#

Even tho I have a good mic I still turn it off after I speak

#

I wanna discover an exploit in a game

swift valley
#

!rule 5

wise cargoBOT
#

5. Do not provide or request help on projects that may break laws, breach terms of services, be considered malicious or inappropriate. Do not help with ongoing exams. Do not provide or request solutions for graded assignments, although general guidance is okay.

swift valley
#

Please be mindful next time, thanks

cloud root
#

Well I didn't really want help I'd just like making scripts that break my PC ( ._.)

#

ok

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @upper shore until 2021-02-05 15:30 (9 minutes and 58 seconds) (reason: burst rule: sent 8 messages in 10s).

swift valley
#

I'd advise against tha-

#

You're gonna have to wait that one out

cloud root
#

lol

undone idol
#

lol

lunar pendant
#

hi clash😂

whole bear
#

bye clash

#

lol

undone idol
cloud root
#

ye

whole bear
#

yes it is lol

cloud root
#

Oh edt

#

sup

whole bear
#

nothin

#

just bored

cloud root
#

Bakery

clear shadow
cloud root
#

srry imma just do me hm

undone idol
#

so @olive sentinel Have you purchased that book or not?

olive sentinel
#

not yet

#

I've been too busy this week

undone idol
#

oh k lol may be next week?

#

I love that book

cloud root
#

Opal

undone idol
#

yes

#

We do use git

cloud root
#

yes

whole bear
#

what is GIT??

cloud root
#

GitHUb

undone idol
# cloud root GitHUb

No it's not github , git is a version control system that lets you manage and keep track of your source code history. @cloud root @whole bear

whole bear
#

but never used it

#

now i think i can talk

cloud root
#

Hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm🤔

whole bear
#

but i am not gonna

cloud root
#

NOICE

undone idol
#

Here it is

cloud root
#

ok

undone idol
#

yea

whole bear
#

did not know about it

cloud root
#

how to use it properly

undone idol
#

when you guys are streaming code jam on youtube ? @olive sentinel ? all owners?

#

I watched 2 days ago

#

It was preeety cool 😄

#

mhm

cloud root
#

I love listeing this vc

whole bear
#

me too

undone idol
#

You can just stream every year aoc and solve that problem in the best way !

cloud root
#

I love it when someone gets help in this vc

undone idol
#

oh k gotcha !! sebs

cloud root
#

I always listen

undone idol
#

mhm cool

cloud root
#

🙂

#

hape

undone idol
#

Oh wish you a good luck at your new job @olive sentinel

cloud root
#

Tilda

undone idol
#

oh k lol

cloud root
undone idol
#

damn you are fast typer lol sebs i listen the keys sound

cloud root
#

23234432424235 wpm

small knot
#

זה מה שהוא שרבט שם.

undone idol
#

so yea guys I gtg now bye 😄

whole bear
#

i had some serious modem issues right then

small knot
#

Ок

whole bear
#

why is there a tier list of SOUPS pinned in this chat?!

small knot
#

No problem

#

None problem

cloud root
#

I didn't won

undone idol
small knot
#

God

cloud root
#

yes

whole bear
#

😆😆

small knot
#

#include
#iostream

cloud root
small knot
#

cpp

cloud root
#

lmao

whole bear
#

POGGING IS POG

cloud root
#

Pog

small knot
#

By the way I remember trying Django run through PYcharm comunety

cloud root
#

yeah

#

Yeah

whole bear
#

noice

weary zephyr
whole bear
lunar pendant
#

use should try c++,lol

weary zephyr
cloud root
#

BTW why do I have a Announcemnts role?

#

what's it for?

weary zephyr
#

notifs

cloud root
#

ok

whole bear
cloud root
#

^

whole bear
#

^

cloud root
#

yea

#

I'm laggy

#

I use VScode :0

whole bear
#

me too

cloud root
#

T H I C C

near stream
#

hi

whole bear
#

hi

cloud root
#

I use notepad sometimes

rugged root
#

I use NotePad for looking over config files or if I'm taking messages from a phone call

#

Most programs still serve a purpose in their own way

cloud root
#

I use notepad bcz VScode sometimes laggy

#

that's the prob I'm having about VScode

whole bear
#

i use TextEdit in mac sometimes because it is the default

cloud root
#

ye

#

btw I'm a kid

rugged root
#

Like... 11? 14?

whole bear
#

i am 14

cloud root
#

12

rugged root
#

Gotcha

#

Fair enough

cloud root
#

lemon

whole bear
#

OG name and id #0001

olive sentinel
#

k8s

whole bear
#

ooh

cloud root
#

im back

#

gtg rest

#

its 12

#

pm here

whole bear
#

9:30 pm here

jaunty falcon
whole bear
#

okay not my level of math

whole bear
jaunty falcon
jaunty falcon
whole bear
#

maybe around 1 year

#

but not regularly

jaunty falcon
whole bear
#

ooh nice

jaunty falcon
#

What types of things do you code?

whole bear
#

calculators

jaunty falcon
#

That's it?

whole bear
#

yeah

jaunty falcon
#

Sounds like it gets boring 😄

whole bear
#

i am still a begginner

#

i love math

jaunty falcon
#

Trust me challenge yourself with big projects, its fun and you learn more

jaunty falcon
# whole bear i love math

I like math that I will use in the future, if I'm learning something I will never use it's pointless.

gilded rivet
jaunty falcon
rotund wave
#

1st physics degree, 1st maths degree

jaunty falcon
#

"Wait, my brain is expanding"

whole bear
#

WHY DO YOU NEEED GRAPHS AND STATISTICS WHEN SOFTWARE IS AVAILABLE TO MAKE IT FOR US!

rugged root
#

Still have understand it to make that stoof

jaunty falcon
gilded rivet
whole bear
dense ibex
#

Big

687530642063088116469982765282926281546506823677536777318323027424914605065093998224358990017283899155446492656862205656549268682878440266904338938473078928335332473696996860938426542854710447936354825881492714971065939448956926332943655008300680402830727614028553540038653986068031344764416457916891173887705828232748767752234561230295348123601450697921837949655813765125835077227415271556337376930940355789075967091053598344810209045650157756924760430122672311320394202621649437002356391889114468195348631029836910660659844633148284724667426871246730056334449252330930544664875863545305803662777601248403039393414275463620668118022138917137213750701182319638434890741464599565518882594010276081053558256154793584799474381814765825569884367250850954156848951177323625991874242353343057257410317581434521017651163059438238746278458972348376560705401028207709439767846573370980044856023166033691678856092421309963345678733833006381719548410110732801108326888190735498128724245758927919521343400459680537474569691929980264175810681186910995549891206311582128108469918335653940853995593972247136274653571460431355838850066082392182761755188277746780909478955571668917235464966536587710742797351594346660885514019402155237390726882233176283808672951118491469158074131938728502646837323611564227043816188604814251037223440444357344674903860277889045896541724735196817355554071989658171067170554536357222168081528674529616730383538517398928882199490612661217147703262438594620343122558955040406818011754631625776883985766566492435445686530984270770141998328068241379987536069034449837463248599560967896755183433770379711821201266046512815957636134419891247512790609157434254501459158497517365903975996557014467812679442253470451078270439606295064805991004208798431462723209215823449261023677643288865284779308689457044077292615873133278099666869510313212482788563618873850590516758662799870627324177137815555009649214560321155

rugged root
#

Name it "big"

#

Because that's what it is

jaunty falcon
whole bear
#

+1 for "big"

somber heath
jaunty falcon
#

Lmao the edit now it just says "big" then that huge number ;D

dense ibex
#

Alright noted well meet big

whole bear
#

hello "big"

jaunty falcon
dense ibex
#

Lmao

#

V sauce is fantastic

whole bear
jaunty falcon
#

VSauce is the best teacher hands down.

dense ibex
#

^^^

whole bear
#

i watch vsauce 3

#

i like the movie kinds

dense ibex
#

I watch is youtube original series

whole bear
#

oh nice

dense ibex
#

theres once where he takes ayahuasca

whole bear
#

what is the
"ayahuasca"

swift valley
#

Switched to my PC earlier

dense ibex
#

its like some ancient psychedelic

#

and he was studying what it does to your brain

whole bear
dense ibex
#

but its not really that harmful for you like physically

whole bear
#

what does it do to your brain then

cyan quartz
#

No more

from typing import Union, Dict, List, Tuple```
olive sentinel
#
def foo(condition: bool) -> int | str:
    return "string" if condition else 10
cyan quartz
#
isinstance(x, str | int)```
whole bear
#

your keyboard is so loud man @olive sentinel