Skip to main content
7 votes

pset6 - caesar - check50 error: "expected exit code 1, not 0"

main in Python no longer has a special meaning, but is a regular function, its name only chosen to conform to conventions based in C. Try exit(1) instead of return 1. Relevant python docs: https://...
Blauelf's user avatar
  • 21k
1 vote

pset6 Invalid output only with lowercase characters

The solution is simple, you are calling the isupper and islower functions without parenthesis, the correct way is: if c.isupper(): if c.islower():
MARS's user avatar
  • 5,179
1 vote
Accepted (PSET 6) ValueError: invalid literal for int() with base 10

The message is telling you that 'h' cannot be changed to an int. True enough. From the Hints section of the spec: You might find chr and/or ord of help. I think chr is what you want, not int.
DinoCoderSaurus's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible