@programmings360: who snuck that semicolon in there__ 😂👀 #computerscience #coding #softwareengineer #python #stem#OnlyEngineersUnderstand #java #programming #memes #foryou #foryoupage #javascript #python #webdev #viral

Programmings 360
Programmings 360
Open In TikTok:
Region: PK
Saturday 04 October 2025 01:19:55 GMT
110007
4365
76
116

Music

Download

Comments

abdulmaliksulema1
Abdul Malik Suleiman :
so why change the condition?
2025-10-04 12:41:14
26
perplexer3
Perplexor :
I couldn't do it cuz I don't do javascript.
2025-10-04 15:22:36
5
funflixoriginal
iusearchbtw :
now try to do a leetcode question
2025-10-04 10:13:03
92
profy256
Profy :
he wrote "elif" instead of if
2025-10-04 15:51:29
8
ajayi__
ajayi__ :
2nd line, it has to be a , and not a .
2025-10-04 17:29:14
4
gahara31
gahara31 :
just remove the else completely and just return n1, or if can make it more pythonic like getMax(n1,n2): return n1 if n1 > n2 else n2
2025-10-05 08:58:48
0
princemarisham
mkude :
all along was the colon problem on the def 😂😂
2025-10-05 17:50:23
0
soyavallinas
Soya Vallinas :
if (n1 > n2) return n1 # the biggest else not elif
2025-10-07 11:04:00
0
hybridns1
Hybrid :
It took me 2 seconds bc i cant code
2025-10-06 02:48:10
1
kalmac7
Ayman :
elife to else
2025-10-07 06:55:41
0
fxralbs
FxralBS :
just delete lines 1-8 and use the max function, thats even faster lol
2025-10-04 20:42:19
0
serialcoder.io
serialcoder :
def getMax(n1, n2): return max(n1, n2)
2025-10-05 21:15:49
1
conclave_x
CONCLAVEX 👑 :
it's python
2025-10-06 06:18:41
0
atetheone
atomic :
The else is useless by the way, you can remove that line too
2025-10-04 20:42:24
0
gladiatorhu88
gladiator :
print(7)
2025-10-05 13:53:12
0
aizen31337
Aizen :
Line 2 is buggy 🙂 this : instead of ; and comma instead of dot
2025-10-06 08:08:57
0
xynk84
f :
won't n1 and n2 throw an error as in not a number? also the . instead of , on that line
2025-10-05 14:15:36
0
muhammedhamza09005
Muhammed Hamza :
syntax error at line 2
2025-10-04 14:32:03
4
____9t1
Mobile_Programmerz96 :
Rate my code in my profile
2025-10-05 13:22:22
1
e._._f
Evan 🐊 :
No need for the else due to the return so could just be unindented line doing return n1 thanks to early returning
2025-10-05 09:08:46
0
mwasileprosper
Prosper :
very simple python codes😅😅
2025-10-04 19:45:55
0
tiktok_scrolling_manager
SORRY FOR MY BAD REPLY 🤗 :
that's the easiest question I have seen so far
2025-10-04 18:10:46
0
alphamike123
Sigma :
easy peasy 👍
2025-10-06 09:18:49
0
awais_gilal
M. Awais :
change . Dot to into comma , def getMax(n1. n2) into def getMax(n1, n2)
2025-10-04 12:49:08
0
zxxzxzxxzxv
Carl :
I'm a beginner at phyton and C and I solved it!
2025-10-05 07:26:11
1
To see more videos from user @programmings360, please go to the Tikwm homepage.

Other Videos


About