00:00So over here you can see that I have a programming code and if I were to go ahead and run it,
00:11then what it says is that there's an error and it cannot run. So what you can also do
00:16is you can go ahead and utilize Copilot in order to fix these kind of programming errors.
00:23So I'm simply going to go ahead and copy out all the code right here and in Copilot I'm
00:27going to go around and then paste it and then simply say debug this programming Python code
00:36right here just like this. So once I go ahead and do that, then what happens is that it
00:41simply goes ahead and detects up the errors and it says there is mostly typo errors right
00:47here in rain, rays it should be rains, numerous it should be numbers and so forth as you can
00:53see right here. So it corrected out all of the typos. And if I were to go around and
00:59copy it now and then repaste it out right here, let's say for example, and then run.
01:04Now the program actually runs right here. So now you can see that this is a program
01:10that actually takes in three numbers and asks you whether you want to subtract, multiply
01:14or divide. So let's just go around and say multiply right here just like this, press
01:19enter. And this is the result. So do you want to perform another calculation? I'm going
01:23to say no. And it interrupts the program right here just like this. And this is how
01:29you can go ahead and debug programming codes inside of Microsoft Copilot. So hope you found
01:35this video useful. So be sure to comment on what you think about it. Be sure to hit the
01:40like button and don't forget to share this out with your friends and family. And for
01:45more contents like these, do follow simple tutorials.
Comments