Pseudo code uses keywords like PROCEDURE, ENDPROCEDURE, and FUNCTION to define subroutines, while Python uses the def keyword. Both allow defining subroutines that can take parameters. Pseudo code uses INPUT to take user input, while Python uses input() or other functions like int() or float(). Both support basic math operators, conditional statements like IF/ELSE, and loops like FOR and WHILE. However, Python does not have a REPEAT UNTIL loop and uses while loops instead. Both support arrays, but Python uses [] notation while pseudo code uses ARRAY declaration.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
285 views
Python VS Pseudo Code
Pseudo code uses keywords like PROCEDURE, ENDPROCEDURE, and FUNCTION to define subroutines, while Python uses the def keyword. Both allow defining subroutines that can take parameters. Pseudo code uses INPUT to take user input, while Python uses input() or other functions like int() or float(). Both support basic math operators, conditional statements like IF/ELSE, and loops like FOR and WHILE. However, Python does not have a REPEAT UNTIL loop and uses while loops instead. Both support arrays, but Python uses [] notation while pseudo code uses ARRAY declaration.