About 39,700 results
Open links in new tab
  1. Python - Writing pseudocode? - Stack Overflow

    Sep 21, 2009 · All you should do is create the sequence of steps needed for your problem and write it out like that. Since you mention python, just use use a more python like syntax in your …

  2. python - Understanding pseudocode for beginner - Stack Overflow

    Nov 20, 2022 · Pseudocode in general is a language-agnostic way to describe an algorithm by describing the statements you'd use when implementing the algorithm in a specific language. …

  3. Python - PseudoCode for functions and operands - Stack Overflow

    Aug 18, 2017 · If you don't know how to express them, then explicitly write modulus(x, y) or floor(z). Pseudocode is meant to be readable, not complicated. Pseudocode could even be …

  4. date - pseudocode - zellers congruence - python - Stack Overflow

    Jun 8, 2014 · I am taking my first class in programming (python). My assignment is to write pseudocode and later a python program that will calculate the day of the week using …

  5. algorithm - Write this pseudocode in python - Stack Overflow

    In Python the first list element is at index 0, not index 1 as is the case in that pseudo code. So that means you need to subtract one at several places (where it concerns i and j ). Similarly, the …

  6. Creating a high and low game in python and need a lot of help!

    Sep 16, 2010 · Here is the Pseudocode. Print instructions to the user; Start with the variables high = 1000, low = 1, and tries = 1; While high is greater than low; Guess the average of high and …

  7. pseudocode - How to check whether a number is prime or not …

    Oct 6, 2016 · I have designed an algorithm which takes an input and checks whether a number is prime or not. Is this correct? 1)Input num 2)counter= num-1 3)repeat 4)remainder = …

  8. simulating rolling 2 dice in Python - Stack Overflow

    Rolling a random die twice python. 1. Python dice simulation. 3. Simulate rolling dice in Python? 3.

  9. pseudocode - Transform game pseudo code into python - Stack …

    Oct 31, 2012 · Pseudocode for the complete program is given below; your task is to turn it into a working python program. The program should start by printing instructions to the screen, …

  10. What programming language best bridges the gap between …

    Jan 10, 2017 · Python maybe has a clean syntax, but it is not fit that well as pseudocode. For pseudocode must be easily translatable into your language of choice, and python depends a …

Refresh