About 55,500 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. 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 …

  4. 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 …

  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. Write recursive pseudocode problem in python code

    Apr 5, 2020 · @KarlKarlsson--my solution does "write the code in an inefficient way using only recursive alls". This is because it has the recursive compute (h[i] + p(n-i) for i in range(1, n+1) …

  9. python - First time writing Pseudocode, can someone help me?

    Oct 13, 2023 · My assignment is to write Pseudocode for a program I was told to create. The Color Mixer program in Python. Here are two examples of how to write the Psuedocode out of …

  10. python - How to create class diagram and write pseudocode that …

    Jun 1, 2019 · If you must have getter and setter methods, here's a succinct way to do it using Python's built-in property class. The create_property() utility function shown is a simplified …

Refresh