You can learn about Introduction to Programming Using Python Programs with Outputs helped you to understand the language better.
Introduction to Python Programming – Pseudocode
A pseudocode is a set of statements written in a human-readable language, expressing the processing logic of a program.
General rules used for writing pseudocode are as follows:
(a) Imperative sentence: The imperative sentences are used to show actions. For example: Add x to sum, Display result, sort list, calculate, etc.
(b) Operations: Mostly arithmetic operations ( +, -,*,/etc.) and relational operators(=,=>,=>,<,>,etc.) are used.
(c) Decision: IF, THEN, ELSE, CASE, ENDCASE are used for decision-making.
(d) Looping: The looping or repetition of statements is shown by FOR, WHILE, etc.
- Python Programming – Flowcharts for Sequential, Decision-Based and Iterative Processing
- Introduction to Python Programming – Algorithms
- Python Programming – Token
Display “selected for National scholarship Examination”
Display “selected for national scholarship Examination”
FOR roll to roll10DO
Display Roll, Name, Address
print if the candidate can vote or not.
THEN Display “Can Vote:
Display “Cannot Vote”