TOC: 1. Python is interpreted language - what does it mean? (2:29) 2. Python is dynamically typed- what does it mean? (2:41) 3. Python can be slow - what are some ways to optimize? (3:06) 4. What is python dictionary data type? (3:26) 5. What is *args and **kwargs? (3:47) 6. What is a negative index in python? (4:12) 7. Try..except..else statement (4:47) 8. What is floor division //? (5:21) 9. How you randomize a list? (6:02) 10. How is memory managed in python? (6:30) 11. Are argument in python pass by value or by reference? (7:11) 12. What are the immutable and mutable data types in python? (7:28)
This video is loads of help! As someone looking for an entry level python job, this is definitely a great help for interview prep and what to expect. I've been coding for almost a year now, but the coding interviews are what scare me most lol
Q. Randomize a LIST from random import shuffle x = [[i] for i in range(10)] shuffle(x) # print x gives [[9], [2], [7], [0], [4], [5], [3], [1], [8], [6]] # of course your results will vary
Nice video! I had a Python specific interview not too long ago and was asked some other questions that I felt were pretty important for Python devs to know too, eg. What is the GIL?, What are differences between Python 2/3?
Hey Josh! I’ve been watching your videos for quite a while now, and the level of value I get out of your channel is massive!! I’m a Computer Science major and love to code, so I would absolutely love that Team Treehouse shirt! Thanks man!
You're the man! Tons of drive and pretty smart to boot! Thanks for the videos, they have been a big inspiration to me and my future career. Keep them coming!
Wow, I didnt expect to know the answers to most of these questions but I did. Im currently taking a class that is being taught for the first time at my school and originally wasn't supposed to have python in it. Ended up being a lot of python which Im happy about just surprised about. Still, coming from a c++ class where I knew that there was much more for me to learn, it didnt seem too inspiring just learning the same things but in python. But now that I see that I know a lot of the stuff in this video, while I know there is so much more to learn, I at least see the light at the end of the tunnel. Nice video.
I'm getting fairly comfortable with Python after using it for a year and some change and working on my own projects. It's my understanding that it is tough to get a job just as a Python developer. Is that true at all? I hear most people saying you need to know Java or another popular language to land a job as a developer.
Python in itself is useful, but you need to be able to use it for it's utility. Machine learning, data science, AI, Web dev. Javascript is a good language to pair with it.
No, we can't, actually, a set has unique characters, it doesn't randomize anything. Instead we can import the random module and use it this way: from random import shuffle nums = [1,2,3,4,5] nums.shuffle() print(nums) #Output: a shuffled list maybe : [1,5,4,2,3]
Trust me I know the answers of all of the questions you have mentioned but again I am unemployeed. Need help please if you could make me meet a few recruiters.
Actually the questions aren’t bad, they can be asked for every level of Python developers, but your answers is so junior… Answers are not for middle or seniors. In any case this video will be helpful for juniors, so I will say “thanks” =)
This video isn't sponsored - I really had no idea they were sending me a box. Just want to be as transparent as possible.
opacity: 0.1;
haha I love the css joke.
TOC:
1. Python is interpreted language - what does it mean? (2:29)
2. Python is dynamically typed- what does it mean? (2:41)
3. Python can be slow - what are some ways to optimize? (3:06)
4. What is python dictionary data type? (3:26)
5. What is *args and **kwargs? (3:47)
6. What is a negative index in python? (4:12)
7. Try..except..else statement (4:47)
8. What is floor division //? (5:21)
9. How you randomize a list? (6:02)
10. How is memory managed in python? (6:30)
11. Are argument in python pass by value or by reference? (7:11)
12. What are the immutable and mutable data types in python? (7:28)
Thanks
good for you
This video is loads of help! As someone looking for an entry level python job, this is definitely a great help for interview prep and what to expect. I've been coding for almost a year now, but the coding interviews are what scare me most lol
Q. Randomize a LIST
from random import shuffle
x = [[i] for i in range(10)]
shuffle(x)
# print x gives [[9], [2], [7], [0], [4], [5], [3], [1], [8], [6]]
# of course your results will vary
The pass-by-value and pass-by reference explanation felt a little ambiguous, can you expand a little more?
Python's where it's at....yah know
Nice video! I had a Python specific interview not too long ago and was asked some other questions that I felt were pretty important for Python devs to know too, eg. What is the GIL?, What are differences between Python 2/3?
I think Gil is for multi/parallel processing. Python 3 uses parentheses for the print function.
I think GIL is more middle-level question. But it's good to know what it is.
Nice vid. Like the different camera angle. Python is where it's at!!!!!!
Didn't expect these questions to be that easy
Hey Josh! I’ve been watching your videos for quite a while now, and the level of value I get out of your channel is massive!! I’m a Computer Science major and love to code, so I would absolutely love that Team Treehouse shirt! Thanks man!
You're the man! Tons of drive and pretty smart to boot! Thanks for the videos, they have been a big inspiration to me and my future career. Keep them coming!
Thanks
Congrats on the 20k. Python is great.
Bro I been following you since reddit 400 subscribers “I just started my channel what do you guys think “ days
you still watch him?
Thank you I truly enjoy your videos.
Amazing video man
A bit of impostor syndorme right here : 1:53. Grats for the 20k. You deserve much more.
I'm working on it. I still don't feel like I "deserve" it
All my confusions in solved in one video. You are the best man
Wow, I didnt expect to know the answers to most of these questions but I did. Im currently taking a class that is being taught for the first time at my school and originally wasn't supposed to have python in it. Ended up being a lot of python which Im happy about just surprised about. Still, coming from a c++ class where I knew that there was much more for me to learn, it didnt seem too inspiring just learning the same things but in python. But now that I see that I know a lot of the stuff in this video, while I know there is so much more to learn, I at least see the light at the end of the tunnel. Nice video.
Hey man! I love your PC setup. Do you play any games? I'm just curious 😜
ur a champ
love your channel
Great good job ..discussed so much tricky questions... appreciated 👍
thanks helpfull
Useful video, thanks!
Keep the train up Josh =), keep the daily videos coming.
I'm getting fairly comfortable with Python after using it for a year and some change and working on my own projects. It's my understanding that it is tough to get a job just as a Python developer. Is that true at all? I hear most people saying you need to know Java or another popular language to land a job as a developer.
Python in itself is useful, but you need to be able to use it for it's utility. Machine learning, data science, AI, Web dev. Javascript is a good language to pair with it.
Good job brotha keep it up
Mutable (Changable) - Lists Sets and Dictionary
Immutable (Non Changable) - String Numbers And Tuples
ua-cam.com/video/69NBj1tCkcU/v-deo.html
Hey great vid man! For the randomizing a list of integers one question a code example of the solution would've been useful.
I meant to put that up on the screen but I forgot!
Joshua, are you self-taught? Which languoages do you know? If you're self-taught, tell me if you'd like to go to college?
Please more of these kind of videos
Useful
Is your favorite color blue?
I was asked about negative index. I did not understand the question when it was asked.
i clicked this again, so i tweeted it again
6:06 we can also print(set(LIST)) ... (not everytime) ;)
No, we can't, actually, a set has unique characters, it doesn't randomize anything.
Instead we can import the random module and use it this way:
from random import shuffle
nums = [1,2,3,4,5]
nums.shuffle()
print(nums)
#Output: a shuffled list maybe : [1,5,4,2,3]
Thanks... I am 12, but this gets me started early!
This is nice. I like ☺
Python’s where’s it at! :)
it was full
Been here since WoW trick videos.
Damn, I had the dictionary question in an internship interview, but had no idea... wish this video came out a couple weeks ago!
Everything in Java is also pointing to an object but it still pass by value, I believe Python is pass by assignment.
Left a comment
Cool video
Trust me I know the answers of all of the questions you have mentioned but again I am unemployeed. Need help please if you could make me meet a few recruiters.
Actually the questions aren’t bad, they can be asked for every level of Python developers, but your answers is so junior… Answers are not for middle or seniors. In any case this video will be helpful for juniors, so I will say “thanks” =)
After learning python how i switched to Django..Is there any source to learn Django online?
how did you get those wallpapers?
I tweeted this
Is there any scope in lambda school if i am from india
Is lambda school online?
This payment option is currently only available to US citizens. International students are required to pay tuition up-front.
this is way too basic... can you post an updated video if possible?
Yeet (love the videos)
2:10
Python also has immutable tuples, frosensets. You didn't answer the question.
Very poor quality video. Huge, useless intro. Some questions were quite dumb and some, that were ok actually lacked a proper answer.
Ok
No sane interviewer will asks these dumbed questions. Learn data structures and algorithms people
But ive been asked these before
These questions indeed seem rudimentary, however he did mention they could be potential questions for a junior level position (entry).
BS channel