GET MY FREE SOFTWARE DEVELOPMENT GUIDE👇 training.techwithtim.net/free-guide
@TheScorpion615 Жыл бұрын
I'm definitely interested and i am new to your channel i have been binge watching hoping i can learn how to do coding ❤ Question how long have you been doing this for?
@theRealyouu4 ай бұрын
Than you so much for this I've been learning python for some months now and I must say This project helped me think I even noticed a missing piece (Allowing to deposit when balance is empty) and tried doing it on my own and was successful I'm so grateful for this TIM. SO grateful you shared this idea with us.
@A_O-o3p4 ай бұрын
60K is low pay just saying
@louisjeffries47892 жыл бұрын
I typed print(“hello world”) then came straight to the advanced shit, like a man
@noop-chair6 ай бұрын
That's a real freedom man pfp
@gamerehtisham6 ай бұрын
@@noop-chair I did not even print hello world and created a calculator but bit advanced one
@copdatchoppa6 ай бұрын
all i see is a dead man
@gamerehtisham6 ай бұрын
@@copdatchoppa Fr
@sape45595 ай бұрын
respect
@jasongonzalez5026 ай бұрын
For any beginners watching this. Here's how I made it easier to break down: 1. Follow the video and code accordingly. 2. Add notes as you go along for yourself (This can be comments in your code) 3. Re-watch the video the day after with paper and/or drawing tablet to re-write each function in pseudo code. - Make sure to listen to his explanations of each function for clarification! - The pseudo code will help you understand how the complicated functions work by allowing you to place in numbers instead of the variable names. 4. Have fun. - Coding is not meant to be hell. Make it fun for yourself, change your environment when you need and remember it's not the end of the world if you don't get something because eventually you will!
@justsomeone30344 ай бұрын
Thank you for this
@cupra2Jock.4 ай бұрын
I take it your a proffesional...how long from absolute 0 with no IT history will it take to land and python developer/engineering job or AWS software jobs from 0? Im a fast learner just curious of your opinion
@krunal92100725 күн бұрын
Thank you for guiding new programmers.
@hggohh491520 күн бұрын
AWS interviews are very technical and you can fail them even if you are skilled(have failed one). But if you’ve got a GitHub full of projects you’ve actually created(not just ai’d) and you can demonstrate knowledge of programming techniques you should be able to get a job. How long that takes comes down to how fast you can learn and retain skills. Just knowing the language isn’t going to get the job, but knowing how to handle input exceptions by using while loops is a skill that the employer should look for.
@demetriuslewis67502 жыл бұрын
THIS IS WHAT KZbin NEEDS MORE OF!!! the real process of thinking and working on a project. THANK YOU TIM!
@itdoesanimation2 жыл бұрын
Agreed. We have too many language specific tutorials and not enough project structure related tutorial to create actual working programs. So thank you for making this.
@torexanovich.2 жыл бұрын
I agree.
@joelvoxberg46782 жыл бұрын
I agree, though I felt this tutorial was a bit high paced. I would like to have seen more about the thinking of how to structure the work. Why did we start with the deposit function? it did seem like Tim hade done this problem before hand and just coded it from memory and therefore a few mistakes slipet in. I did enjoy it tho!
@BenjoC86322 жыл бұрын
I think it’s probably important to try hard to avoid “paralysis by analysis”
@SLILLZ718 Жыл бұрын
@@joelvoxberg4678 He mentioned he likes to start with user input and that's why he started with the deposit function
@LBU3N0 Жыл бұрын
Thanks Tim! Truly appreciate your way of teaching. Keep them coming!
@musicstation-_- Жыл бұрын
Dude!! is the tutorial that good
@Hashir404 Жыл бұрын
Oh gosh my dude just donated a 100 bucks !!! Appreciated your love for programming!
@noubaharshaikh6387 Жыл бұрын
@@musicstation-_- this tutorial is worth easily 1000+ but you need to have basic knowledge
@l3gend272 Жыл бұрын
Tim didn’t even reply or acknowledge, that’s tuff
@CorridorJ Жыл бұрын
@@l3gend272 with a tip that high , Tim probably did it in person
@camipereiras2908 Жыл бұрын
I started learning python one week ago, and I was able to follow for most of your tutorial. That’s amazing. You’re an outstanding teacher. THANK YOU!!
@lukask.25492 жыл бұрын
that's literally one of the best videos ever for python people who have the basics and are trying to advance to own projects. Keep it up! Subscribed for sure
@samconstantinou23352 жыл бұрын
I find building projects and learning at the same time is far more enjoyable than just learning without building anytime at all, thank you Tim 🙏🏼❤️
@memphisartguy22 жыл бұрын
Yeah, so the best way to dive in for me was I wanted a net currency that excepted every where. Porn. So I built a web scrapper using wget and some logic (where python comes in) so to make it even more valuable I when after porn books (series). So 1 need a menu, 2 need variables, 3 need a fetch method, 4 need a counter(s). 5 need if error don't crash. It was easily hundreds of hours and a lot of polishing. So recent was a python script for a YT downloader, and YT Brute Force downloader (YT doesn't always share all videos) and then Mp4 to Mp3. Now YT is an endless source for Mp3's.
@matthewstone25452 жыл бұрын
@@memphisartguy2 Bro... what?
@ramandeepsingh37052 жыл бұрын
@@matthewstone2545 😂😂😂
@The1zo2 жыл бұрын
@@matthewstone2545 lol
@会供価2 жыл бұрын
@@memphisartguy2 💀
@fascinatingfactsabout Жыл бұрын
I tried watching this video couple of months back and I had trouble following it because I knew exactly zero code, didn't understand or know the syntax used in the video and it got too much very soon (not to mention boring). Since then I started learning Python and now, although I still can't code anything worthwhile, at least I'm on a level of "I recognize this" when watching you code. This video instantly went from boring and "too much" to interesting and useful for my level of understanding. It actually got me to make some groundbreaking discoveries in a way to look at code when building a program instead of practice scripts that you do when learning a new program. It kind of rounded up the lessons I made in the other course and made me connect the dots. Thank you for that :)
@BillHughes-hz8ei Жыл бұрын
My issue is never understanding syntax and flow, but rather coming up with what the functions do and how to make them work. But I love working through these kinds of videos!
@tjay3037 ай бұрын
yea i hv the same issue too sucks
@ValidT4 ай бұрын
I think the problem is that a lot of tutorials start or stay very small, almost too small to the point that when you're done with that you don't know what to actually do with it or how to build up on it. This one should help you a lot with it.
@Chameleonll5 ай бұрын
8:15 An interesting point here is that we handle negative numbers with 'if amount > 0', however, negative numbers are already stripped away by 'if amount.isdigit()', since the - sign is not considered a digit, and we always get 'Please enter a number' instead of 'Amount must be greater than 0' for negative numbers. We could use try-except instead: def deposit(): while True: amount = input("What would you like to deposit? $") try: amount = int(amount) if amount > 0: break else: print("Amount must be greater than 0.") except ValueError: print("Please enter a number.") continue return amount We can also put return amount inside of the loop instead of break, but some may argue that's less readable.
@krunal92100725 күн бұрын
Nice catch. I also stumble upon this issue than I moved on with video as I am new to python. This piece of code is great help. Thank You.
@jaujud15 күн бұрын
Or you could just say "Please enter a positive number" in all cases and call it done
@JosePomavilla-pb9vq12 күн бұрын
I think the reason we are saying amount>0 is because in a real scenario if no money is deposited, they will have 0 money to bet which is why the amount must be greater. Isdigit checks to make sure it is a whole number and also not a negative but it does not exclude 0 from being considered a digit as well.
@Ayush_DragonMaster-2 күн бұрын
Thank You!
@nikkehtine Жыл бұрын
Currently learning Rust following this tutorial. It feels good to feel like you're actually problem solving together with the tutorial and not just copy-pasting code
@aflous2 жыл бұрын
37:15 There is no need for print(), you can just: else: print(column[row]), the EOL will be added automatically when not specifying the seperator
@GawdTy2 жыл бұрын
thx this fixed an issue for me ith my rows not lining up correctly
@djm_0-q8n8 ай бұрын
You're the best!!!! Fixed my problems with the not even line up
@curtislevey76395 ай бұрын
I found this too! Thought it was amusing that he went through an extra step that I (a complete noob) had avoided 🤭
@jonateez2 жыл бұрын
Tim, you are definitely (if not the best) one of the BEST python youtubers out there. I absolutely love your explanations, your thinking process and overall quality of videos. I'm still learning how to effectively use python as a programming language (I am relatively new to programming with text based languages) and to write good and clean code. Thank you so much for these videos and your time put into them. :)
@Matheus-mr4tl10 ай бұрын
Every one who is watching it and have the desire of doing programming tutorials on youtube: this is simple the MOST PERFECT format for a tutorial. This is it. If you follow this style i garante you that you'll have success and people WILL LEARN with you content.
@tibigraz2 жыл бұрын
You are legend for me in Python tutorials, you have perfect English (easy to understand for a non native like me) and perfect pace to follow along as a beginner.
@tinypopura9 ай бұрын
I really love that you left your mistakes in! It helps to learn from mistakes as you program because obviously, no one codes perfectly.
@scottspa742 жыл бұрын
Oh my God, I just found your channel recently and it is PERFECT for what I need! I'm in an 'intro to python' class in this last quarter of my 2 year degree in cybersecurity and digital forensics, and another degree in network admin, and am so often just lost in the python material. Our assignment due tomorrow is to write a program for a roulette wheel. How on the nose is this!? Also, answering the whole 'where do I start?' is SOOOO what I need. I can reverse engineer pretty well, and once I've got some groundwork for my code, I can tidy it up and customize it nicely, but when staring at a blank terminal, I NEVER know where/how to start. Thank you SOOOO MUCH for this! I love the way you walk thru stuff, too; not too fast, not too slow. Perfect pacing. Thank you!
@azmard48652 жыл бұрын
I can't believe I actually managed to code a game despite being a novice. His explanation is top notch 🥶
@thebrodstar Жыл бұрын
This was excellent! My biggest issue with learning on various platforms is not understanding how various parts of the code is used in real life, this really helped me. Well done!
@scottyharp Жыл бұрын
Being VEEEEEEERY new to python, most of this didn't "make sense" BUT it did at the same time. It doesn't based on me not knowing all the syntax, but your explanation of what exactly each line means did tell a story of how all of this code works together. Great job!
@tengdayz25 ай бұрын
I like this non-milking and efficient approach to getting a handle on python . It's like you are mentoring us, instead of just teaching us, and milking our time. Thank you.
@fumano26792 жыл бұрын
im not a fan of using break so i would rather return amount instead at 7:15. Very impressive to do this from scratch and clear explainaition.
@vanste98762 жыл бұрын
This is so good, it is not annoying, it doesnt bother with some useless info, straight to the point and very clear explanation. Sub from me
@timothytjerije726210 ай бұрын
Quality sound and clear on-screen text makes your projects outstanding. Keep it up Tim From Tim
@calum.macleod2 жыл бұрын
It takes a lot of skill and experience to present with this clarity. This is the best "from scratch" introduction to programming that I have seen.
@mobileking39112 жыл бұрын
Exactly my point
@zaheerimad58442 жыл бұрын
really bro ??
@MrLegendofnaruto2 жыл бұрын
lol no its not
@maryjshua Жыл бұрын
I'm currently taking python beginner course and this project has helped me A LOT! Thank you so much Tim!
@AnseloSilver Жыл бұрын
Great video. I am beginner python programmer and I was able to follow his code and understand most concepts. I practiced from a 10 hours KZbin video called python for beginners . I moved slowly on the 10 hours video so it took me maybe 5 weeks to complete the 10 hours video and took paper notes. but now I can follow this code and it does not look to difficult to understand. I am staying motivated now - Thanks
@tennasadam57802 жыл бұрын
This is exactly what i needed a year ago for my programming class. Hope i pass it this semester
@heyhay71042 ай бұрын
If anyone was wondering how you can implement a feature to add to your balance after running out or at any time, just edit the "def main() function to this: def main(): balance = deposit() top_up = () while True: print(f"Current balance is ${balance}") answer = input("Press enter to play (q to quit).") if answer == "q": top_up = input("Would you like to top up your balance? (Y/N): " ).upper() if top_up == "Y": top_up_amount = int(input("How much would you like to top by?: ")) if top_up_amount >= 0: balance = top_up_amount + balance else: break else: balance += spin(balance) print(f"You left with ${balance}") main()
@heyhay71042 ай бұрын
I hope this helped anyone out, it took me a decent 10 minutes to figure out but if you line up the if and else, you should be able to make it work, and just follow what the inputs ask, you get the option to top up after you have clicked q to quit fyi.
@ShwigShwag2 жыл бұрын
I like this video format. Great work and thanks for the upload. 7:11 You can eliminate a bunch of the nesting and make the code more readable by testing for the thing you don't want first. Like this. is_valid_amount = False while not is_valid_amount: amount = input("deposit how many $?") if not amount.isdigit(): print("enter a #") continue amount = int(amount) if amount
@thefriendlyfoe44882 жыл бұрын
I was thinking that there was something to do to avoid the nesting, nice fix
@ShwigShwag2 жыл бұрын
@@thefriendlyfoe4488 yeah it's not that what is shown is bad or wrong, but when programs get long it can become very difficult to keep track of what's happening.
@nagyvencel58582 жыл бұрын
I know HTML, CSS, SCSS and I learned a little bit of python long ago. Now im coming back to just build projects and fun in python and these videos are absolutely great for it! Thanks Jim for this project, it was very fun even Im not a begginer at coding. Amazing!
@lurching2237 Жыл бұрын
You taught me more than my entire first year of college in an hour…
@hunterngvideo Жыл бұрын
I added return deposit() in the def spin(balance): once your money becomes 0 it will always ask what would you like to bet in each line? if you add return deposit() under the print. it will go back to the def deposit. I really learned a lot on this video and I'm a beginner thank you for this
@pottaz2 жыл бұрын
Very nice intro to Python. Something I would suggest for an upcomming video. - Do a similar type of project but use TDD to develop it. - Move the functions into logical files as to understand how you reference them. - Use a database to store users and account balances ( like a bank ). That will give an overal real world application on how to use Python.
@userid5826 Жыл бұрын
would love too see that too!
@disispeter Жыл бұрын
bro first and foremost i want to tell you thank you soo much, im going to spend some time on ya channel going through different python situations.. i've been teaching myself for a couple months and this is by far the happiest ive been, reaching the end with no bugs or synax erros.. much love
@Talwyn_Wize2 жыл бұрын
As a newbie, I'd also love to see how you could make this into a proper app with a window, buttons, animations, etc. Thanks for sharing!
@LA1898 Жыл бұрын
Ohh yes, I would love to know this as well 😅
@hoteltrivago9504 Жыл бұрын
You have to learn GUI frameworks for this
@JonasAleksander Жыл бұрын
I had a problem coming in over and over. And that is if you played until zero you had no way to quit. So I managed to add ( if answer == "q" or balance == 0: ) Do not wander around endlessly. Thanks for a great video
@kitwarren24932 жыл бұрын
Great idea for a video format! This was amazing - I'd love to see more at varying levels of difficulty. Thank you Tim!
@Rayantheproofficial Жыл бұрын
I tried to do it IDLE , and it worked ! Thanks Tim you're really helpful
@samanthaecotothermia78962 жыл бұрын
Step by step learning of the thinking process is super helpful for me, personally. Thank you!!
@Big_chicken-ok8gc Жыл бұрын
Tim you helped so many people with learning coding. I am truly grateful that there is someone like you.
@brittneyboone29932 жыл бұрын
Hey just wanted to say thank you for your video. It's really good. Straight to the point and very informative. I'm trying to learn to code myself and this is exactly what I need to help me on my journey. Make more videos please. 🙂
@l3tt3rsnumbers0nly2 жыл бұрын
1 hour of learning, totally worth it. This is my first programming lesson in python and i can actually understand what is happening. It saved me a lot of time, because I do not have to go through the usual hours of python lessons. now i can proceed directly to writing code, doing google and stackoverflow.
@warmskyy6432 жыл бұрын
@ullwy49262 жыл бұрын
@cngyt30052 жыл бұрын
Great video Tim! Please upload more of these, it's very helpful.
@FlorinAugustin Жыл бұрын
Great job!
@TechWithTim Жыл бұрын
Thank you so much!!
@gneeliesandthings6396 Жыл бұрын
This was absolutely extraordinary - thank you Tim for all this wonderful work and a great lesson!!
@MortazaHussein2 жыл бұрын
Thank you , thank you and thank you!! This is the kind of videos that makes sense to me based on a challenging project with algorithmic/problem solving process I really hope that you can do more projects like this. And the time of 1 hour is perfect, not too short and not too long Thank you Tim, I have learnt a lot from this one!
@whosBenne Жыл бұрын
this is my second time ever learning and working with Python. Even though I didn't understand anything you said as you said it and I basically copied everything you did to get a working Slot Machine, you taught so well. It made me realize how much you REALLY know about coding and how much I have to learn about all the logic itself.
@sbatsia2 жыл бұрын
Great to watch and listen to. I've learnt a lot from the way you deal with errors - finding what they were and fixing them.
@wongkingshun2 жыл бұрын
DO u understand what min 24 is about?
@Chameleonll5 ай бұрын
37:19 I think it makes more sense to just remove the 'end=""' from the else print statement. This way, if we are not at the end of the row, we print " | " to separate the symbols, but if we are, we print a new line.
@mo-me-mo Жыл бұрын
i broke this project up into a few days, but with the extra time, i could really follow along and absorb the info. awesome video and great teaching format, i actually solved some of my errors on my own too! overall, a project to be proud about as a beginner :)
@nyekotrevor72504 ай бұрын
After completing my certification in python, i was looking for where to start mastering and implementing the skills i have learnt. This channel and the projects are really helpfull. Am even understand stuff better. Thanks man
@ivanmironov599 Жыл бұрын
Absolutely outstanding tutorial! I appreciate how you get right into things but also take the time to break it down and easily explain why you would use a certain function, command, method, etc. Most other tutorials just drone on and on and I end up falling asleep halfway through, but your teaching style reflects that of someone who understands how some of us could use a well thought out explanation of what does what and why/when you would use it. I have learned more about Python (the core, basic functions) in the first 10 minutes from you than I did with a tutorial course in two days. You got a sub from me.
@DavidDorenfeld Жыл бұрын
Finally finished this and used your template pdf to check and fix my errors. Thank you sooooo much. This is life changing, and the way you teach is helping my brain :)
@zephyrgaming97982 жыл бұрын
Congrats for 1m subs ❤️🥳🥳
@tigerex777 Жыл бұрын
Thanks! I was stuck on another little project I was making and this video helped me solve it. The only thing about this slot machine program is, let's say your balance goes to $0 and you mistakenly press Enter when the program asks you if you want to keep playing, you get stuck in a loop because you have no money to bet on. If you reach zero, the program should automatically ask you if you want to enter more money rather than ask you if you want to keep playing.
@shuaibalghazali34052 жыл бұрын
Thanks so much for This, after several minutes of trying to wrap my head around the code , I later got it . And the game is actually pretty interesting, and more interesting is that it could be applied to solve real life problems thanks a million
@TheTibbyracer130 Жыл бұрын
It surely had sparked me to create a new project off of the principles!
@magicfay2 жыл бұрын
Thank you, Tim, I’ve been always struggled with the thinking process but i think now I’m good to go on my own journey.
@aimenmalik52982 жыл бұрын
I had a lovely time following along and wrapping my head around the code logic. It was challenging but also a lot of fun 🤩
@tsuis12 жыл бұрын
same here. I found his tutorials very useful and get me interested into Python a lot.
@arunima292 жыл бұрын
This is great! Thanks a lot. Please do more such follow-along projects. It really helps us to understand the logical workflow.
@khunt14372 жыл бұрын
Thanks!
@AzziSenpai5 ай бұрын
I followed along, I made it work. it was fun and easy to follow, now I just need to rewatch while reading through to code to better understand the functions 🔥thanks for the tips
@quantumgaming7643 Жыл бұрын
Nice project bro, simple, easy to follow yet quite a good little project
@botondkis-sebestyen76799 ай бұрын
I just started learning python. And it looks so easy when I watch you. In the meantime I struggle to write a simple function when I have a description about it. Idk if you could recommend sg to improve my skills with functions. Thank you for the quality content!
@Hex-Scholar Жыл бұрын
Great video, pushes a beginner to the the limit and allows him to learn more 🎉 When I personally attempted this I added a net-winnings tag for each spin, so it’s easier to see how much I made / lost in total! Thanks again Tim!
@curtislevey76395 ай бұрын
Oo this is a great idea! I noticed when I played I didn't seem to MAKE any money even if I won the first bet lmao but that must be due to the weightings of the values / winnings
@khumoyunsadriddinov4583 Жыл бұрын
Tim dude you are a monster! You made it look so easy but in reality, when I tried to copy you it was so difficult to do. Anyways, you crushed it! Keep up the great work!
@nicholasdarosa920 Жыл бұрын
if anyone has older python like me you can replace f-string with .format for example on line 41 i did: print("The amount of your deposit must be between {minb} and {maxb}.".format(minb = MIN_BET, maxb = MAX_BET) ) hope this helps
@Sam-006 Жыл бұрын
To make things even more simple you could just do print("The amount of your deposit must be between {} and {}.".format(MIN_BET, MAX_BET) )
@ru_uwu2 жыл бұрын
just 18 mins into the video and the way he explains everything with those understandable code, subbbed instantly!!
@manosmakris83082 жыл бұрын
In the deposit function we need to use .strip() at the input and we don't need to check if the user entered a negative number because if they did the amount.isdigit() condition will fail anyways.
@Lyzk7482 жыл бұрын
if we don't check if the user entered a negative number our error messages will be less specific
@Chameleonll5 ай бұрын
53:48 I've also added this to the while loop in main to make sure the game ends if we don't have any money left: if balance
@TheIceMan93042 жыл бұрын
Okay I'm only 7 minutes in and I already know this video is awesome, because the only thing you've assumed is that I have an IDE. Simply awesome!!
@Waterbottles711 Жыл бұрын
I'm using Codecademy's cloud IDE thing. "Workspaces"
@anecdotas_de_un_gamer2 жыл бұрын
He didn't even check google for answers any time this guy is a genius.
@LBU3N0 Жыл бұрын
Tim, You rock MAN!!! This is what I needed to make sense of def and for loops, I'm starting to understand it much better thanks to your great explanation and thought process.. @Demetrius Lewis, YES, 100% we need more videos like this. Tim, THANK YOU! I'm definitely grabbing one of those hoodies 😎
@MortazaHussein2 жыл бұрын
Please make a playlist for such video series, that is so much needed
@claraaralc2 жыл бұрын
Great video! Could you also build a GUI to play this game on through Python?
@patryk56543 ай бұрын
Very good video, thank you Tim! I tried to learn python before, but ended up leaving it after making some beginners projects and mostly watching tutorials. I didn't want to watch basic tutorials again so I jump straight to this and it's very helpful. I was watching some parts then writing the code by myself. You kind off lost me when we were changing columns from being horizontal to vertical (31:00). It got pretty hard to understand after this point so I was mainly coping what you are typing, but that's good for progress
@enes-oral2 жыл бұрын
Great video, thanks! One thing I would suggest is that you can explain by drawing some complex parts like get_slot_machine_spin.
@ionutursuleasa11602 жыл бұрын
Hey Tim nice work i am fallowing you for quite a while can you please, at this project or at a nother one finish actualy and show how to make an executable file/application .
@abhishikkarmakar Жыл бұрын
please do this more often with some intermediate and advance projects you've work on in your career. I am really glad you make this video .Thanks
@alma-lz7cq5 ай бұрын
6:00 why not just int(input
@Booffallo Жыл бұрын
Bookmarking im doing a fullstack bootcamp and would like to learn python somewhere in-between that. watched the first 5-10mins 10/10 good way to learn with the explanation.
@prozak_tx2 жыл бұрын
I enjoyed working through this. I was not able to get the f-string to work right. I checked and am using Python 3.11.1 , I just typed "f", is there another way to get the f-string to work? I was able to work around using int(). Overall, Fantastic lesson! I am very, very new to programming and was able to follow along and understand the content.
@Williambubbles Жыл бұрын
Hey, I am having this same issue and was wondering if you had found a resolution for this since then? I googled for a while how to type that "f" for the f-string and had no luck. I'm very new to this as well!
@juneh5748 Жыл бұрын
did u find a solution? having the same problem
@Williambubbles Жыл бұрын
@@juneh5748You just use a regular f character. As long as you include your parenthesis, quotation marks and curly braces (in the appropriate order) then it should work.
@juneh5748 Жыл бұрын
@@Williambubbles thank you!
@Waterbottles711 Жыл бұрын
Thank you so much for letting me see your thought process with a project... i had no idea how to even begin thinking about doing a project and this helped a lot.
@berna88032 жыл бұрын
What a nice video. Is there a similar one for c++ out there?
@KayderimGameplays Жыл бұрын
Thanks tim, this helped me a lot, it's just as you said, i've been studying python by a while now and i still have no idea where to begin a project from zero
@kellingc2 жыл бұрын
I'm having trouble with the function you wrote at 30:12 - The problem seems to with the inner for loop - it never gets to 2 in my code. I don't know enough about how a for loop works in Python, and suspect that it's going to be the equivalent of putting ++i instead of i++ for a control variable. I don't know if you have time to look at my code or not, but would you? I know this was just to see what was on the wheels, but I feel if I'm having trouble with this, then I'm going to have trouble with displaying the result of an actual spin. I commented the area of the code that I have a question about. I'll also list detail on the troubleshooting I did to isolate that it is the for loop.
@curtislevey76395 ай бұрын
What do you mean by 'never gets to 2' . Had no issues with the code :/
@bikotracks9773 Жыл бұрын
I'm almost on my first year done of Python learning, I have basic knowledge but this tutorial was really good and reminded me really good about some stuff. Looking forward more of your videos to learn enough for an internship next year.
@ras_moon12 жыл бұрын
I watched this video just to see how a real program is structured.....am glad to say this video is really really educational
@Cozmii4 ай бұрын
I didn't understand many things just because i never played at a slot machine... I understood everything for the first 20 minutes then It became tiring
@zeph3963Ай бұрын
Same! He lost me he started talking about rows and columns, I even Google searched for a slot machine to understand how it worked. It would have been nice to have some drawings to better understand what he did!
@AnthonyAnalog Жыл бұрын
This was the first Python tutorial I've ever been able to successfully finish. Thank you so much.
@tobimahnke89552 жыл бұрын
Hey Tim did you mention, that you will never get a line on A's, because you only allow two of them? Besides that its a very good and explaining tutorial to me, you teached me a lot of new features!
@ryansunil48562 жыл бұрын
Its 2 on each column so it is still possible to get 3 in a line
@tobimahnke89552 жыл бұрын
@@ryansunil4856 Ahh i see my bad. Thank you
@asimj2 жыл бұрын
Tim, you're really a great teacher but I do have a few complaints about your tutorials 1. Your codes aren't consistent eg. you usually move a lot of codes around, you put them in a new file and/or move codes to different functions or change variables mid-tutorial which makes it hard to keep track of what you're trying to do. 2. also you do not use # or ' ' ' to make codes more readable, I noticed a lot of tutorials who actually give a small title before writing a function so the viewer can keep track of what you are doing, it makes code 10x times more readable. eg. # snake head , # food , # snake movement , # collision impact. It really helps. Overall I think your tutorials are great I just want you to be consistent with what you're writing rather than keep changing things around, try to make a plan first what you exactly want to achieve and then do it (writing all the to-do things as # would really help). Hope you have a good day, thanks for the free tutorials!
@Kai_Ning2 жыл бұрын
While i might agree on most of those for an usual tutorial video of "how to build x or y project", here, it's a tutorial of "how building a program happens irl". You can see that Tim going around in his code, adding function in between other already previous bit of code is closer to the creating process a dev goes through than the building process the program follow step by step to execute correctly. So for this video, it's kind of a moot point and better this way imo.
@asimj2 жыл бұрын
@@Kai_Ning You can clearly see it says "Learn Python* with only one project" not how to make a game however both have the same meaning. I don't think someone who knows python already would come to a video "Learn Python with xyz" also he didn't specify what he was building in the title. well the most logical thing is people see tutorials and follow it to learn not the other way around. if it was a video like "How to make a website using flask" i would have said I would have been okay with it. for beginners people follow tutorials and if tutorial codes change and has no direction it confuses the viewers
@Lyzk7482 жыл бұрын
Probably the best programming video I've ever watched. It actually shows the process of creating a program. Thanks!
@4kmene Жыл бұрын
Am I the only one getting a bunch of errors when writing the code
@CZ23AH8 ай бұрын
I did too. Then i realized nothing was aligned correctly. Once i fix it error were fixed.
@asydburn8048 ай бұрын
@@CZ23AHyes i also was but i had a lot aligned wrong, that’s usually the problem
@WolboLanguage-sr8ic7 ай бұрын
Yeah me too
@ThunderSTORM_editZ7 ай бұрын
😅🎉😅😂😅
@ThunderSTORM_editZ7 ай бұрын
What happened I'm also a programmer
@beethovennine2 жыл бұрын
Another PROJECT! Awesome, diving into it right now...Nice job!
@Clifford-s4h4 ай бұрын
I cant learn python the way you teach. Its impossible. Whys everyone use the same approach. Simple to extreme. How am i suppose to learn this?
@jotarokujo3124 ай бұрын
Fr
@FadezGG Жыл бұрын
thank you for this! I'm currently going to school for comp sci, and honestly I cant seem to learn how they're teaching me, but this is helping me so much. KZbin needs more people like you!
@shway313-TV Жыл бұрын
this is like icecream...it just melts in my brain....sooooo smooth...thankyou!
@shawnmiller5049 Жыл бұрын
Excellent video, This is my second day trying to learn Python and I already feel better about it with no coding experience at all. This was easy enough to follow and recreate that I seriously think anyone could do it.
@hannukoistinen53292 жыл бұрын
You are just showing how excellent and fast you are in coding. No actual data handling.