00:00So, what you can also do is generate programming codes by using ZCPT.
00:11Let's say for example, for that, I'm going to write this prompt.
00:14I'm going to go around and say write a Python code in order to take three inputs and then
00:24ask the user what to do, add, multiply, divide or subtract them and then display the result
00:39as per the user's choice right here like this.
00:44So if I were to go around and press enter right here, then what happens is that it gives
00:49me the Python code right here.
00:52So there you go.
00:53I get input right here, add, multiply, divide and subtract has been seen into functions.
00:59And then you can see that I get all of these details right here just like this.
01:04So if I were to go around and copy out this code, I can go around onto online Python right
01:09here just like this and paste this out right here.
01:12And now I'm going to go around and hit the run button right here just like this.
01:17So here it says enter three numbers.
01:19So let's say 5, 4 and 5 right here.
01:23Let's use an operation right here just like this.
01:25So I'm going to go around and say multiply right here just like this.
01:31Press enter and it says the result is 100 right here.
01:35Let me just go around and run again right here and say 7, 8 and 1 right here.
01:40And I'm going to go around and say subtract right here just like this.
01:45And then you can see that it says invalid operation right here.
01:49So let's just go around over here and then I'm going to go around and then type in 45
01:55this and this right here just like this.
01:57And I'm going to go around and say divide right here just like this.
02:01And the result is 0 as you can see right here.
02:04So that is what you can do as you can see right here.
02:07You can add, you can subtract, you can multiply depending on what you choose right here.
02:14And that is how you can utilize chat gpt in order to generate programming codes as
02:19you like.
02:20So hope you found this video useful.
02:22So be sure to comment on what you think about it.
02:25Be sure to hit the like button and don't forget to share this out with your friends and family.
02:30And for more contents like these, do follow simple tutorials.
Comments