To compare two lists in python or scratch we can use a for loop and a conditional if statement. This video is at the request of meme xo, and amended to include the more efficient code suggested by bachir basha, so thank you both for your interest.
#python #coding #pythontutorials #programming #pythonprogramming
website: http://www.drcodie.com/
0:00 video start
0.10 scratch
1.36 python
1:46 python code
2:43 find same values using two for loops
4:13 saving common values
6:18 make unique answers
7:26 numbers as strings
6:47 efficient way using one for loop
If you want to learn to code, these Python tutorials are for you. Hi, my name is Dr Codie and I am the python coder. Codie means ‘helpful person’ and we want to help you not just learn python but to enjoy learning python.
In my experience, success with coding comes down to getting the fundamentals right. You can then move onto advanced programming concepts and skills. You will understand how to do simple coding tasks and then we will show you the simple methods of putting lines or blocks of code together using this knowledge. Practice is essential for your skills to grow but again do not fear we will help you practice as well.
Learn to understand the logic and design aspects needed to become a good programmer, let us help you practice to keep improving and don’t forget the bonus of seeing first hand how to build the code and possible stumbling blocks when we explain the answers to the tasks set within the tutorial. You do not need to watch the whole video but if you do you will improve as a python coder!
SUBSCRIBE and you will know when the videos are available! Good luck!
Find us at:
Pinterest: / codie0274
Twitter: / prepare15978094
Instagram: / drcodiecoder
Linkedin: / dr-codie-745021166
YouTube Channel: / @drcodie
On this page of the site you can watch the video online Learn Python After Scratch - Common Values in Two Lists with a duration of hours minute second in good quality, which was uploaded by the user Dr Codie 03 August 2020, share the link with friends and acquaintances, this video has already been watched 734 times on youtube and it was liked by 24 viewers. Enjoy your viewing!