9
vjuliusv
6 19
386/ 445
Last seen 1 month ago
Member for 1 year, 10 months, 27 days
Difficulty Normal
Missions (49) / Solutions (22)
Best solutions / Newest solutions
Initiation
idk how speedy it is, but it just took 1 line of code.
Sum Numbers
isdigit
sum
if-comprehension
split
comprehension
putting this here for later
Count Digits
isspace
isalpha
sum
comprehension
int
...so much simpler this way...
Count Digits
isdigit
sum
comprehension
int
str
Such conditional
All Upper I
any
isupper
isdigit
bool
not
First
Nearest Value
remove
min
abs
set
lambda
I know exactly what I'm doing at all times
Replace First
pop
index
typing.Iterable
Iterable
not
First
Remove All Before
typing.Iterable
Iterable
set
not
typing
Home
I like this...
Morse Decoder
numpy.array
array
capitalize
numpy
re.sub
2
First
Missing Number
diff
numpy.diff
numpy
as
collections.Counter
2
Literally stolen from geeksforgeeks.
Sort Array by Element Frequency
collections.Counter
Counter
collections
list-comp
comprehension
15
womp
Changing direction
is
continue
None
bool
or
"There has to be a more efficient way to do this"
Date and Time Converter
calendar.month_name
month_name
calendar
int
str
...And I like this a bit less - still valid though!
Morse Decoder
capitalize
re.sub
sub
get
re
Took me way longer than I should have, but I did it!
Bigger Price
itemgetter
operator.itemgetter
operator
dict
print
You hate to see it
Popular Words
dict
lower
count
split
list
First
Sun Angle
typing.Union
Union
typing
split
else
Ok, that really sucked, but I got it.
Between Markers
find
str
len
if
Periodt
First Word
replace
print
in
split
str
if it is, then it is, else it isn't. So it is what it is.
Three Words
isnumeric
isalpha
break
bool
elif
First
Even the Last
sum
print
list
int
if
O'Reilly
First
Lightbulb Start Watching
Optional
typing.Optional
datetime.datetime
datetime
List
First
Remove All After
collections.abc.Iterable
ValueError
collections
index
Iterable