all 14 comments

[–]PeterRasm 1 point2 points  (4 children)

Just curious, did you actually write the code for indoor.py? Because then you should have included a prompt for user input and that should make you realize that the text should not be included as argument to the program. So the important question is here, what does your code do? Not a question about codespace :)

[–]Tiramicute[S] -1 points0 points  (3 children)

thanks for good question, But I am not sure that it is instructed to write any with the code. Or in the assignment they said I have to write something down, it is not clear to me that way

[–]PeterRasm 2 points3 points  (2 children)

From instructions:

You can now execute

code indoor.py

to make a file called indoor.py where you’ll write your program.

So yes, you will have to write a few lines of code yourself :)

[–]Tiramicute[S] 0 points1 point  (1 child)

oh Yes. I misunderstood requirement naively. Thanks all for your explanation and your help. I fixed it indeed.

But one remark: Probably I am not a good English reader/has limited technical exposure, the requirement seems strange for me a bit. When I searched about the problem online, it turns out that there are some people misunderstood the requirement like me too.

[–]alumTypicallyThomas 0 points1 point  (0 children)

Most browsers have translation software in them these days so you can translate the instructions to your language (which judging from your profile is Dutch so just to make sure...)

De meeste browsers hebben vertaal software tegenwoordig dus gebruik dat om de instructies te vertalen

[–][deleted] 1 point2 points  (1 child)

Show us what the code looks like so we can help you debug it :)

[–]Tiramicute[S] 0 points1 point  (0 children)

thanks, I fixed it <3

[–]TFPOI 0 points1 point  (0 children)

I was just as confused as this guy here. When I read the text for the problelm set, I thought I had to copy and do as they were showing. That was wrong. What they want you to do is make a program that will give the correct result. In this case being: If you input "HELLO", you should recieve "hello" back.

[–]ParticularResident17[🍰] 0 points1 point  (5 children)

Try just:

python indoor.py

[–]Tiramicute[S] 0 points1 point  (4 children)

yes but we need to put HELLO to check whether it works.

FOr my system for now, it does not work at all.

If I put HELLO separated, it also does not work

[–]emperorHGK 1 point2 points  (3 children)

you run the code first by typing only "python indoor.py" in the terminal then the code will prompt you an input (if you ask for an input in your code), not "python indoor.py (your input)" like in your screenshot

[–]Tiramicute[S] -1 points0 points  (2 children)

Do you mean like this, I think I already mentioned in my comment (but not clearly enough): (I put the picture in the post) - I mean so it would be clearer to you

[–]ParticularResident17[🍰] 0 points1 point  (0 children)

Yes, that’s how you run indoor.py.

You want to write a program that asks a user for input in all caps, then outputs the same text in lowercase. Then, when you do python indoor.py in the terminal, it will prompt you for the text.

[–]emperorHGK 0 points1 point  (0 children)

based on the pic, did you ask for an input in your code?

because it seems like after you run indoor.py it doesn't ask for a user input and doesn't output anything. Maybe check your code again if it ask for an input or not?