My AdBlock was turned on. Before I watched the video. After Watching the video, I turned it off. And watched 2 full ads of 2-2 minute each, without skipping. Your teaching style is best! And I just didn't want to take it for free. I will definitely Donate or help you as soon as I get my first job!
As a newbie who has no experience in programming, your tutorial is way way better than any other code camps or MOOC. For the first time, I kinda know what a real software engineer is doing on the other end.
Crazy timing! I just completed a Triplebyte interview that offered this problem as part of the technical interview, with the goal being to make the computer try to lose. I wrote a neural network for it and look forward to this video
Hi, nice tutorials. One thing though, at minute 6:37 when creating the list of lists, there was no need to keep the last comma. I'm just saying that for those who might think that it's necessary.
Oh man...i have so big problems to realise that this is actually really simple...thanks for your videos, hopefully ill learn to code a bit with your series...the best i have seen so far (and i have seen plenty, read books and considered myself already useless)
I like your tutorials so much better than all the other well known sites and TH-cam playlists - you get to the point immediately and start with practice, then explain the theory behind it. 10/10 form me!
In tutorial #2, we learned that everything is an object in Python, i.e., string, tuple, and list are all objects. There, we had programming_languages = ( "Python", "Java", "C++", "C#" ) which is a tuple of strings, or in other words, an object of objects. When we wrote the code - for language in programming_languages: print( language ) - Python went through each small object ( string ) in the big object ( tuple ) and printed out that string. Here, *language* represented each string in the tuple. There were 4 strings in the tuple, therefore we had 4 lines printed. In this tutorial, we have game, a list of lists, which is again an object of objects. When we write - for row in game: print( row ) - Python goes through each small object, prints it, then goes to the next small object. Here, *row* represents each list in the bigger list. And, since there are 3 lists in the game list, we get 3 lines.
Because we made 3 lists! First it prints the first one, then next line then the second one, then next line then the third, and then its done. For loops basically just print until they can't anymore(in this example it stops because theres no more to print) If he had only made one list, it would have all printed on the same line.
Thanks Sentdex for tutorials and this playlist, but I couldn't find any link to code while learning this. I have completed this entire series of Tic_Tac_Toe, link to the code is github.com/ganesh-deshmukh/cmd_line_Tic_Tac_Toe_Python
HOW does python know what row is... would you be able to say for column in game: print(column) ...is row a special command / code that is specific to using lists?
To answer your question yourself you could simply run the code. But yes you can write - for column in game: print(column) and get the same output you get with - for row in game: print(column) python has no clue what "row" or "column" is and only uses it as a placeholder, just like python doesn't know what "game" means either.
Could you have the premieres begin in 6 or 8 hours instead of 24 hours? At >12 hours you might as well release a tweet saying, “Part 3 coming tomorrow!”
in the last tutorial the output with or without parentheses was the same but here when i run the program without parentheses it shows indentation error why is that?should a tuple always have parentheses or are there cases for when to use it?? i am confused
I tried using alphabets instead of 0. But I'm getting an error stating it is not defined. However, when I tried it using other numbers I'm getting the output. Can't I use alphabets ?
Wow this one was pretty ok to make, i made a three player (player one, player 2, player one, opponent) and that took messed up my code after adding in a player 2 option lol
this is probably a dumb question but I'm confused as to why the for loop row in game prints the 0 0 0 on a new row each time? can anyone help explain this please? i feels its a simple answer im just no comprehending. thnaks in advance for any help
great sharing sir, I have a little issue in the final code, win code not showing the result after adding the value with game_board, but working fine with if we have assigned directly in-game list. I have the file to share, please let me know how I can share this with you. Thanks
You don't have to use a for loops at all imo. It just makes everything confusing. At least for me. Of course employers and teachers would prefer that you use it to minimize the lines of code in your program.
siraj's youtube has a curriculum for machine learning but basically you need to learn linear algebra and calculus, a great youtube source for those is 3blue1brown
I am using this tutorial for Python 3.8 something, I'm guessing this applies to most all versions of Python close to 3.7 but does anyone know for sure?
@@sentdex thank you for replying and I am so happy to talk with you and Please i want to figure out how long time to be have concept and basics of machine learning and AI. I am 20 years old and learning linear algebra and statistics
Probably not a series for you, it's for the people who cant get to the ML and AI because they dno the basics. We'll be back to more complex stuff soon enough, just had to update the basics series.
I didn't forget. This series isn't a reference guide. If you're looking to learn everything and all the things you can do with each thing, check out the official Python docs. This series is meant to just get people set on the right tracks, and, for the most part, I think people understand what "in" means. Maybe I am mistaken :P
1. You know when the next video is actually coming. 2. When it is here, you can watch and interact with me and then others in the live chat And, if you don't care about those, the video is normal after and you can just wait for that!
i was on the verge on sleeping 5th time while learning programming, but then i stumbled upon your tutorials. now i want to learn more every second!
My AdBlock was turned on. Before I watched the video. After Watching the video, I turned it off. And watched 2 full ads of 2-2 minute each, without skipping. Your teaching style is best! And I just didn't want to take it for free. I will definitely Donate or help you as soon as I get my first job!
As a newbie who has no experience in programming, your tutorial is way way better than any other code camps or MOOC. For the first time, I kinda know what a real software engineer is doing on the other end.
Crazy timing! I just completed a Triplebyte interview that offered this problem as part of the technical interview, with the goal being to make the computer try to lose. I wrote a neural network for it and look forward to this video
This one mysterious yellow mug made my day. Lovely tutorials
Hi, nice tutorials. One thing though, at minute 6:37 when creating the list of lists, there was no need to keep the last comma. I'm just saying that for those who might think that it's necessary.
It shows syntax error without the commas in vs code :(
Screw tic tac toe.
Make tik tok if you wanna be relevant with the kids.
lol
Hey man thanks for all you do.
bruh people just want to get a job he doesn't give a fuck about you or the kids
haha this is funny because he made fun of the kids i get it its really funny
this aged well
Actual content starts from 4:15
You're welcome..
Oh man...i have so big problems to realise that this is actually really simple...thanks for your videos, hopefully ill learn to code a bit with your series...the best i have seen so far (and i have seen plenty, read books and considered myself already useless)
I followed your previous basics video serious which was quite awesome, but this one is better. :-)
You were deliberate with this tutorials, I really appreciate you, thanks Man.
grid = [ [0,0,0] for i in range(1,n) ]
I like your tutorials so much better than all the other well known sites and TH-cam playlists - you get to the point immediately and start with practice, then explain the theory behind it. 10/10 form me!
Get to the point immediately? I'm 4 minutes in and this guy is still talking about problem solving. Jheez...
A mug collection display is required!
Man, you are the best, you make it super easy and fun
Big thanks...❤❤❤
Really great for beginners!!
Your lectures are quite interesting
you're THE BEST. Thank you very very very much for the tutorial!
Thanks sentdex! Your explantion is easy to understand for a beginner like me! :)
why does including "for row in game:" cause the grid to go 3x3?
In tutorial #2, we learned that everything is an object in Python, i.e., string, tuple, and list are all objects.
There, we had programming_languages = ( "Python", "Java", "C++", "C#" ) which is a tuple of strings, or in other words, an object of objects.
When we wrote the code - for language in programming_languages: print( language ) - Python went through each small object ( string ) in the big object ( tuple ) and printed out that string. Here, *language* represented each string in the tuple. There were 4 strings in the tuple, therefore we had 4 lines printed.
In this tutorial, we have game, a list of lists, which is again an object of objects.
When we write - for row in game: print( row ) - Python goes through each small object, prints it, then goes to the next small object. Here, *row* represents each list in the bigger list. And, since there are 3 lists in the game list, we get 3 lines.
Because we made 3 lists!
First it prints the first one, then next line
then the second one, then next line
then the third, and then its done.
For loops basically just print until they can't anymore(in this example it stops because theres no more to print)
If he had only made one list, it would have all printed on the same line.
the 'row' is confusing you, you can write any word there and it will reference one element in the variable 'game'
@@kaunajbanerjee8526 Thanks that really helped :)
@@prawtism oh okay thank you for this. That was what confused me lol
Hopefully you'll teach us scalability unlike other tutorials, so that we'll know to apply the check method not only on 3x3 grid 😉
be patient sir!
I thought you're gonna do NEW LINE to make the 3x3 grid
I love your mugs😊😊😊
Thanks Sentdex for tutorials and this playlist, but I couldn't find any link to code while learning this.
I have completed this entire series of Tic_Tac_Toe, link to the code is
github.com/ganesh-deshmukh/cmd_line_Tic_Tac_Toe_Python
Sent "python 3.7 to be specific" Dex
My sublime doesn’t have the functions colored in. How can I make it happen so it looks like the code in these videos??? Thanks in advance
you are a legend and a life giver, a god
Great Sir! You spend only four minutes and twenty seconds just on telling us you are going to start "tic tac toe"
Bravo.
HOW does python know what row is... would you be able to say
for column in game:
print(column)
...is row a special command / code that is specific to using lists?
To answer your question yourself you could simply run the code.
But yes you can write -
for column in game:
print(column)
and get the same output you get with -
for row in game:
print(column)
python has no clue what "row" or "column" is and only uses it as a placeholder, just like python doesn't know what "game" means either.
of course i love his tutorials and he is the best! but, why is there only ~300-400 likes on his videos?
Nice that you are doing some noobs tutorials
You are awesome!!!! Please continue the good work!!
Will do!
I got an error continuously like "The system cannot find the file specified" on Sublime text.. what's the solution?
Could you have the premieres begin in 6 or 8 hours instead of 24 hours? At >12 hours you might as well release a tweet saying, “Part 3 coming tomorrow!”
As soon as one's done, I set up the next one. It's every day at the same time for this series.
in the last tutorial the output with or without parentheses was the same but here when i run the program without parentheses it shows indentation error why is that?should a tuple always have parentheses or are there cases for when to use it?? i am confused
I tried using alphabets instead of 0. But I'm getting an error stating it is not defined. However, when I tried it using other numbers I'm getting the output. Can't I use alphabets ?
This doesn't print anything in my terminal when I run it, even if I just do print(game). I'm using Visual Studio on Mac. Any ideas?
are you using vscode? right click on your code and press "run python file in terminal". if it doesn't work from that, check your installation
maybe your printer is out of ink
If I get to video 5 (Which im sure I will based on these comments) I will join this channel sir
Wow this one was pretty ok to make, i made a three player (player one, player 2, player one, opponent) and that took messed up my code after adding in a player 2 option lol
this is probably a dumb question but I'm confused as to why the for loop row in game prints the 0 0 0 on a new row each time? can anyone help explain this please? i feels its a simple answer im just no comprehending. thnaks in advance for any help
I wrote the 6 lines exactly like you did and it did nothing! I am using Jupyter notebook. Why?
nice one man very informative
I barely comment but tic-tac-toe in 9 minutes whoo cool
Awesome! Btw, how many different funny cups do you have? I always see a new one in a video :D
just slightly...OVER 9000!!!
That discord profile img! 😎😂😁
great sharing sir, I have a little issue in the final code, win code not showing the result after adding the value with game_board, but working fine with if we have assigned directly in-game list. I have the file to share, please let me know how I can share this with you. Thanks
Sir, do we need to install python in our device system , in case we have vscode?????
Keep up these premiers ..
But can you do some around 30 min premiers...?
The problem is that'd leave me with a 30 minute video after, and people don't like to watch the longer videos typically =/
i am not getting the output as you show it in the video , can you please help
How does python know what you are reffering to as rows?
I didn't get that.
It doesn't know. You can write any variable in the world - say your favorite food and print it. It will give you the result. check it in the code.
how for loop gives output in seperate lines? Whats the reason?
Hey SentDex, Can you make tutorial series about using python and docker system to build an app?
Thanks.
Couldn't we repeat print(game) three times and have that be a list of [0, 0, 0] ?
thanks for your videos
awesome
sir do you have any tutorial from beginner to expert
Thanks for the tutorial! im still a beginner :)
i like the way u think out loud
Can u plz make videos on numpy
you are awesome man
Hi from Nairobi. Just beginning the series.
You have very weird coffee cups Sir hehehe.
may i ask how do we get colous for some of the characters
i have ocd n prefer to have it just like him
Why did you use the for loop? I'm confused. In addition, how would you set up a for loop? You can construct it with anyway?
You don't have to use a for loops at all imo. It just makes everything confusing. At least for me. Of course employers and teachers would prefer that you use it to minimize the lines of code in your program.
Excelente, gracias.
your older videos were much more noob friendly
Are you going to update your Django tutorial any time soon?
It's on my todo list. Dno about "soon." Got a suggestion for what we should build?
Haha there's a Tic Tac Toe project in Python on Github. It was written in 1800 lines xD I expect a better Game than that :)
Can you send me the link xD
@@triis8643 google it and you will find it! I don't have the link to the project anymore :/
😂😂😂
1800 lines... is excessive. I'm sure it'll be more polished than mine, but dang lmfao.
@@sentdex well most of the lines were graphical outputs with print()'s but I'm sure I could do that with way less with the same result :)
thanks alot
best one ever ❤❤
is a row function in python ??? or what it is ?? can anyonne help me plz
What IDE is he using in the video?
Hello everybody.....What's going on?...Waiting for this video
Numpy zeros is bae
My Programming is good but i didn't study math, i want to learn A.I and machine learning. What math do i have to learn to be good in A.i and ML?
siraj's youtube has a curriculum for machine learning but basically you need to learn linear algebra and calculus, a great youtube source for those is 3blue1brown
@@idiocracy10 Is data science necessary for ML? Or its complete different thing?
@@twobits7310 there is a lot of overlap, hackernoon.com/what-on-earth-is-data-science-eb1237d8cb37
has a pretty good outline of it.
how do I join the discord?
I am using this tutorial for Python 3.8 something, I'm guessing this applies to most all versions of Python close to 3.7 but does anyone know for sure?
3:28 nice
What sublime package you use for using integrated terminal.
If possible please mention the package link.
Thanks
Sublime has a built-in terminal. Use Ctrl+B on any python file to build it.
everything up to this point has been covered about our setup process. "integrated terminal" is included. ctrl+b, choose python, all set.
Why do we have a comma after the last element of the list?
Actually, we don't need it.
Longer videos would be appreciated
what are the difference between these course and the previously course in python 3?
Less unnecessary parts, different teaching method, actual changes in Py 3 since then...etc.
@@sentdex thank you for replying and I am so happy to talk with you and Please i want to figure out how long time to be have concept and basics of machine learning and AI. I am 20 years old and learning linear algebra and statistics
would you recommend Pygame over Unity?
Never used unity, but, from what I know, if you're serious about game dev, then you'd use Unity.
Feels silly to learn basics after doing stuff like machine learning and AI 😂😂😂
Probably not a series for you, it's for the people who cant get to the ML and AI because they dno the basics. We'll be back to more complex stuff soon enough, just had to update the basics series.
@@sentdex Yes I understand. We've all been through this before.
how many parts will this video series consist of
I don't know yet.
i realized today, that sublime 3 and C/C++ doesnt go well together : (
the Lorde VScode has pretty good multi-language support
Dude can you do a some videos with keras as well ? please please please
Already done keras videos recently. Search "keras" on pythonprogramming.net
Why are you using sublime text instead of idle?
we got these in every video!!!!!!!!!!!!!
I answered that in video #1
"what is "real" really? how do we know what... "real" is?" THAT'S DEEP!!! Sentdex.... you're deep!
In for loop, if I type
for row in game:
print(game)
It prints the data in the game three times.
Anybody know why?
You should type
for row in game:
print(row)
instead. This is because you are printing the entire game list, instead of each row in the game list.
@@Kepplerr Gotcha. Thanks :)
You forgot to teach about uses of "in"
I didn't forget. This series isn't a reference guide. If you're looking to learn everything and all the things you can do with each thing, check out the official Python docs. This series is meant to just get people set on the right tracks, and, for the most part, I think people understand what "in" means. Maybe I am mistaken :P
import numpy as np np.zeros((3,3))
Except you need numpy and this is a basic video
what is your discord id
beast
18 th one to like :-)
Mortal Phoenix give me some answers to my questionsthat's all
ur Great 😊
Thanks!
can anybody explain the concept of these premieres im not getting it. anybody?
1. You know when the next video is actually coming.
2. When it is here, you can watch and interact with me and then others in the live chat
And, if you don't care about those, the video is normal after and you can just wait for that!
A little to slow for me :)
Better too slow than fast.
I found you won't code until you drink (show the cup), :), @4:17
AWW not IDLE)))
(UNREGISTERED) u hacker XD