Questions tagged [vigenere.py]
The vigenere.py tag has no usage guidance.
9
questions
0
votes
1
answer
31
views
I'm confused on list setup and use for vigenere.py
from cs50 import get_string
from sys import argv
import sys
def main ():
Vigenere enciphering program
#define variables
key = str.lower (sys.argv[1]) # catch the key from command line and ...
0
votes
1
answer
37
views
Pset6 Vigenere.py
For Pset6 Python, Vigenere.py does not encrypt any message with any key. It only prints out the given plaintext, not encrypted. Any help would be greatly appreciated. Thanks in advance.
Code:
#...
0
votes
0
answers
51
views
vigenere.py doesn't work correctly (need help huhu)
I need help on vigenere.py, after hours of rethinking about my algorithm I could not even know where the mistake is. In this link is check50 from my code: https://cs50.me/checks/...
1
vote
1
answer
40
views
pset6 vigenere.py the program show error online 25. Help me to get rid of this error please. Thank you
from cs50 import get_string
import sys
def main():
# ensure proper usage
if len(sys.argv) != 2:
print("usage: python vigenere.py keyword")
exit(1)
if sys.argv[1].isalpha()...
0
votes
1
answer
88
views
Python: location of variable in code
I have a functional version of "Vigenère" for pset6 but I noted an issue with the location of a variable that I would appreciate some insight on.
While iterating through each letter of the plaintext ...
0
votes
1
answer
171
views
vigenere.py help
please guys i am really stuck, first of i have a question as to how to debug python code. like the debug50. and my second is with my code for vigenere.
import cs50
import sys
def main():
# make ...
0
votes
1
answer
491
views
Pset6 CS50x 2017 Vigenere Python Logic Error
I'm sorry to make yet another thread about this program, but I thought that since the other two were about specific error messages, I'd make another one for help on figuring out what I'm doing wrong ...
0
votes
1
answer
437
views
CS50 2017 Vigenere Python "IndexError: list index out of range"
Um, another error, another thread? O.o Well, anyway, here's the code:
import cs50
import sys
if len(sys.argv) == 1 or len(sys.argv) > 2:
print("Usage: python vigenere.py <key>")
...
0
votes
1
answer
178
views
CS50 2017 vigenere.py Issues "TypeError: not all arguments converted during string formatting"
As the title suggests, I have a "TypeError: not all arguments converted during string formatting" error in vigenere.py for Pset6.
Here's the code:
import cs50
import sys
if len(sys.argv) == 1 or ...