How to confuse a Python Developer?
#shorts
In this video, we will see how you can easily confuse a python developer!
All the source code and other material will be uploaded on codewithharry.com as and when available!
►Check out my English channel here: / @programmingwithharry
►Instagram: codewithharry
python, C, C++, Java, JavaScript, and Other Cheetsheets [++]:
Playlist: • Coding CheatSheets 🧾 b...
►Learn in One Video[++]:
Python[15 Hr] - • Python Tutorial For Be...
Python Advance[3.5 Hr] - • Python Programming Cou...
Python[1 Hr] - • Learn Python In Hindi ...
Python[2 Hr] - • Python Tutorial In Hin...
Python[15 Min] - • 15 Minute Python Tutor...
JavaScript[1 Hr] - • JavaScript Tutorial
C[1.3 Hr]- • C Programming Tutorial...
php[1 Hr] - • Learn Php In One Video...
php[2.3 Hr] - • Php Tutorial for Begin...
php[Project]- • Login And Registration...
HTML[30 Min] - • HTML 5 Tutorial For Be...
CSS[8.5 Hr] - • CSS Tutorial In Hindi ...
CSS[1.4 Hr] - • CSS 3 Tutorial For Beg...
Wordpress[3.2 Hr] - • How To Make a WordPres...
Angular[2 Hr] - • Angular Tutorial in Hindi
Java[2.3 Hr] - • Java tutorial in hindi 🔥
Web Scraping[1 Hr] - • Web Scraping Tutorial ...
MongoDB[2 Hr] - • MongoDb Tutorial For B...
Numpy[1 Hr] - • Numpy Tutorial in Hindi
Android Dev[12 Hr]- • Android Development Tu...
Linux[1 Hr] - • Linux Tutorial For Beg...
JQuery[1.1 Hr] - • jQuery Tutorial For Be...
Git and GitHub[1.1 Hr] - • Git & GitHub Tutorial ...
►Complete course [playlist]:
React - • React Js Tutorials in ...
Python- • Python Tutorials For A...
OOP Python- • Object Oriented Progra...
Java - • Java Tutorials For Beg...
JavaScript- • JavaScript Tutorials I...
PHP- • PHP Tutorials in Hindi
C- • C Language Tutorials I...
C++- • C++ Tutorials In Hindi
Git & GitHub- • Git and GitHub Tutoria...
Android Dev- • Android Development Tu...
Python GUI- • Python GUI: Tkinter Tu...
Web Development- • Web Development Tutori...
Python Django - • Python Django Tutorial...
Projects Using HTML, CSS & Javascript- • Projects Using HTML, C...
Data Structure and Algo - • Data Structures and Al...
Follow Me On Social Media
►Website (created using Django Rest & Angular) - www.codewithharry.com
►Facebook - / codewithharry
►Instagram - / codewithharry
Twitter - / haris_is_here
Comment "#HarryBhai" if you read this 😉😉
Пікірлер: 909
comma ( , ) is missing b/w Jerry and Carry. "Code never lies" 😂
@pranavprajapati5737
2 жыл бұрын
but harry does
@binarysaiyan9389
2 жыл бұрын
Lul
@caricatureadda3867
2 жыл бұрын
rohit..rohit raj...mai comma dalega nahi sala 😂
@abhisekupadhaya
2 жыл бұрын
🤣
@itzzzyashu
2 жыл бұрын
😂🤣😂🤣😂
Legends opening comment section as soon as hears the question 🤣🤣
@littleegg8513
2 жыл бұрын
bhai unhe legends nhi nalaik kehete hain
@solenoid6545
2 жыл бұрын
I got the answer and to confirm it I opened comments section
@dipankajsingh3019
2 жыл бұрын
🤣🤣
@codwebgamer8592
4 күн бұрын
ultra legends opening comment section to answer the question.
You : forgot to add a, Your code : Ekdin mar jayega 🤣
@emh1164
11 ай бұрын
harry mast teacher ha pura developer harry bhai sa dartaha
Because jerry and carry were 2 souls in 1 body 😂
@8-bitrage982
2 жыл бұрын
lol but python starts counting from 0 like in whole numbers and count's comma's as list length
@rexes6000
2 жыл бұрын
@@8-bitrage982 I know. You just didn't get the joke.
@8-bitrage982
2 жыл бұрын
@@rexes6000 got it but there were 3 comma's and python count's the comma's so the answer was 3
@rexes6000
2 жыл бұрын
@@8-bitrage982 Watch the video carefully. There are 2 commas, not 3. And python doesnt counts commas, it counts the element after the comma. Since, "jerry" and "carry" were not seperated with commas, it joined the 2 strings together to make it a single element.
@8-bitrage982
2 жыл бұрын
@@rexes6000 i did the practical using 4 commas and the answer was 4 try doing the practical then tell
"Jerry" and "carry" implicitly converted into a single string
@munna-yt0407
2 жыл бұрын
Tum to bade havvy developer ho ji
@VenomGamingnp
2 жыл бұрын
This way it should be 4
@mrrobot4054
2 жыл бұрын
@@VenomGamingnp can't you see that comma is missing
@Mayukh04
Жыл бұрын
Comma is missing between Jerry and Carry so Python is accepting 2 strings as a single unit string so length is 3..BTW I just got into Python I am kid lol
you didn't put a comma between "Jerry" and "Carry" so it evaluates to "Jerry""Carry" (a single element) and hence the length is 3.
@prakharagrawal6168
2 жыл бұрын
no it evaluates as "JerryCarry"
@hritabratamajumder3804
2 жыл бұрын
Yes exactly it considered as one element
@abhinavmalviya6934
7 ай бұрын
numering in python starts with 0 like 0,1,2,3 i am so late
Due to not seperated list by comma example : [ "Harry", "Lerry", "Jerry" + "Carry"] Len function adding two string if it is not seperated by comma in the list but other hand if it's a string then it will Count Every Character From the string but if any Variable contain multiple string then it will count string words: example: var = "Harry", "Lerry", "Jerry" + "Carry" print(var) Output is : 3 Var = "Harry" "Lerry" "Jerry" "Carry print(Var) # It will count the character due to does not seperated by any comman. Output is : 20
Harry bhai trying to hide his smile while he leaves a comma intentionally🤔🤔
I Think You Forgot A Comma Between The Strings "Jerry" And "Carry", It's String Concatenation
@dastagirwajahat
2 жыл бұрын
If is intended
@amitjha1837
2 жыл бұрын
But, where is the concatenation operator?
hahahah I was confuse but I watched it again and realized he didn't insert comma( , ) after Jerry
One of the irritating scenes when you get invalid syntax after multiple tries. 😓
Jerry aur carry ke beech me comma nahi hai
"Jerry" and "Carry" is not seperated by comma thus resembles a single element
forget to add , after jerry
as i am a class 9th student it comes 3 because when you use len() comand it will print the last index value of the list and the index of the list stat from 0 not 1 so , len(1) = Total number of element is the list - 1 => 4-1 = 3 , Hence proved ........
Because the last element of the list is "JerryCarry" not "Carry" This is because comma (,) was not added after "Jerry"
me after checking my cgpa: 0:14
@1minchesster
Жыл бұрын
Underrated
@kuldeepsahoo4680
7 ай бұрын
😅
Harry Bhaiya Python Gamming tutorial dalo plz
Simple, comma is missing between Jerry and Carry which acts as a separator for lists in various programming languages including Python. Thus the AI cannot separate and count Here and Carry as two different words and the length returns to be 3
This is because you havent added comma between " jerry" and " carry" Thats why they are converted into single string ie. "jerrycarry".
There is a comma missing after Jerry and before Carry, hence both are taken as a simple list item
@jeelani_shah2258
Жыл бұрын
kzread.info/dash/bejne/k4qIudqtl9fNcaw.html
U didn't use , before carry isliye 3 aa rha he
15 second mein galti pakad li maine 😂 comma bhul gaye
Missing comma (,) 🤣🤣 Nice acting broo..👍🏻👍🏻😅
Because - In python counting starts from zero
@shadowgamer5971
6 ай бұрын
No, this rule is only for index, Here he didn't put a coma between "jerry" and "carry" so it's like "jerry""carry",that is why len is 3
Humse chalaki nahi chalegi bhaiya..😅😂
Indexing will be like 0,1,2 and hence length is 3
I am not a Python developer but i think u don't write one a komha aftet Jerry. Am i right???
@Anonymous-wz9rk
2 жыл бұрын
In any language the count of a list takes the first term as zero(0), second term as(1), third as(2), fourth as(3), that's why
@antarbanik098
2 жыл бұрын
You are right
@YouKnowWho288
2 жыл бұрын
@@Anonymous-wz9rk No, bro.
@adityachache
2 жыл бұрын
@@Anonymous-wz9rk length = no of item in that list What you're saying is indexing not length
@Anonymous-wz9rk
2 жыл бұрын
Ohhk dude mb
0 is also counted
@rudraray1665
2 ай бұрын
len() function doesn't work like that bro
@_SushmaGoyal
2 ай бұрын
tell me you're not a python developer before saying it
@MonkeyDluffy_111
2 ай бұрын
@@_SushmaGoyal I'm not, but listen in linked list program you use pop() keyword right? There you can add pop(0) or pop(1) or any number u want in the specific range so i told (0) does counts
@MonkeyDluffy_111
2 ай бұрын
@@rudraray1665 but pop() does right?
3 hi aayega because 3rd and 4th item ke bich comma nahi hai, python me kisi bhi list item ko comma se hi separate kiya jaa sakta hai agar do list item ke bich me comma nahi lagaya jata to in dono items ko ek hi item consider karega. You are doing a great work Harry Bhai hat's off ❤ #harrybhai
ou didn't put a comma between "Jerry" and "Carry" so it evaluates to "Jerry""Carry" (a single element) and hence the length is 3.
In list every , seperated value count as 1 length
In python, indexing starts from 0 . So, the first string was set to 0th index and the last string was set to 3rd index
@Praxss
2 жыл бұрын
In every language index starts from 0
because python’s list always start with counting from 0 and then 1 then 2 then 3, so Harry is 0 then Larry is 1 then Jerry is 2 then Carry is the 3rd that’s why it print’s the length of the list to be 3 Tell me if i am correct or wrong
very important part thankyou
Jaaduu haryy bhai jaaduuu😂😂
Bhai Jerry ke Baad coma missing hai
Bro MARRY REHA GYA 😂🤣
Because of index Start from 0 to n. Means 3 ka matlab hai 0,1,2,3
Missed the comma between 🐀 and 🛍
Realized on first try that there is no comma between "Jerry" and "Larry"
"Jerry" and "Carry" have no comma between them.
Because in python the counting is always starts from 0 instead of 1 so if list has 4 elements then it's length should be 3
Because you missed a comma between "Jerry" and "Carry"
Harry ,Larry, jerrycarry sahi to hai😂😂
Q K array Hai, Indices 0 1 2 3
😂😂😂 You got me.
Bro making the hybrid of a programmer (Harry) , a bodybuilder (Larry), a cartoon character (Jerry), and a roaster (Carry). ☠️
kyuki last ke 2 me comma nhe hai😂😂😂figured it out in 6 seconds
no comma between jerry and carry
Jerry and Carry: Hum dono aik hi unit hain
Jerry ke baad comma nahi hai, canvt believe i caught it in first try
There is a missing comma between "Jerry" and "Carry."
Because compiler operates in binary! Starts interpreting with Zero! If there are 4 elements in the list then it starts with zero, one, two ,and three! As return Three!
List counting starts from ( 0,1,2,3 )
Because indexing in python is starting with 0.
Test Lany ka ik New Method. Amazing. Thank You Harry Bhi.😊
3 (There is no seperation between the last two lines)
It is because of the comma missing in between "Jerry" and "Carry" so it will be considered as one item only. Tell if correct or not.
Yrr Harry baahi Oracle ka tutorials laoo yr
I know they show 3 because forward ⏩ indexing start as 0123
Bcoz you have not given comma after "Jerry"😂
, missing after jerry
Because in python the counting is 0,1,2,3 🎉
it can be because : length of list is 4 the compiler subtract 1 from the list
No comma after "Jerry" so it is treating Jerry and Carry and one
As the middle element became tuple(by adding comma) so the output came as 3
Jerry ke baad comma nahi hai iske Karan wo ek hi consider ho rahe
Kyu ki most of the programing languages me counting 0 se start hoti h eg; 0, 1, 2
@KRISHNA-jy3dd
9 ай бұрын
Nope wrong Here he left a comma which is why jerry and carry were counted as a single element
Yah indexing ki vajah se hua Hai python main indexing zero se start hoti hai isliye 0,1,2,3 to total elements 3 dikha raha hai but actually four hai direct account karte Hain tho
because it starts counting from 0
Comma Mein nhi jao comma(,) is missing
You missed a comma after Jerry😊got caught easily
You are the best 😊
In list counting starts with zero like 0,1,2,3 so first name's index numver was 0 and last which was on fourth got 3...so it shows 3 as length
u didnt put comma between carry snd jerry i saw that 😂
indexing start from 0
Sir i could may not be confused 😂
Jerry ke baad comma nhi he bro, to uske wajah se vo sing string ban gyi that's why usme length 3 aa rhi he. Check if you don't believe!
Len function is used to count the no. Of elements.
Where is the comma between Jerry and carry 😂😂😂
Because you missed a comma....itne fuddu bhi nahi hai ham 😂😂
The two strings without comma in between got concatenated implicitly
Counting starts from 0 in python (012345....)
b/w Jerry and Cary makes the code to give output 3 😂😂😂you almost make me confuse man😅
kyoki list me ginti 0 se start hoti hai 0,1,2,3
@smartlogicsim9847
Жыл бұрын
Len() starts with 1 bro
Dude this is so ingenious. I never knew this trick though I know python so much. You have my thanks
In python counting starts from 0
I have a Challenge For You sir : Write This Code True,True,True == (True,True,True) in python and Why it is output
@alfaizkhan2925
2 жыл бұрын
I am a java programmer Lol
@alfaizkhan2925
2 жыл бұрын
You Ans In Java boolean tr = True == (True*[3]) System.out.println(tr.substring(2)); tr = tr.replace('2', '2.4'); The ans in java is False/True
Aakhri ke do main comma nhi laga hain so they are considered as a single value that's why the length is shown 3
The God of code harry
0-herry 1-jarry 2-lerry 3-carry
Starts with 0 and finish with 3.(0,1,2,3) = total 4
@kunalnasa572
2 ай бұрын
Wow😮😮😮
@_SushmaGoyal
2 ай бұрын
len doesn't work like that 😅
@Legend-cf2ot
2 ай бұрын
That's the index number of element, here length is 3 cuz there isn't a comma separating last 2 elements
It count the index value . Index value start from 0
Because there is no comma between "Jerry" and "Carry". So the it counted both of them as a single element instead of counting them as two different elements.
No that's not about comma It is because in pythan the length is counted like 0123. That's why it is showing 3 understood
indexing starts from 0, that's why
Comma after jerry😂😂
harry bhai hur ek programming language (JavaScript, Python, Java etc.) and hur ek technology ke uper present updated version ke sath full 15 , 20 or even 30 hours ka long course banayo please 🙏🙏🙏 LOVE YOUR VIDEOS ♥♥♥
*You forgot comma*