1 00:00:00,570 --> 00:00:07,170 And we are working on a project, so basically we're working on a calculator app, so this was a load 2 00:00:07,170 --> 00:00:07,740 of crap. 3 00:00:07,870 --> 00:00:12,540 So this was a response that you can press control shift or you can simply. 4 00:00:12,720 --> 00:00:12,870 Right. 5 00:00:12,930 --> 00:00:14,040 Click and click inspect. 6 00:00:14,280 --> 00:00:16,750 So this is the responsibility of our app. 7 00:00:17,040 --> 00:00:21,230 So basically we can type anything two plus three and we are going to reset. 8 00:00:21,240 --> 00:00:24,510 So we will be able to implement this functionality. 9 00:00:24,840 --> 00:00:30,450 The next part we are going to do, basically we are going to add instructions block as well as a defined 10 00:00:30,840 --> 00:00:36,420 form submission to the page, and then we will build the backend logic with exception handling as well. 11 00:00:36,550 --> 00:00:38,820 OK, so let's get started with this. 12 00:00:39,930 --> 00:00:47,570 So basically what we can do so this we can define a list like glass is a do not item. 13 00:00:49,330 --> 00:00:50,430 OK, then. 14 00:00:50,730 --> 00:01:01,890 Same with a tanker truck which is represented by a nav link, good and physical, to attach instructions 15 00:01:03,090 --> 00:01:08,670 and instructions on instructions. 16 00:01:09,120 --> 00:01:10,290 Instructions. 17 00:01:11,280 --> 00:01:11,580 Yeah. 18 00:01:12,090 --> 00:01:13,110 So this looks fine. 19 00:01:13,350 --> 00:01:19,260 So we can I we can move to the page and see this. 20 00:01:21,070 --> 00:01:28,500 OK, yes, we can see it in Section Haskell, but as I take because I have no defined instructions. 21 00:01:29,400 --> 00:01:36,950 So what we can do, we can move to this and we can see this rule which represents to about rock. 22 00:01:37,290 --> 00:01:42,030 So I'll copy this whole controversy and then I press control. 23 00:01:42,040 --> 00:01:45,000 We so I do this as instructions. 24 00:01:45,420 --> 00:01:46,560 Instructions. 25 00:01:47,760 --> 00:01:48,440 OK, good. 26 00:01:48,630 --> 00:01:56,130 And I have to define final instruction guide here as well because hash instructions. 27 00:01:56,820 --> 00:02:05,760 Yagur So I have to find the hash instructions so, so I can so we can define some instructions so how 28 00:02:05,760 --> 00:02:06,510 we can define them. 29 00:02:06,510 --> 00:02:09,480 What we can do, we can move to bootstrap and use list. 30 00:02:10,430 --> 00:02:16,730 This group, so in this way, we can run a new thing also, this is a group which also lists group item 31 00:02:16,730 --> 00:02:17,060 in it. 32 00:02:17,540 --> 00:02:22,790 So here are many you can choose any style of you, so I'll use this one. 33 00:02:23,610 --> 00:02:25,730 OK, so what I can do. 34 00:02:28,000 --> 00:02:34,840 I'll move this to paragraph and put this this group and I'll move to the page. 35 00:02:37,460 --> 00:02:40,100 And here you can see here the destruction that would be fine. 36 00:02:40,140 --> 00:02:47,240 So when I click on instructions, instructions, there might be some issues, hash instructions. 37 00:02:49,530 --> 00:02:52,050 OK, there is an issue. 38 00:02:53,130 --> 00:03:00,030 OK, OK, you don't need to define Hashim's, because when I was referring here to go over your instructions, 39 00:03:00,030 --> 00:03:03,720 when I click on this, I'll move to this because this is only instructions. 40 00:03:03,720 --> 00:03:05,730 So there will be a mistake on instructions. 41 00:03:06,090 --> 00:03:08,490 So, OK, OK, I'll refresh this page. 42 00:03:08,970 --> 00:03:12,020 You know, I click on instructions, I move to this block. 43 00:03:12,030 --> 00:03:15,930 OK, this is this is looking fine so we can define some instructions here. 44 00:03:16,290 --> 00:03:17,480 Like a. 45 00:03:19,550 --> 00:03:26,710 Plus, sign, we can define, uh, like, uh, we can define some instructions plus for Ed.. 46 00:03:30,140 --> 00:03:36,650 OK, and simply something like star for multiplication, 47 00:03:39,980 --> 00:03:43,520 OK, something like the on. 48 00:03:47,050 --> 00:03:49,630 We can define this for division. 49 00:03:52,360 --> 00:03:59,380 OK, and basically we're looking at potentially longer using a python, and this is what the law division 50 00:04:00,530 --> 00:04:01,000 flawed. 51 00:04:05,130 --> 00:04:05,760 Division. 52 00:04:06,720 --> 00:04:07,710 Yeah, on. 53 00:04:09,150 --> 00:04:14,760 We can cry also like this for my niece. 54 00:04:14,800 --> 00:04:15,110 OK? 55 00:04:20,440 --> 00:04:27,540 OK, so basically we have to find some instruction plus or minus multiplication division for division 56 00:04:27,550 --> 00:04:29,950 we can define like. 57 00:04:32,040 --> 00:04:38,450 Something like this, also a parenthesis also. 58 00:04:38,490 --> 00:04:39,150 We can define. 59 00:04:41,470 --> 00:04:44,800 OK, we can define or we can define as Brackett's. 60 00:04:47,240 --> 00:04:48,010 Brackets. 61 00:04:48,970 --> 00:04:55,210 OK, we can simplify parentheses, I think, parentheses. 62 00:04:56,150 --> 00:05:03,180 OK, so basically portentously used to find a priority, like if you wanted the absolute first done 63 00:05:03,680 --> 00:05:04,610 and this is the next. 64 00:05:04,940 --> 00:05:08,360 So we would move to the page and refresh this page. 65 00:05:09,020 --> 00:05:12,830 So this record plus one edition minus multiplication division. 66 00:05:13,100 --> 00:05:14,300 Division in parentheses. 67 00:05:14,330 --> 00:05:15,890 OK, so this looks fine. 68 00:05:16,190 --> 00:05:19,920 So what we can do define we can define a new you are in here. 69 00:05:20,180 --> 00:05:22,960 So now we move to some more. 70 00:05:23,360 --> 00:05:23,700 So. 71 00:05:24,490 --> 00:05:26,450 So you want to start with the file. 72 00:05:26,900 --> 00:05:28,130 So I define a part. 73 00:05:29,660 --> 00:05:32,060 Submit query. 74 00:05:33,320 --> 00:05:41,120 OK, and we will start submit query and I'll give this a name as equal to submit. 75 00:05:42,010 --> 00:05:42,290 Great. 76 00:05:42,610 --> 00:05:47,580 OK, so I I'll find something single cause here some query. 77 00:05:48,340 --> 00:05:49,140 No, this is fine. 78 00:05:49,510 --> 00:05:53,740 Now I'm referring to the getting useful, so I go to views. 79 00:05:54,220 --> 00:06:00,670 So this is human error because since I have no definer of Macquarie in my views defined some. 80 00:06:03,130 --> 00:06:10,120 Some McQuary, OK, I like a request as a barometer 81 00:06:13,150 --> 00:06:19,330 of what I can do and know I will find for statemented. 82 00:06:20,200 --> 00:06:22,840 OK, so this looks fine. 83 00:06:23,230 --> 00:06:29,560 I know in my FEMA page I would move to my page and what I can do. 84 00:06:30,460 --> 00:06:31,820 I have an action here. 85 00:06:31,880 --> 00:06:32,290 Yes. 86 00:06:35,190 --> 00:06:40,810 Thank you all is submit query, 87 00:06:43,720 --> 00:06:45,580 yes, this looks fine. 88 00:06:47,010 --> 00:06:48,780 OK, so this looks fine. 89 00:06:50,070 --> 00:06:54,150 This is a very fine now I would move to my son McQuary Block. 90 00:06:55,800 --> 00:06:56,510 You saw Tom? 91 00:06:56,940 --> 00:06:57,330 Yes. 92 00:06:57,880 --> 00:07:00,690 OK, and Pilottown. 93 00:07:05,470 --> 00:07:14,630 What I can do, I take you as a barometer, as a barometer and request, talk, get. 94 00:07:16,960 --> 00:07:17,560 Query. 95 00:07:20,560 --> 00:07:27,920 Because I will show one thing that inside my form, I can move to the form here. 96 00:07:29,110 --> 00:07:35,200 Here you can see that input I was able to take, and here the name is Squaddie, so you should have 97 00:07:35,200 --> 00:07:38,720 the same name to get parameterized. 98 00:07:38,920 --> 00:07:47,560 So in my life, I'm that same type requestor query because this refers to the same name in the form 99 00:07:47,560 --> 00:07:48,430 you were referring to. 100 00:07:48,850 --> 00:07:50,260 So what we can do. 101 00:07:51,010 --> 00:07:52,150 So I will return. 102 00:07:54,770 --> 00:07:56,790 And HTP response. 103 00:07:57,910 --> 00:08:07,710 Of Q OK, so this sort of this should look fine now I'll move to the page and I'll refresh this. 104 00:08:09,680 --> 00:08:11,750 This is still two plus three. 105 00:08:13,120 --> 00:08:15,690 Start by your summer days. 106 00:08:16,330 --> 00:08:23,740 Yeah, now this is looking fine here, you can see that I went to the road so I could quickly give an 107 00:08:24,190 --> 00:08:25,590 overview of this, what I did. 108 00:08:26,320 --> 00:08:35,410 So you can see that first I define an assignment, but I give instructions and defined instructions. 109 00:08:36,280 --> 00:08:42,670 So basically, you can design instruction plus or minus multiplication division for division parentheses. 110 00:08:42,730 --> 00:08:45,870 OK, now then I went to be fine. 111 00:08:46,000 --> 00:08:50,140 Then I defined a part submit McQueary, which the court ruled on some McQueary. 112 00:08:50,350 --> 00:08:51,610 The name is McQueary. 113 00:08:51,610 --> 00:08:53,170 Then I went to the paedophile. 114 00:08:53,530 --> 00:08:55,690 Then I did request. 115 00:08:55,900 --> 00:08:58,960 Don't get weary and deal with this. 116 00:08:59,290 --> 00:09:01,630 OK, so return if you're going to dispose of. 117 00:09:01,640 --> 00:09:07,900 Q OK, so this is what can do also in the same way we can return adjacent response as well. 118 00:09:08,320 --> 00:09:18,790 Well for this you have to import Jason response, Jason, in response and you can do this on response 119 00:09:18,790 --> 00:09:22,510 of Q So I'll make a request. 120 00:09:25,960 --> 00:09:29,770 OK, what for this, what do you need to do. 121 00:09:29,770 --> 00:09:33,190 You need to define a Jason dictionary. 122 00:09:35,190 --> 00:09:38,100 And in turn, the Pintu is a little tricky. 123 00:09:39,440 --> 00:09:42,780 And then I have put it on a Jason dictionary. 124 00:09:45,320 --> 00:09:50,250 Yeah, you can see now this isn't working as an object, which is good barometer. 125 00:09:50,270 --> 00:09:52,030 And then two plus three star five. 126 00:09:52,100 --> 00:09:58,610 OK, so just on this one, you have to define a dictionary because then it looks like the gist of this 127 00:09:58,970 --> 00:09:59,400 object. 128 00:09:59,420 --> 00:10:03,690 OK, so in this way we can define an ecstatic response as well. 129 00:10:05,720 --> 00:10:06,230 So. 130 00:10:07,210 --> 00:10:11,770 Yeah, no, this is fine, so we can adequately do this, yeah, this is fine. 131 00:10:12,040 --> 00:10:13,390 OK, so I'll move to the page. 132 00:10:14,050 --> 00:10:18,400 OK, I typed something else minus to the reset button. 133 00:10:18,760 --> 00:10:21,570 I copy this, the reset button. 134 00:10:21,580 --> 00:10:25,320 We'll here and know this is looking fine. 135 00:10:25,510 --> 00:10:28,090 So in the next we do what we can do. 136 00:10:28,360 --> 00:10:34,210 I would be adding the exception handling and how we can evaluate this without evaluating the result 137 00:10:34,210 --> 00:10:38,260 would be very easy as Python is very powerful in mathematical operations. 138 00:10:38,530 --> 00:10:45,250 So we would we are trying to accept statement as if the calculation has in some error what we can do 139 00:10:45,370 --> 00:10:46,170 exceptionally well. 140 00:10:46,250 --> 00:10:46,830 Volkswagens. 141 00:10:46,870 --> 00:10:47,170 Thank you. 142 00:10:47,300 --> 00:10:47,950 Thank you so much.