1 00:00:04,640 --> 00:00:06,280 Hey everyone. 2 00:00:07,210 --> 00:00:11,880 So in this video will focus on the same bus that how we can do know the symbolism. 3 00:00:11,940 --> 00:00:17,420 Cops so hey I have a map of some symbols. 4 00:00:17,770 --> 00:00:23,590 So basically in Python or in any programming language we have symbols like this is this. 5 00:00:23,600 --> 00:00:28,760 Take this plane and we represent them by some particular code. 6 00:00:29,200 --> 00:00:32,080 There's something like when we are required to denote any color. 7 00:00:32,070 --> 00:00:32,840 Say bye. 8 00:00:33,280 --> 00:00:34,770 We do something like hashtag. 9 00:00:34,770 --> 00:00:37,350 Zero zero zero zero zero zero. 10 00:00:37,510 --> 00:00:41,260 That is hashtag and a six digit number code. 11 00:00:41,320 --> 00:00:45,090 So similarly we have these symbols with their code you. 12 00:00:45,220 --> 00:00:49,930 And then their particular code so you can represent any symbol. 13 00:00:49,930 --> 00:00:51,630 They are by default in Python. 14 00:00:51,760 --> 00:00:55,880 Just look out for on the Internet that you require and write the code for that. 15 00:00:56,550 --> 00:00:58,520 And let me show you something about this one. 16 00:00:58,630 --> 00:01:04,710 You can just print these symbols by print and there you need to pass their code. 17 00:01:04,780 --> 00:01:09,620 Hey I have called you plus 2 7 0 2. 18 00:01:09,820 --> 00:01:16,440 So there is something you are not going to pass you plus 2 7 0 2 here. 19 00:01:16,540 --> 00:01:24,190 This one and make this capital if you do this one and run this thing you will get error because you 20 00:01:24,190 --> 00:01:25,400 is not defined. 21 00:01:25,990 --> 00:01:27,810 What you need to do here. 22 00:01:28,300 --> 00:01:33,880 You need to first pass you that will provide the command to pretend that you are going to use a symbol 23 00:01:33,880 --> 00:01:44,830 here and then courts and in that code you need to pass backslash this one that is about the end drawn 24 00:01:44,830 --> 00:01:52,960 windows and on written in Mac and then pass the particular code like this one you and this plus symbol 25 00:01:52,960 --> 00:01:56,450 need not to be passed here because that is not a code. 26 00:01:56,560 --> 00:02:01,950 Then just 2 7 0 2 life you save this one and run it here. 27 00:02:02,900 --> 00:02:03,970 You got this Caesar here. 28 00:02:03,980 --> 00:02:09,360 That is very little at this point but I think you can see this one here. 29 00:02:09,420 --> 00:02:20,080 Let me show some more like this plane or something like this one easy to most notice and Vernet on this 30 00:02:20,080 --> 00:02:20,910 one. 31 00:02:20,990 --> 00:02:32,510 David go this hand there or this pick just do seven zero five save and run. 32 00:02:32,510 --> 00:02:33,360 David go with this. 33 00:02:33,370 --> 00:02:36,410 This is a little more noticeable because of green color. 34 00:02:37,100 --> 00:02:39,820 So this is how you can get these symbols. 35 00:02:40,040 --> 00:02:46,550 And one more thing they are just generally form of text is in a different way. 36 00:02:46,640 --> 00:02:52,640 So these we can present them here on the buttons that we are denoting the cops and also the cards are 37 00:02:52,640 --> 00:02:53,440 not actually cards. 38 00:02:53,440 --> 00:03:01,100 They're just buttons so you can denote the text on buttons with these symbols by using their code. 39 00:03:01,850 --> 00:03:08,450 So there is not something putting an image two buttons or providing any drawing by using title or anything 40 00:03:08,980 --> 00:03:15,350 it just providing some special text code that is denoting some symbols. 41 00:03:15,380 --> 00:03:20,660 So that's what we are going to do here and that's why I have included this one because of these little 42 00:03:20,660 --> 00:03:23,570 concepts. 43 00:03:23,610 --> 00:03:32,760 Now what I'm going to do here I will define some where he was a one that will contain all of my buttons. 44 00:03:32,910 --> 00:03:41,550 So name this one just buttons and an empty dictionary which contains the buttons they will use for their 45 00:03:41,550 --> 00:03:49,860 particular cause after that one I will write another variable here that is going to be Barton underscores 46 00:03:49,870 --> 00:03:53,710 symbols that will contain the symbols of buttons. 47 00:03:53,870 --> 00:03:57,950 And it is also empty in beginning. 48 00:03:58,040 --> 00:04:07,030 After that when I have a symbol dictionary sodium symbol list in which I will define all of these symbols. 49 00:04:07,670 --> 00:04:08,900 So later when I require. 50 00:04:09,020 --> 00:04:17,150 I will take some of these or any of these in my button underscore symbols and provide that one two buttons. 51 00:04:17,150 --> 00:04:18,830 Why three variables. 52 00:04:18,830 --> 00:04:25,190 Because this one just only declare my buttons all begins it a complete button. 53 00:04:25,310 --> 00:04:28,520 This is only the text on that buttons that are special symbols. 54 00:04:28,520 --> 00:04:35,240 So first I will create special symbols so that I can provide random to every different button whenever 55 00:04:35,240 --> 00:04:37,100 I run the program. 56 00:04:37,130 --> 00:04:43,970 Again and again and this symbol it just create those values. 57 00:04:43,970 --> 00:04:47,740 So this one can take from this one randomly. 58 00:04:48,080 --> 00:04:54,080 So that's why through variable for simply buttons because we cannot do that one in one. 59 00:04:54,080 --> 00:04:59,640 Now I will include all these symbols here in Inform of that how can I bring them. 60 00:04:59,840 --> 00:05:03,930 So their double button can select symbols from this one. 61 00:05:04,250 --> 00:05:12,040 So first of all simply just first to you then pass the quotes in that one a backslash and just pass 62 00:05:12,040 --> 00:05:16,620 simply because you do salmon. 63 00:05:16,740 --> 00:05:24,690 Sorry for this one there are two salmon Z or two maybe you and then I comb my hair. 64 00:05:24,770 --> 00:05:25,630 Copy this one. 65 00:05:27,360 --> 00:05:33,560 Because the code is nearly same just last variable v Betty Bates details six times. 66 00:05:33,580 --> 00:05:35,320 Then we have 0 5. 67 00:05:36,390 --> 00:05:38,950 Then we have 0 8. 68 00:05:39,240 --> 00:05:52,650 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 69 00:05:52,650 --> 00:05:55,430 complete one. 70 00:05:55,560 --> 00:05:55,980 Come on. 71 00:05:55,990 --> 00:06:00,660 See it redone make this one intended here. 72 00:06:00,690 --> 00:06:01,820 Base this whole here. 73 00:06:02,810 --> 00:06:04,130 Then we have C 74 00:06:07,970 --> 00:06:08,900 then we had this one. 75 00:06:08,910 --> 00:06:12,140 Twelve fourteen. 76 00:06:13,740 --> 00:06:15,350 Sixteen. 77 00:06:15,950 --> 00:06:19,800 And last one twenty eight. 78 00:06:20,020 --> 00:06:22,640 Have a look at it was all day. 79 00:06:22,990 --> 00:06:29,140 Now we required all these symbols twice so that we can make b it of D a device. 80 00:06:29,140 --> 00:06:34,450 Single payer is not something that can make the program happen. 81 00:06:34,990 --> 00:06:36,820 So now we have all the variables here. 82 00:06:37,330 --> 00:06:45,620 So the oldest must go to him and they all are twice so they will go with this one and now one more line 83 00:06:45,630 --> 00:06:49,900 you need to add here that will select random from these. 84 00:06:50,250 --> 00:06:56,020 So these symbols are selected like regular live it in this one to make them random. 85 00:06:56,040 --> 00:07:00,740 We will do here random dots shuffle. 86 00:07:01,530 --> 00:07:02,540 I think you're wrong. 87 00:07:02,700 --> 00:07:09,180 You know what the shuffle means making this one all these rearrange randomly. 88 00:07:09,570 --> 00:07:13,050 After that one pass here symbols what you want to shuffle. 89 00:07:13,050 --> 00:07:15,220 So just symbol here. 90 00:07:15,240 --> 00:07:16,200 There you go. 91 00:07:17,090 --> 00:07:25,100 Now we are done with these making these symbols in the next video we will make buttons and then make 92 00:07:25,120 --> 00:07:27,050 a program run after that. 93 00:07:27,740 --> 00:07:33,040 So I hope you understand that how I have included the symbols here and that is very easy I believe. 94 00:07:33,590 --> 00:07:34,610 So thanks for watching. 95 00:07:34,610 --> 00:07:35,660 I would say in the next video.