While printing value of variable Marks i am getting error.
please help me with your valuable suggestions for my learnings.
While printing value of variable Marks i am getting error.
please help me with your valuable suggestions for my learnings.
In Python indentation is used to show which code blocks go together. If indentation is not consistent through the code interpreter would have problems with running such code.
By the way usually it’s much easier to help when code is an actual text, not an image.
Thanks for your inputs and yes i found the same indentation was the problem here in my code and thats why it showed me error.
Thank you very much
When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').