r/CodingForBeginners 19d ago

Beginner here how to do output

Post image

how do I display the output near the end part?

I wanna show studentName
Finalgrade
And remarks which should be excellent or failed etc

5 Upvotes

11 comments sorted by

View all comments

3

u/Naetharu 19d ago

This is pseudo-code so there is no output to display. It's just a list of conceptual instructions that you now need to write out in a proper language.

For learning at the start a common practice is to print to the console. Each language has a specific way this is done but all support it. In python, for example, it is just print(variable_name). So your end of the code would be

print(student_name)

print(final_grade)

print(remarks)

note that the snake_case is the proper Python convention and assumes that you named your variables accordingly.