00:01
Okay, so this question has some sort of flowchart and then it shows some code and it says apparently it's wrong and they don't know why.
00:12
So the start says input xy.
00:22
So they've done that.
00:25
That looks correct to me what they've done there.
00:27
So let's type it in and see x equals i believe they converted it to a integer int.
00:37
Int, int, but they put in some spaces in a kind of weird way, but it doesn't really matter.
00:45
Input, whatever, let's copy their exact code for now, even though it's kind of weirdly formatted.
00:53
And so the next part is, if x less than or equal to y.
01:00
Okay, so this is definitely wrong.
01:02
This, this, what they've done here.
01:05
So what your code says is, so here, let me let's just do this quickly, just for a so you've typed in if x less than or equal to y true.
01:20
What this is just going to do is nothing, right? so if x is, you know, less than or equal to y, then what, then the code performs this action.
01:33
So for example, if i put here, if i put print x, you know, this is what happens when i print when this condition is true.
01:42
And so if i just put if x less than equal to y true this doesn't do anything at all right so this is just saying okay true then and so if you just type in true i mean it in jupiter it'll give you true but normally it doesn't really do anything so that's the big problem here so what you want to do is get rid of this true statement and then you want to do x plus equals two and then print uh print that um so no, you don't want to print that...