5 Mini Python Projects - For Beginners

  Рет қаралды 2,756,511

Tech With Tim

Tech With Tim

Күн бұрын

Welcome back to another video! In this video, I will be showing 5 mini python projects for beginners.
I'll be showing you how I would create a template from scratch. Using this template, you can keep building and practicing your programming skills.
💻 AlgoExpert is the coding interview prep platform that I used to ace my Microsoft and Shopify interviews. Check it out and get a discount on the platform using the code "techwithtim" algoexpert.io/techwithtim
📄 Resources 📄
Projects Code Download: github.com/techwithtim/5-Pyth...
Download VSCode: code.visualstudio.com/
Fix Pip (Windows): • How to Install Pygame ...
Fix Pip (Mac/Linux): • How to Install Pygame ...
Fernet Cryptography Documentation: cryptography.io/en/latest/fer...
⭐️ Timestamps ⭐️
00:00 | Introduction
02:09 | List of Projects
02:53 | Environment Setup
04:51 | Project #1 - Quiz Game
25:05 | Project #2 - Number Guessing Game
42:53 | Project #3 - Rock, Paper, Scissors
57:44 | Project #4 - Choose Your Own Adventure
01:09:53 | Project #5 - Password Managers (Most Advanced)
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
💰 Courses & Merch 💰
💻 The Fundamentals of Programming w/ Python: tech-with-tim.teachable.com/p...
👕 Merchandise: teespring.com/stores/tech-wit...
🔗 Social Medias 🔗
📸 Instagram: / tech_with_tim
📱 Twitter: / techwithtimm
⭐ Discord: / discord
📝 LinkedIn: / tim-ruscica-82631b179
🌎 Website: techwithtim.net
📂 GitHub: github.com/techwithtim
🔊 Podcast: anchor.fm/tech-with-tim
🎬 My KZbin Gear 🎬
🎥 Main Camera (EOS Canon 90D): amzn.to/3cY23y9
🎥 Secondary Camera (Panasonic Lumix G7): amzn.to/3fl2iEV
📹 Main Lens (EFS 24mm f/2.8): amzn.to/2Yuol5r
🕹 Tripod: amzn.to/3hpSprv
🎤 Main Microphone (Rode NT1): amzn.to/2HrZxXc
🎤 Secondary Microphone (Synco Wireless Lapel System): amzn.to/3e07Swl
🎤 Third Microphone (Rode NTG4+): amzn.to/3oi0v8Z
☀️ Lights: amzn.to/2ApeiXr
⌨ Keyboard (Daskeyboard 4Q): amzn.to/2YpN5vm
🖱 Mouse (Logitech MX Master): amzn.to/2HsmRDN
📸 Webcam (Logitech 1080p Pro): amzn.to/2B2IXcQ
📢 Speaker (Beats Pill): amzn.to/2XYc5ef
🎧 Headphones (Bose Quiet Comfort 35): amzn.to/2MWbl3e
🌞 Lamp (BenQ E-reading Lamp): amzn.to/3e0UCr8
🌞 Secondary Lamp (BenQ Screenbar Plus): amzn.to/30Dtafi
💻 Monitor (BenQ EX2780Q): amzn.to/2HsmUPZ
💻 Monitor (LG Ultrawide 34WN750): amzn.to/3dSD7tS
🎙 Mic Boom Arm (Rode PSA 1): amzn.to/30EZw9m
🎚 Audio Interface (Focusrite Scarlet 4i4): amzn.to/2TjXsih
💸 Donations 💸
💵 One-Time Donations: www.paypal.com/donate?hosted_...
💰 Patreon: / techwithtim
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
⭐️ Tags ⭐️
- Tech With Tim
- Python Projects
- Beginner Projects
- Python For Beginners
- 5 Mini Python Projects
⭐️ Hashtags ⭐️
#TechWithTim #PythonProjects

Пікірлер: 1 900
@TechWithTim
@TechWithTim 7 ай бұрын
Start a high paying tech career making $60k+/year with NO DEBT: coursecareers.com/a/techwithtim?course=software-dev-fundamentals
@kingsleyoluchukwu9712
@kingsleyoluchukwu9712 7 ай бұрын
😊 this video has helped me understand things which were a pain in the neck, Thanks Tim
@Najeebbaloch976
@Najeebbaloch976 3 күн бұрын
Sir very informative video , sir your voice is being very sharp to listen soften it by some software
@AlexRobles-tl4jd
@AlexRobles-tl4jd 2 жыл бұрын
As a beginner, this was the first time coding felt more fun than feeling like a grind.
@xxrichyxx6135
@xxrichyxx6135 2 жыл бұрын
Same here man
@user-bc7kd6iz1r
@user-bc7kd6iz1r Жыл бұрын
same
@awab1605
@awab1605 Жыл бұрын
how is coding going on with you now? are you confident yet?
@awab1605
@awab1605 Жыл бұрын
@@user-bc7kd6iz1r how is coding going on with you now? are you confident yet?
@AlexRobles-tl4jd
@AlexRobles-tl4jd Жыл бұрын
@@awab1605 It's been a slow process, I would still consider myself a beginner. But I'm much more consistent than I use to be.
@jerryexe
@jerryexe 2 жыл бұрын
i thought i knew little in python but now i realized i can do most of these project...proud of myself:)
@demiphotomode
@demiphotomode 2 жыл бұрын
Good for you mate. I am slightly more experienced with Python now after using it for few years but I still come back to watch Tim's beginner videos. Have learned a lot from this guy and would support him anyway I can.
@jerryexe
@jerryexe 2 жыл бұрын
@@demiphotomode frl ...u have any books on Python modules
@jaycobhamso1983
@jaycobhamso1983 2 жыл бұрын
Python crash course is a way to go after that automate boring stuff
@jerryexe
@jerryexe 2 жыл бұрын
@@ikennamanagwu9646 thanks Amma check it out
@ThePhantomCoder
@ThePhantomCoder 2 жыл бұрын
Same here, I'm going to try the password manager myself
@praiseadigun5723
@praiseadigun5723 Жыл бұрын
I honestly think this guy has being the best teacher of phython I have seen so far. He explains and shows how everything works easily.. Big thumbs up mate
@lithmiperera2818
@lithmiperera2818 7 ай бұрын
i knoww
@charly7842
@charly7842 2 жыл бұрын
This project course is great for beginners, it teaches you Python in a very exciting manner. Wrote my first program with the help of this video. Thank you so much Tim !!!
@xiolared123
@xiolared123 2 жыл бұрын
You are a great facilitator. You're one of the only coders that is coherent, clear, and pleasant to follow. Keep it up! I really appreciate you :)
@dwmkryft
@dwmkryft 2 жыл бұрын
Now this is what all programming lessons should be! Not hello world or explaining what class is etc etc. Just SHOW and THEN nest explanations in the lesson. Great stuff!
@HDArtzy
@HDArtzy Жыл бұрын
indeed, 1 year in guy here and i can say you learn so much more just interacting/debugging your code and truly seeing how the languages variables and functions become constituents of other parts, gluing the script together.. :)
@georgejetson9801
@georgejetson9801 Жыл бұрын
Agree. Some go on an on before you actually do anything.
@charg1nmalaz0r51
@charg1nmalaz0r51 11 ай бұрын
@@levmikhov disagreed i learnt everything from videos like this
@user-do3dw3mc4s
@user-do3dw3mc4s 9 ай бұрын
To be sincere this is the only python instructor that has taught me alot In a very short while, I've been battling the switch to tech and for over 7months I couldnt grasp anything coz I'm not a geek in tech, I've been struggling to understand how all this coding ish can be applied to real problems till I stumbled on his lessons and believe u me, this is day two and I have done over 4 quizzes.... He's so straight to the point and I recommend his tutorials for any beginner in tech like me who is struggling to catch it, his tutorials has given me rhythm, just wen I was giving up on the tech journey, he. Gave me hope.... He's an awesome tutor😊
@akinlolutolu-boluwatise7821
@akinlolutolu-boluwatise7821 Жыл бұрын
I watched this because coding has felt more like a chore than fun recently, I had fun following along and trying to add my own tweaks. I think it's funny how the same thing happened to both of us when we first tried the number guessing game in the while loop(I mean with the numbers)
@Patchy23
@Patchy23 2 жыл бұрын
This is a great tutorial, very informative! I've been working with python for a few weeks for my college course but we haven't had much stuff to do outside of the 1-2 hours a week in class. This video has actually been great to help me understand python better and study. You did great with this one :D
@retrorewind6042
@retrorewind6042 2 жыл бұрын
I actually used the password manager as my first project a while ago before even finding this video. There was a lot that i added like features that your project doesnt have but its cool to see the similarities between the two. These are great beginner projects!!
@42n8dzydoo
@42n8dzydoo 2 жыл бұрын
Thank you for this. Though, I learnt python theoretically for my classes, I haven't been using it much and I'm losing the skills. This has helped me.... As a plus, I created the number guessing game to only take an initial guess and derive the random number using bisection method!
@influencija
@influencija Жыл бұрын
It's possible that rock/paper/scissors is a tie. Great video, I learned a lot!
@guitargeek-bynavinnashranp5310
@guitargeek-bynavinnashranp5310 10 ай бұрын
Hey man I am going through lots of Python basics on youtube, everyone seems like same old-school way of explanation . But the way you explained is the most beginner friendly with simple projects that adds real value for the time I've invested, such a simple but supper effective way of teaching. Thanks for your awesome content :0
@shakirahmed1937
@shakirahmed1937 2 жыл бұрын
It was getting boring to continuously study Python theory, thank you so much for these. This will help me get back to the theory with much more interest
@suchanchang6199
@suchanchang6199 2 жыл бұрын
This content is such a perfect match for just beginners like me!! Thank you so much Tim!
@fudgeracoon2529
@fudgeracoon2529 2 жыл бұрын
I'm an experienced C/C++ programmer, and decided to start learning python for a personal project related to robotics. That was a really great video to help me speed run through the process of picking up python. Thanks so much tim!
@elijahpayne5435
@elijahpayne5435 Жыл бұрын
Genuine question. Isn't python much easier?
@zen-wl7dk
@zen-wl7dk Жыл бұрын
hey i wanna learn C/C++ too someday, what learning roadmap would you suggest?
@fudgeracoon2529
@fudgeracoon2529 Жыл бұрын
@@zen-wl7dk I'd suggest picking up a book teaching C++ from the absolute zero and then working your way up by implementing various algorithms and data structures (assuming you know some) you implemented in other languages. Then you can start a project in C++ from there.
@kevinwoodrobot
@kevinwoodrobot Жыл бұрын
Yeah it’s good to know c++ first! Python will be a lot easier
@VrodegTheGoblin717
@VrodegTheGoblin717 10 ай бұрын
@@elijahpayne5435 Yea it basically is
@LollipopScaper
@LollipopScaper Жыл бұрын
been watching how to code in python for awhile now and I felt that I just could not wrap my head around it. But doing these little projects really just showed me that yes I can do it and I have been learning even if it felt like nothing was getting stuck in my brain! Got me really excited about coding, Thank you!
@Yungkiddsammie
@Yungkiddsammie Жыл бұрын
I just started my coding journey this year,I have seen lots of videos but this one right here got me thinking of coding every now and then because of how well the projects are explained,detailed and run through. Thank you so much,you just handed me a breathing device on my coding journey,I know I’ll be great at it soon.
@i_am_dumb1070
@i_am_dumb1070 Жыл бұрын
yes same i have started coding from this year
@teegamage7671
@teegamage7671 Жыл бұрын
Wow finally found something that I can absorb without having a headache.
@AliAliOxenFree
@AliAliOxenFree 10 ай бұрын
after working with javascript for years, this video was my introduction to python. wow this is so user-friendly and intuitive! thanks for these basic projects buddy!
@newera10sec
@newera10sec Жыл бұрын
Tim, yesterday I spent 6 hours watching some Phyton tutorial videos on the different channels and didn't understand anything. After reviewing your video (hands-on work) I finally can start to write my simple codes.
@mariosmoraitis5007
@mariosmoraitis5007 2 жыл бұрын
Great tutorial, I really enjoyed it!!! I suggest in the Rock, Paper, Scissors game to add another "elif", in case the game comes to a draw. draw = 0 if user_input == cpu_pick: print('Draw!') draw += 1 continue
@mimic435.
@mimic435. 2 жыл бұрын
thank you, was looking for this
@somedudeonyoutubefrfr
@somedudeonyoutubefrfr 2 жыл бұрын
Ye. It’s buggin me that he forgot such thing…
@98drez
@98drez 2 жыл бұрын
I was thinking to myself what would happen in the event of a draw. There is no logic in the code to include a draw.
@somedudeonyoutubefrfr
@somedudeonyoutubefrfr 2 жыл бұрын
@@98drez Ye same
@kiranpoojary104
@kiranpoojary104 2 жыл бұрын
@@98drez but if you don't add the draw event the point will go to the computer
@ky4tgtodd203
@ky4tgtodd203 2 жыл бұрын
Thanks for sharing this video! I'm going to go over this video again and do it myself as I listen. I'm in my 50's and I've never really been into computers, much less programming until recently. it takes me longer to understand than it would have 30 years ago but your video is a big help! I'm just getting into this for fun not for a career, but I'm really enjoying it and you make it fun and easy to understand. I look forward to seeing more of your videos. 🤠👋>> 🤓👍
@tort3018
@tort3018 Жыл бұрын
Im just starting to learn how to code myself and this video was a huge help and a ton of fun! I was a bit disappointed that the password manager didn't complete with the encryption as that would have been really cool. I will be watching lots more of your vids going forward. Lots of things to help me improve.
@Alan-iq9yc
@Alan-iq9yc Жыл бұрын
Just wanted to say that I’ve never coded anything a day in my life… until today. I recently entered a tech job and wanted to start learning methods of coding. After watching your video I was able to create my first set of mini games! Thanks for making such a clear, and easy to follow tutorial!!
@victorolisa3915
@victorolisa3915 Жыл бұрын
About to start
@divyanshsharma673
@divyanshsharma673 2 жыл бұрын
Finally, I found a channel where I can build my skills with easy tutorials. Thank you so much to explain everything in easy way...
@idoredid3831
@idoredid3831 2 жыл бұрын
Thank you Tim! I watch all your video and you teach me how to be a good programmer in Python! I learn a lot of new information from you and you help me with all the video! Thank you!
@Brianwiz
@Brianwiz 2 жыл бұрын
A intermediate version of this would be super cool! Thanks for the great content Tim!
@TechWithTim
@TechWithTim 2 жыл бұрын
Thanks for the idea!
@cameraman1939
@cameraman1939 2 жыл бұрын
@Syed Mohammad Sannan kivy, kivymd is used to make mobile/pc software
@2pingu937
@2pingu937 Жыл бұрын
You should use your own creative instinct to build upon this basic code and make your own advanced version. I find this is the best form of study.
@tbraghavendran
@tbraghavendran Жыл бұрын
@Krishnansh Agarwal Pycharm
@theye29
@theye29 Жыл бұрын
​@@2pingu937 these tutorials are for People o cant think of anything, people with no creativity like me. The whole objective of these vídeos is to give an idea of what People in these levels of knowledge can or cant do, its like going in a lucid dream but cant do anything because you cant think on something
@vangelisdidaskalou1848
@vangelisdidaskalou1848 2 жыл бұрын
Small addition/correction to Rock, Paper, Scissors: Print "Draw!" if both picks are the same Great Video!
@astrocity7181
@astrocity7181 2 жыл бұрын
just do if user_input == computer_pick: print("Draw!")
@andylopez8942
@andylopez8942 2 жыл бұрын
Where should we put that "draw" code at?
@astrocity7181
@astrocity7181 2 жыл бұрын
@@andylopez8942 put it as an elif statement right after the last elif statement. so: elif user_input == computer_pick: print("Draw!") make sure to put it in the while loop
@andylopez8942
@andylopez8942 2 жыл бұрын
@@astrocity7181 I put it exactly where u said And it seems not to work correctly
@astrocity7181
@astrocity7181 2 жыл бұрын
@@andylopez8942 do you have a discord so u can send a screenshot
@user-hn1ns2dn7h
@user-hn1ns2dn7h 25 күн бұрын
You are so easy to follow I was easily able to add an elif for the rock, paper, scissors scenario involving a tie game on my own!
@Demi305
@Demi305 2 жыл бұрын
This might be one of THE MOST informative and straight forward vidoes that i have ever watched regarding python programming! Thank you so much!
@ramrajepatil27
@ramrajepatil27 Жыл бұрын
I think In Rock Paper Scissors project when user_input and computer_inpute is same then the code declare the computer_wins but actually it's a draw .......... By the way , Your tutorials are so clear and easy to follow , even for a beginner like me .Your passion for coding really shines through in every video , and I always feel inspired to learn more after watching them .Thank you so much for sharing your knowledge and expertise with the world.❤️
@yb_bakery
@yb_bakery Жыл бұрын
You can use this as an opportunity to actually count the draws. I added this piece of code if user_input == computer_pick: print("Its a draw!") draws += 1 This counts the draws for me. (Variables "user input" and "computer_pick" are my own variable names. substitute your variable names for user input and computer guess to get it to work)
@ethicalomnisceint
@ethicalomnisceint 11 ай бұрын
@@yb_bakery i typed elif user_input = rock and computer_input = rock : print ("Draw") 😂😂,,so as for scissor and paper ,.. after finishing i came to read the comment and saw this ,.. 🤣🤣 I need to work more smarter !
@NoGentle
@NoGentle 11 ай бұрын
i noticed this too, and the guy above has the answer for the draw question (computer pick == user pick)
@iamdan0123
@iamdan0123 2 жыл бұрын
The information was excellent. Please create more of these "small projects," as they are quite beneficial in terms of confidence building. I appreciate everything you've done so far. Thanks a lot @Tim
@countofst.germain6417
@countofst.germain6417 Жыл бұрын
After less than a week learning python your first project was great! I already knew those functions but this was a fantastic way to put it in practice, worked great. I think I'll try all these. I had one issue when I tried to skip a head and it took me a little bit to figure out why my final score wasn't working. I forgot that you had to convert an integer to a string, but thats great! this is how you really learn. The second one I messed up pretty hard going off on my own hahaha the start worked great and I thought Ive got this, no problem. I didn't have it.
@akari_vinsmoke
@akari_vinsmoke Жыл бұрын
Thank you so much. I had an assignment where I need to make a choose your adventure type of game and your clarity in explaining helped me understand to correct the errors I encountered in using the if/else statements. I'm a new subscriber!
@laxmank544
@laxmank544 Жыл бұрын
As a beginner, this was the first time coding felt more easy. lot of fun while doing quiz project.
@ezekieldujambi8427
@ezekieldujambi8427 2 жыл бұрын
Thanks, Tim. You've brought me further in my Python journey than I expected.
@h_oom4114
@h_oom4114 Жыл бұрын
You still going?
@quandaledingle671
@quandaledingle671 Жыл бұрын
@@h_oom4114 ofc he's goin
@h_oom4114
@h_oom4114 Жыл бұрын
@@quandaledingle671 I'm not, I've quit way too many times and I did it again
@yanivrozenberg4583
@yanivrozenberg4583 Жыл бұрын
One of the BESTEST tutorial I tried so far! You're explaining in a very understanable way, thank you!
@lionatticus9743
@lionatticus9743 Жыл бұрын
Thank you Tim! By the time we got to the number guessing game, I was able to pause after you explained the randrange() method, and write the program completely on my own. Python has a lot of similarities to C as well as JavaScript, but the syntax seems more beginner friendly. I know more than I thought!! Thank you for being there with a bit of guidance!
@AxelWerner
@AxelWerner 2 жыл бұрын
Love this approach! You always need a "real world project" of some sort to work on. else anything will be theoretically and hard to stick with it.
@bluemoon5360
@bluemoon5360 Жыл бұрын
Coding is so fun 🤩 even though I’m at the point where I copy code and try to figure out why, it’s nice to see the code work 😊 I can’t wait to get to the point where I can think of the code myself to test it out. The thought of that is scary because it seems really challenging but I just have to keep reminding myself that practice leads to improvement. Ps I have an exam tomorrow and instead of studying I went to go try out the rock paper scissors game. I don’t know why this is the first time I’ve coded in years. Procrastination at its finest 😞
@MrTormento11
@MrTormento11 Жыл бұрын
coding is amazing, being able to get to a given result through so many ways really puts your creative side at work while connecting to your logic side! hope you did well on your exam
@geniusesml3700
@geniusesml3700 Жыл бұрын
tim have python course free or no ?
@kiaryy1897
@kiaryy1897 Жыл бұрын
Copying code and messing with it until you learn what it does it's the funniest way to learn how to code
@liquidmobius
@liquidmobius Жыл бұрын
Well you've definitely made the right choice starting with Python for sure! Of course it depends on what you want to do, but Lua is another really good universal language to learn too.
@David-gk9lk
@David-gk9lk Жыл бұрын
I started learning code then stopped for 3 years now i’m back lmao
@ghoulsandgaffs
@ghoulsandgaffs 3 ай бұрын
Just wanted to say you have an awesome channel! Instead of wasting my time and/or copying code I wanted to get back into programming really badly to scratch that itch (front-end development ended up boring the crap out of me with HTML/CSS, and don't even get me started on JavaScript). But the way you explained things so simply and thoughtfully was really something and got me pretty excited! Keep up the good work, Tim! :D
@ghhdgjjfjjggj
@ghhdgjjfjjggj 9 ай бұрын
Thank you soooo much for this, this was actually so relaxing and fun to watch, I understood EVERYTHING and I am a complete beginner. You are the best teacher I've seen on youtube
@aditya_bharti6344
@aditya_bharti6344 2 жыл бұрын
Loved the content😀 . Please come up with more of these "short projects" they really help building up confidence . I appreciate your efforts ☺️😌 Thankyou very much ...
@royaleleft8896
@royaleleft8896 2 жыл бұрын
yes man they do if u want i can help u build alot of project just dm me
@joshajeigbe1112
@joshajeigbe1112 Жыл бұрын
you said trash boyyy
@Tushar.P1606
@Tushar.P1606 Жыл бұрын
​@@royaleleft8896 Where to Dm you??
@Bluemoon_wav
@Bluemoon_wav 11 ай бұрын
the 'choose your own adventure' exercise was so fun I just spent 2 hours writing a story, at the end you play 'rock paper scissors' with the final boss lol
@LuisLozano
@LuisLozano 10 ай бұрын
post the code plse. tia
@JamieByrne1977
@JamieByrne1977 Ай бұрын
Thanks so much. I did two 5 hour intro courses on Python but seeing these simple projects is so much more fun and engaging. This kind of thing just makes me want to code more.
@kuanshih7602
@kuanshih7602 Жыл бұрын
Very helpful, I just begin to learn python myself recently, and these 5 projects really help me to understand the knowledge. Be honestly, last project for me is quite difficult to understand after pip thing. But I enjoy it very much, thank you for your excellent work.
@Micha1996
@Micha1996 2 жыл бұрын
Thanks for the great projects, followed along and wrote them at the same time, sometimes pausing for ages to try and do it before you said anything. Made some pointlessly more complicated or more sleek with some practice, thoroughly enjoyed working on them. Spent multiple hours on this, trying to add more things to it, adding in a lot of "print()" to add blank lines to the output to make it easier to read and more digestible as well as commenting all over my code so the me in 'x_time_period' can still figure out what I've written.
@freddiehearn1895
@freddiehearn1895 2 жыл бұрын
Cab also print(" ") as many times to add lots of empty lines easily
@Remremrem666
@Remremrem666 2 жыл бұрын
Thank you so much man!! This is my first week using python and you are helping me so much. I also added a "tie" to rock paper and scissors in case the computer and the user pick the same one^_^
@noelsirrom
@noelsirrom Жыл бұрын
How's the journey so far
@dbturbonub2536
@dbturbonub2536 4 ай бұрын
Finally, a teacher who gets it!!! Nice and quick. Easy. Real world examples. Also, on the Rock Papers Scissors, I edited my program for when we picked the same and printed a "Draw".
@dianapuna2617
@dianapuna2617 Жыл бұрын
I'm trying to wrap my head around the python for around two weeks now. was able to understand the separate blocks, but it was problem for me to be connecting it (if u don't know the rules it's hard to be just trying noticing patterns) and this helped so much. Made all the games with u and feel that I'm much better in understanding this logic! thank you!
@bensonmaina5917
@bensonmaina5917 Жыл бұрын
💯💯Brilliant. Super glad for these tutorials Tim. A side note, the random.choice(['rock', 'paper', 'scissors'] can also generate a random choice between these three options. The choices() method returns a list with the randomly selected element from the specified sequence
@benaiah_al
@benaiah_al 2 жыл бұрын
Even if I didn't understand how this game (rock, paper, and scissor) works or how to play this😀, now I can now build this with any language off choice. Just reading the code on your git repo, gave me an idea on how to implement this using JS and PHP or any language. Keep it up bro👍👍😎
@dusty6193
@dusty6193 25 күн бұрын
Awesome video, I just downloaded python and am learning some of the syntax, but putting some basic ones into practice to actually make something really helps see it all click together!
@ERROR_FF18
@ERROR_FF18 Жыл бұрын
hey myan ! honestly i was in search of this kind of video from last 12 months , but literally i had found nothing similar what i think so i was confusing wheather to continue learning programming language or not but you gave me the hope and full confident . Literally myan i was looking videos for last 12 months but i have never gained any-thing though i learned some of the basic but i don't know where to utilized my learned basic butttt when i watched your video than i came to know that i have learned lots of things and now-onwards i will be doing similar kind of project and from easier project to tougher one . Thanks a lot myan . i can't even explain what i am feeling right now . haha i know my english is weak because it's not my major language but i tried to explain . love you bro from buttom of the heart. LOVE FROM NEPAL
@venkatsarma007
@venkatsarma007 2 жыл бұрын
Great work, man. Helps a lot. I have one thing to add. In the rock_paper_scissors project, you forgot to add -- what happens when user_pick is same as computer_pick. I added extra elif condition with that, with print option "Nobody won"
@jonathanh8298
@jonathanh8298 Жыл бұрын
For those who are struggling to learn Python, like I did, here is a pro tip: avoid long complicated tutorials you see online. You need to walk before you can run. Start with very basic Books. Once you get them right, learning everything else becomes much easier. Edit: For those asking about the books, the best basic one is Javascript In Less than 50 Pages. It`s about Javascript but it is the fastest to learn the conceps that will be useful in any programming language. Second I would recommend A Smarter Way to Learn Python. Your knowledge will transform.
@Shamzel
@Shamzel Жыл бұрын
hey i just wanted to say thank you for this. i have probably $300-$400 in books i ofc legally obtained and had been reading through and while some of them will be great once i get the basics down, i was having a hard time getting the basics to really stick in my head but the second book you mentioned really helped a lot. thank you for the recommendation and keeping me motivated
@Shamzel
@Shamzel Жыл бұрын
@@anactualalpaca7016 someone missed the sarcasm in my comment lol
@alvo6375
@alvo6375 Жыл бұрын
@@Shamzel lmao
@leoliu7492
@leoliu7492 Жыл бұрын
nice scam
@OneTwoMark
@OneTwoMark Жыл бұрын
This is just your learning style. You must prefer reading to seeing or watching. But also because ive seen your comment and same one under it on more than video, it seems you might be a spam bot anyway to sell books.
@ska_dawg
@ska_dawg 9 ай бұрын
AWESOME tutorial!! Very well done, as a recent grad this was easy to understand, flowed at a reasonable pace (I could play around/catch up while he was going over basic concepts) and was a super fun way to step into a new language --- thanks so much, will be recommending to anyone I know looking to dabble in Python :D
@ArcFallen1
@ArcFallen1 11 ай бұрын
Thank you so much for this video! As a beginner in Python, I couldn’t have asked for more! ❤😊😍 I know that one day, soon, I’ll be helping beginners just like you (all) are helping me! Knowledge must be share❤
@akmalpython7798
@akmalpython7798 2 жыл бұрын
Writing few code as beginner and began to feel despair. After watching this, you had done something to awaken my dead hope. Thanks buddy !!
@ladefected4475
@ladefected4475 2 жыл бұрын
you too? i see my self like in dark place. cant get anything right!
@bhaveomkar689
@bhaveomkar689 2 жыл бұрын
@@ladefected4475 same bro
@rodrigonovelo6768
@rodrigonovelo6768 2 жыл бұрын
Keep going! Don't give up.
@ladefected4475
@ladefected4475 2 жыл бұрын
@@rodrigonovelo6768 yes!!!!! Keep going in the loop!!!
@rodrigonovelo6768
@rodrigonovelo6768 2 жыл бұрын
@@ladefected4475 that's what it is all about bro! Keep pushing yourself to the limit , we got this.
@user-xk7de1jw8g
@user-xk7de1jw8g 8 ай бұрын
Maybe Tim is the best Python teacher I have ever seen on the KZbin. There are a lots of Python teachers on the KZbin but most of them complexifies codes it becomes difficult and dull to understand. Unlike them Tim writes codes as he speak in plain English which is easy to understand. I like it bro.
@patriciakemuma9752
@patriciakemuma9752 Жыл бұрын
I've watched this for a few minutes and am happy because I know by the time am done with watching this I will be doing way better than I am doing right now...such a good facilitator
@ElTokam29
@ElTokam29 2 жыл бұрын
I understood almost everything! So I'll try to use all that I've learnt and build it by myself
@reggiedaniels7454
@reggiedaniels7454 2 жыл бұрын
Hello Tim, I've been watching your 5 Mini Projects video and I kept wonder why you kept on using "While True" construct. Then I realized that this is the Do/While equivalent in other languages. In this way you are making sure that the code enters the loop at least once no matter what, and then the check for true or false occurs inside the loop. I'm new at python. Really, I'm new to them all. But I did have some familiarity with the others like 'C', 'Pascal' and 'C++.' For the first time, I am actually sitting down and learning what I've put off for nearly 45+ years, now that I'm retired.
@smitashitole2001
@smitashitole2001 Жыл бұрын
Thanks Tim, this really helped me a lot in understanding Python and interview preparation! 😃
@joshman844
@joshman844 Жыл бұрын
thank you fam for taking the time to explain the code and then also what each thing you use does. it's lit and makes more sense.
@freddo83au
@freddo83au 9 ай бұрын
Great videos. I noticed that on the Scissors, Paper Rock, there was no option for a draw, but that was an easy fix by adding another elif statement for the draw and then adding it as an option to count the number of draws by adding another print statement at the bottom
@MrRabbie01
@MrRabbie01 8 ай бұрын
yeah had the same, did the draw first as the if :)
@Adam-gk9or
@Adam-gk9or 8 ай бұрын
can you guys show this elif 'cause i dont really know how to code this one, ths
@freddo83au
@freddo83au 8 ай бұрын
@@Adam-gk9or if user_input == "rock" and computer_pick == "scissors": print("you won!") user_wins +=1 elif user_input == "paper" and computer_pick == "rock": print("you won!") user_wins += 1 elif user_input == "scissors" and computer_pick == "paper": print("you won!") user_wins += 1 elif user_input == computer_pick: print("It's a draw") draws += 1 else: print("You Lost!") computer_wins += 1
@destrycravens7231
@destrycravens7231 7 ай бұрын
I don't want to just provide the answer as practice will help build and reinforce the knowledge but here is an example (Think of x as user_input and y as computer_pick in terms of the Rock, Paper, Scissors game): x = 5 y = 5 if x > y: print("You Win!") elif x < y: print("You Lose!") elif x == y print("You Draw") This works as an elif statement checks each statement entered (In this case x == y) to check if it returns a Boolean value of True. Remember, if you add additional statements with the (And, Or, or Not Logical Operators) they must all return a Boolean value of True in order to execute the print() function. In the case of a tie x and y would have to be the same which would return that Boolean value of True for this statement and execute the print() function.
@Hunter-ii9wt
@Hunter-ii9wt 2 жыл бұрын
Freaking love this channel ! So informative, and easy to understand
@Vertig_Pro
@Vertig_Pro Жыл бұрын
Very interactive I like how he went through the lessons and explaind the functions rather just telling us what they do but instead he applied them this was way more fun and way more stress free
@KayderimGameplays
@KayderimGameplays 11 ай бұрын
Thank you so much for your work Tim, your guides are very easy to follow and it is helping me a lot!
@fordtahoma
@fordtahoma 2 жыл бұрын
This is one of the best Python videos I've seen so far, Subscribed! Keep up the good work!
@anushkagupta1592
@anushkagupta1592 2 жыл бұрын
This video has helped us a lot ..The explanation to every coding line was really helpful ,especially for the beginners .Amazing job done!!!
@DaddyBear3000
@DaddyBear3000 Жыл бұрын
Watching this with my 8yr old son so we can build a mini-game to go along with this birthday party invite. We're going to try and have a code camp party where everyone get's to make their own mini-games. Great tutorial! :)
@CyberWithEd
@CyberWithEd Жыл бұрын
Thanks so much. This is the best tutorial i ever watched. I have really gotten confident after watching and following. I was able to add number games played in the rock, scissors, paper game and many more. Thank you
@mareikekeller9688
@mareikekeller9688 8 ай бұрын
I had done the first three projects before. Never got the point. Now it's all crystal clear. Thanks! Looking forward to the last two projects!
@mikapaasikallio819
@mikapaasikallio819 2 жыл бұрын
You are great teacher. Your way to teach is very good and Clear. Keep on going! Just made my first game with your 90min game tutorial. Awesome! I started learning python about month ago. Thank you!
@JCEditzae
@JCEditzae 11 ай бұрын
This was such a good video, thank you so much. The only problem with the rock paper scissors game was that if there was a tie, the computer would always win, but other than that, great vid :)
@romina.alexandra
@romina.alexandra Жыл бұрын
Thank you! Great stuff, started a few days ago! On the rock paper scissors game I had to add a few other elif statements with print "Draw" because it was maddening how many times the computer was choosing the same thing I did.
@ScreenPrintR
@ScreenPrintR Ай бұрын
Thank you again Tim. For the first project I made my answers
@pablosouza6923
@pablosouza6923 2 жыл бұрын
54:20 I add another "elif", just in case the user and computer picked the same option. elif user_input == computer_pick: print("It's a draw.") user_wins += 1 computer_wins += 1
@yannaijackson5248
@yannaijackson5248 Жыл бұрын
Great video👍 I would add to the rock paper scissors game a line in the whole loop that checks for a tie and add a tie counter as well
@MrTormento11
@MrTormento11 Жыл бұрын
yeah, that would've been a nice addition, as would be showing how many ties there were. maybe also counting a win after beating the opponent 2 out of 3 times.
@geniusesml3700
@geniusesml3700 Жыл бұрын
i wanna python course tim did he have one free ? he s so good
@willemvandenberg5263
@willemvandenberg5263 10 ай бұрын
Incredibly helpful and fun! Helped me start coding in Python very recently and with help of ChatGPT I’ve already made some applications that are very valuable in my work as a logistics consultant. Thanks! Will keep on practicing using your videos :-)
@jeffdefalco3206
@jeffdefalco3206 2 жыл бұрын
Struggling to understand what my teacher is talking about during lectures. You make it WAY easier to understand how to apply the information to an actual project.
@diegosantosmoto
@diegosantosmoto 2 жыл бұрын
Man, you are the best tutor. I already payed for a course that I couldn't learn a bit that I have learned here with you. Thanks 🇧🇷👍
@TechWithTim
@TechWithTim 2 жыл бұрын
Thank you!
@nonhelpablegamer6070
@nonhelpablegamer6070 2 жыл бұрын
*Brazil meme intensifies in my brain*
@bazoori
@bazoori 2 жыл бұрын
@@nonhelpablegamer6070 haha
@sneakylink1238
@sneakylink1238 2 жыл бұрын
Tnx Tim for the video, very helpful!
@cbbenz_
@cbbenz_ Жыл бұрын
Appreciate this video. First time coding and this was extremely helpful in getting me up and running!
@smileyface3188
@smileyface3188 Жыл бұрын
your the best tim ive been exploring many tutorials online to learn python and your videos help the most
@NeilDoesStuff1
@NeilDoesStuff1 2 жыл бұрын
FYI, in the number guesser, the condition to check for negative numbers will never be hit because the .isdigit() method will return False for negative numbers. The else will catch all the non-positive / non-numeric inputs.
@cuencaguy9799
@cuencaguy9799 2 жыл бұрын
Yes, you need to "try int(some_variable)" to test if a number is an integer (ie. allow for negative whole numbers).
@suryakiran3085
@suryakiran3085 Жыл бұрын
im a beginner and i was spamming negative numbers but the programm didnt give a fuck lol.. now i know why thank you ...
@michaeleiseman4099
@michaeleiseman4099 8 ай бұрын
@@cuencaguy9799 right! Here's what I came up with import random def getInput(for_next_guess): prompt = "Please indicate a integer greater than 0 representing the top of the guessing range. " if for_next_guess: prompt = "Guess a number between 1 and " + str(top_of_range) + ". " user_input = input(prompt) try: user_input = int(user_input) except ValueError: print("Value must be a number.") return getInput(for_next_guess) if not for_next_guess and user_input < 1: print("Number must be greater than 0") return getInput(False) return user_input top_of_range = getInput(False) random_number = random.randint(1, top_of_range) guess = 0 while guess != random_number: guess = getInput(True) if guess < random_number: print("too low") else: print("too high") print("Correct!")
@nephxio
@nephxio 2 жыл бұрын
Hey Tim, great video and excellent for beginners! I wanted to add that for Rock, Paper, Scissors, there's a slightly more complex (for beginners), but cleaner way to do this (if it hasn't been posted yet) by using modulo arithmetic. Because RPS is a cyclical game, (0 beats 1, 1 beats 2, 2 beats 0), we can use a bit of mod magic ( % ). Some pseudocode below: If the player choice is equal to the computer choice Declare a Draw Else if the ( player choice + 1) % 3 is equal to the (computer choice % 3) Declare computer wins Else Declare the player wins I know modulo is a bit more advanced topic, but I love using it in situations like this because it removes the need for large if statement chains. This also means if we were to say, want to play "Rock, Paper, Scissors, Lizard, Spock" from Big Bang Theory, it'd be a much simpler modification by simply changing it all to % 5 and extending the choices.
@fasilkpsm
@fasilkpsm 2 жыл бұрын
can u please send the code link?
@sirgeremiah
@sirgeremiah 2 жыл бұрын
There will be a better way to do nearly everything, compared to what is shown in a beginner tutorial. Modulo doesn't belong in a beginner tutorial.
@okonkworchizim6953
@okonkworchizim6953 11 ай бұрын
Bro I have run this project before using Tim's strategy but I think yours is also superb can you enlighten me on it?
@Icthi
@Icthi 2 ай бұрын
nice, thanks!
@donasaha1936
@donasaha1936 Жыл бұрын
Thank u so much .u invest so much energy in explaining in a simplistic manner.. very much appreciated .. ur my third KZbinr in the journey of learning python
@frederickdekinder9912
@frederickdekinder9912 Жыл бұрын
Very cool Video. I'm a beginner and I found all this very easy to understand: at the Rock papers scissors game the Draw option was missing so I just added that : elif user_input == "rock" and CPU_pick == "rock": print("you picked the same, let's do this again") elif user_input == "paper" and CPU_pick == "paper": print("you picked the same, let's do this again") elif user_input == "scissors" and CPU_pick == "scissors": print("you picked the same, let's do this again") and now it seems to work. thank you again !! Great video !
@holdenback2620
@holdenback2620 Ай бұрын
I also found you can just have a singular elif statement where you just check if the two are the same before the else
@holdenback2620
@holdenback2620 Ай бұрын
elif user_input == computer_pick: print("Draw")
@sidneydamsma
@sidneydamsma 9 ай бұрын
Great tutorial. 1 small thing for the rock paper scissors game: you forgot to check for a draw state. But very clear and easy to follow tutorial!
@Ezzero07
@Ezzero07 7 ай бұрын
Yep i noticed and made it myself i felt epic
@riadbinsultan1479
@riadbinsultan1479 2 жыл бұрын
Awesome! I actually loved it more than normal tutorial. It was fun & entertaining. Keep goin' tim. Love from Bangladesh🇧🇩
@parnapaul1504
@parnapaul1504 2 жыл бұрын
From west bengal!!
@riadbinsultan1479
@riadbinsultan1479 2 жыл бұрын
Are you?
@amaruvargas5556
@amaruvargas5556 3 ай бұрын
Thankyou sir👍 Practical examples are so much easier to understand. All the "hello world" stuff was not getting thruogh my head.
@roberthart9229
@roberthart9229 7 ай бұрын
for the rock paper scissors game. To include a draw feature, try the following code as part of the elif statements elif user_Input == cpu_Pick: print ("No Winner here, Go again") something like that worked a treat
@muhammedrashidn9334
@muhammedrashidn9334 2 жыл бұрын
11:57 We can use .lower to solve the issue If answer.lower == 'central processing unit': print ("true")
@hugesman4836
@hugesman4836 9 ай бұрын
Great, more people should also upload videos on mini programs like this. Those are very helpful for practice after learning the basics.
@mrtrigger2016
@mrtrigger2016 Жыл бұрын
This was an awesome learning experience! One thing I do to test my self is to pause and see if I can figure out the next part, or to add/improvise code that wasn't included in the tutorial.
@That1Knife
@That1Knife Жыл бұрын
Same
@boyharfiansyah2905
@boyharfiansyah2905 2 жыл бұрын
Hi Tim, you missing a draw if usr and comp choose the same value in project # 3 :).. best video for learning python
@rafalkowalski8651
@rafalkowalski8651 2 жыл бұрын
Indeed. Just add before last "else" this: elif user_input == cpu_pick: print("Draw")
@quackquirk5085
@quackquirk5085 Жыл бұрын
Great content! it surely has helped a lot of beginners out there. Thank you for this Tim! ps : you forgot to put the "draw" condition in Rock/Paper/Scissors game :D
@ElvarionProductions
@ElvarionProductions 2 ай бұрын
10 month old comment, but here is a "draw" condition added into the code. Its also condensed into a single line for each scenario elif (user_input == "rock" and computer_pick == "rock") or (user_input == "paper" and computer_pick == "paper") or (user_input == "scissor" and computer_pick == "Scissor"): print("Draw!") continue Enjoy :)
Python Object Oriented Programming (OOP) - For Beginners
53:06
Tech With Tim
Рет қаралды 3,2 МЛН
Learn Python With This ONE Project!
55:04
Tech With Tim
Рет қаралды 1,5 МЛН
MINHA IRMÃ MALVADA CONTRA O GADGET DE TREM DE DOMINÓ 😡 #ferramenta
00:40
PILIHLAH PASANGAN KAUS KAKI 🧦 MEMBERSIHKAN KAKI
00:17
One More Indonesia
Рет қаралды 101 МЛН
Самый большой бутер в столовке! @krus-kos
00:42
Кушать Хочу
Рет қаралды 4,8 МЛН
I made Games with Python for 10 Years...
28:52
DaFluffyPotato
Рет қаралды 189 М.
5 Mini JavaScript Projects - For Beginners
1:45:09
Tech With Tim
Рет қаралды 27 М.
Learn To Code Like a GENIUS and Not Waste Time
9:41
The Coding Sloth
Рет қаралды 942 М.
5 Quick Python Projects for Beginners (finish in one day)
48:20
Internet Made Coder
Рет қаралды 15 М.
I Made 200 Python Projects...Here Are My 5 FAVORITES
11:23
Tech With Tim
Рет қаралды 100 М.
10 Python Comprehensions You SHOULD Be Using
21:35
Tech With Tim
Рет қаралды 74 М.
2 YEARS of PYTHON Game Development in 5 Minutes!
4:54
Coding With Russ
Рет қаралды 765 М.
👩‍💻 Python for Beginners Tutorial
1:03:21
Kevin Stratvert
Рет қаралды 2,9 МЛН
PLEASE Use These 5 Python Decorators
20:12
Tech With Tim
Рет қаралды 72 М.
Learn Web Development And ACTUALLY Get A Job In 2023 | Ultimate Guide
1:33:52
MINHA IRMÃ MALVADA CONTRA O GADGET DE TREM DE DOMINÓ 😡 #ferramenta
00:40