0

pseudo code

how can i Create a Pseudo code? https://sololearn.com/discuss/1290502/?ref=app

16th Oct 2021, 4:01 AM
Saji Talkie
1 Odpowiedź
+ 3
Saji Talkie You have an idea, and you want to write the concepts in order, without getting bogged down by the details. Example psuedo code 1. create a num input 2. use input to create a range 3. look for the even numbers 4. add the even numbers to get a total - i might need a variable to do this Example code num = int(input()) total = 0 for item in range(num): if item %2 ==0: total += item print(total) The psuedo code is merely there to help order your thoughts, the actual code may vary depending on your style, skill, syntax
16th Oct 2021, 5:13 AM
Rik Wittkopp
Rik Wittkopp - avatar