who snuck that semicolon in there?? 😂👀 #computerscience #coding #softwareengineer #python #stem

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Man this isn’t a bug, that’s a syntax error.

SurfsUpSeth
Автор

bootcamps be like: "solve this and google will hire you for $500, 000 a day"

SirXtC
Автор

"fix errors"

**deletes code**
**writes** "print(max(5, 7))"

eBaHaTTynou
Автор

Bro thought it's C then recalled that it's python actually 😂

Deniz-brnq
Автор

The bug is, you're using python.

DJRikkiBee
Автор

I corrected this in my head the first 3 seconds of looking at it😂

samroy
Автор

Would be easier if :
Def getmax(n1, n2):
If n1<n2:
Return n2
Return n1

mrfishym
Автор

I would prefer to swap the returns for cleaner code.

if(n1 > n2):
return n1
else:
return n2

It is easier to read when the return has an order sequence like in the if condition

andreycherednichenko
Автор

That semicolon got me confused and rethink everything about python 😂🤣

FinanceNFun
Автор

Everyone: i was getting errors because i forgot to put a semicolon.
He: i got an error because i forgot to remove a semicolon.

himayoun
Автор

"Alright video is over, now give it back"

second
Автор

syntax errors the code will not run to be considered a bug

brbl
Автор

Man i wish coding interviews were this easy

سيمفوني
Автор

Where can I find you? That was too easy, I need money 😭😂

Cretaelx
Автор

That's some sophisticated function

wenterinfaer
Автор

This is the shit youre gonna be doing in that job that you solved 1000 leetcode questions to prepare for

yektaagra
Автор

Just use existing function: print(max(5, 7))

eugenepilat
Автор

Turn period into comma, change elif into else, change return n2 to n1

trevboski
Автор

You can also remove that else part and directly return the second return statement.

rakeshkumarrout
Автор

Currently, 29 of age. Found out i like ict alot and now on my journey to learn python. 🐍 its so fascinating To learn all its implementations

yardman
join shbcf.ru