Skip to main content

Questions tagged [caesar.py]

The tag has no usage guidance.

3 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0 votes
1 answer
44 views

error in the output of caesar for pset6

it just not letting me to enter any value to the command line argument ..help me out!!!it shows me this: ~/workspace/pset6/caesar/ $ python caesar.py Provide command line arguments: ~/workspace/...
Asha Thomas's user avatar
0 votes
1 answer
24 views

CS50 caesar.py. My program seems logically and syntactically fine, however my encryptions are never correct

import cs50 import sys import string def main(): # checks if there are two arguments if len(sys.argv) != 2: print("Incorrect amount of arguments") return 1 # converts ...
Ben's user avatar
  • 1
0 votes
1 answer
178 views

Problem Set 6 CS50 2017 Caesar Issue TypeError: 'str' object does not support item assignment

As the title suggests, when I tried to run my current code for Caesar.py, I got the error message "TypeError: 'str' object does not support item assignment" from the interpreter. My code is like this:...
Osman Zakir's user avatar