Hey everyone.
So in this video will focus on the same bus that how we can do know the symbolism.
Cops so hey I have a map of some symbols.
So basically in Python or in any programming language we have symbols like this is this.
Take this plane and we represent them by some particular code.
There's something like when we are required to denote any color.
Say bye.
We do something like hashtag.
Zero zero zero zero zero zero.
That is hashtag and a six digit number code.
So similarly we have these symbols with their code you.
And then their particular code so you can represent any symbol.
They are by default in Python.
Just look out for on the Internet that you require and write the code for that.
And let me show you something about this one.
You can just print these symbols by print and there you need to pass their code.
Hey I have called you plus 2 7 0 2.
So there is something you are not going to pass you plus 2 7 0 2 here.
This one and make this capital if you do this one and run this thing you will get error because you
is not defined.
What you need to do here.
You need to first pass you that will provide the command to pretend that you are going to use a symbol
here and then courts and in that code you need to pass backslash this one that is about the end drawn
windows and on written in Mac and then pass the particular code like this one you and this plus symbol
need not to be passed here because that is not a code.
Then just 2 7 0 2 life you save this one and run it here.
You got this Caesar here.
That is very little at this point but I think you can see this one here.
Let me show some more like this plane or something like this one easy to most notice and Vernet on this
one.
David go this hand there or this pick just do seven zero five save and run.
David go with this.
This is a little more noticeable because of green color.
So this is how you can get these symbols.
And one more thing they are just generally form of text is in a different way.
So these we can present them here on the buttons that we are denoting the cops and also the cards are
not actually cards.
They're just buttons so you can denote the text on buttons with these symbols by using their code.
So there is not something putting an image two buttons or providing any drawing by using title or anything
it just providing some special text code that is denoting some symbols.
So that's what we are going to do here and that's why I have included this one because of these little
concepts.
Now what I'm going to do here I will define some where he was a one that will contain all of my buttons.
So name this one just buttons and an empty dictionary which contains the buttons they will use for their
particular cause after that one I will write another variable here that is going to be Barton underscores
symbols that will contain the symbols of buttons.
And it is also empty in beginning.
After that when I have a symbol dictionary sodium symbol list in which I will define all of these symbols.
So later when I require.
I will take some of these or any of these in my button underscore symbols and provide that one two buttons.
Why three variables.
Because this one just only declare my buttons all begins it a complete button.
This is only the text on that buttons that are special symbols.
So first I will create special symbols so that I can provide random to every different button whenever
I run the program.
Again and again and this symbol it just create those values.
So this one can take from this one randomly.
So that's why through variable for simply buttons because we cannot do that one in one.
Now I will include all these symbols here in Inform of that how can I bring them.
So their double button can select symbols from this one.
So first of all simply just first to you then pass the quotes in that one a backslash and just pass
simply because you do salmon.
Sorry for this one there are two salmon Z or two maybe you and then I comb my hair.
Copy this one.
Because the code is nearly same just last variable v Betty Bates details six times.
Then we have 0 5.
Then we have 0 8.
Then we are going to have 0 9 maybe I believe maybe 1 9 then 0 8 and then be and then just copy this
complete one.
Come on.
See it redone make this one intended here.
Base this whole here.
Then we have C
then we had this one.
Twelve fourteen.
Sixteen.
And last one twenty eight.
Have a look at it was all day.
Now we required all these symbols twice so that we can make b it of D a device.
Single payer is not something that can make the program happen.
So now we have all the variables here.
So the oldest must go to him and they all are twice so they will go with this one and now one more line
you need to add here that will select random from these.
So these symbols are selected like regular live it in this one to make them random.
We will do here random dots shuffle.
I think you're wrong.
You know what the shuffle means making this one all these rearrange randomly.
After that one pass here symbols what you want to shuffle.
So just symbol here.
There you go.
Now we are done with these making these symbols in the next video we will make buttons and then make
a program run after that.
So I hope you understand that how I have included the symbols here and that is very easy I believe.
So thanks for watching.
I would say in the next video.