#Developers

1 messages · Page 1 of 1 (latest)

tulip drift
#

You can speak code and stuff

restive scaffold
#

anybody that plays on leetcode? smileywesh

bold bramble
#

@tough pagoda will love this channel 🤓

tough pagoda
restive scaffold
#

@late sequoia channel for you KEKW

late sequoia
#

hell yeah

#

not that I have seen it coming for a while

#

but hell yeah

restive scaffold
#

anybody know how to convert roman numbers to integers smileywesh

late sequoia
#

You can convert Roman numerals to integers by iterating through the string of Roman numerals and adding or subtracting values based on their placement.

#
    roman_values = {'I': 1, 'V': 5, 'X': 10, 'L': 50, 'C': 100, 'D': 500, 'M': 1000}
    total = 0

    for i in range(len(roman)):
        if i > 0 and roman_values[roman[i]] > roman_values[roman[i - 1]]:
            total += roman_values[roman[i]] - 2 * roman_values[roman[i - 1]]
        else:
            total += roman_values[roman[i]]

    return total

# look here
print(roman_to_integer("MCMXCIV"))  # i guess its gonna be 1994
restive scaffold
#

c++ not python or whatever that is smileywesh

#

but already figured it out

late sequoia
#

python is better for these

restive scaffold
#

i know

#

but my annoying ass wanted to learn c++ KEKW

late sequoia
#

good luck mate

#

im learning html, css and javascript rn

restive scaffold
#

might move on to python after this, and then javascript if i ever get there

late sequoia
#

well its gonna take some time

restive scaffold
#

i know smileywesh

mighty kettle
#

Everytime I have to work with JS I wanna die KEKW

late sequoia
#

everytime i code i wanna die

restive scaffold
#

everytime i wanna die

#

nvm

craggy helm
vernal rose
#

anyone know anyone who's good at coding websites/bots or even apps ?

#

bit of a needle in a hay stack attempt lol

mighty kettle
#

Hey fellow developers, just wanted to remind you that this year’s Advent of Code has started (I’m 5 days late lol). For those who are unfamiliar with it, it’s quite a nice (and not boring) way to test your knowledge in any programming language

magic breach
#

Hi

#

Does anyone make roblox games?

#

coz i do

eternal flint
#

Me entering the chat