Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

Python program for caesar cipher

03/10/2021 Client: muhammad11 Deadline: 2 Day

python program

Use the provided shift function to create a caesar cipher program.

Your program should have a menu to offer the following options:
Read a file as current message
Save current message
Type in a new message
Display current message
"Encrypt" message
Change the shift value

For more details, see the comments in the provided code.

NO GLOBAL VARIABLES!
Complete the program found in assignment.py. You may not change any provided code. You may only complete the sections labeled:#YOUR CODE HERE
Submit source file and screenshot by the posted due date.

------------------------------------------------------

assignment.py:

shift takes a single character and an integer value as arguments
# Any character not == a-z or A-Z will be returned as is
# Any letter will be shifted by numPlaces in the alphabet
# shift('a',1) will return b
# shift('z',1) will return a
# shift('a',-1) will return z
def shift(letter, numPlaces):
digit = ord(letter)
numPlaces = numPlaces %26
if digit >= 65 and digit <= 122:
if digit <=90:
digit = (((digit - 65)+numPlaces)%26) + 65
elif digit >= 97:
digit = (((digit - 97)+numPlaces)%26) + 97
return chr(digit)

# Read a message from a file
# Read the entire contents into a single string
# Return the string
def readMessage():

#YOUR CODE HERE

return message

# Save the current message to a file
# Over write the file with the entire message string
# Do not return anything
def saveMessage(message):

#YOUR CODE HERE

# Print out the current message
# Nothing more
def displayMessage(message):

#YOUR CODE HERE

# Enter a new message from the keyboard
# Return the new message
def typeMessage():

#YOUR CODE HERE

# Change the shift value
# Prompt the user to enter a new shift value
# Return this new value as an int
def changeShift():

#YOUR CODE HERE

# "Encrypt" the message by shifting
# each character of the message by myShift
# Use the shift function here
# Return the new message
def encrypt(message,myShift):
newMsg = ""

#YOUR CODE HERE

return newMsg

# Create a menu for user
def menu(message,myShift):

#YOUR CODE HERE

# Basic setup stuff
def main():
message = ""
myShift = 5
menu(message,myShift)

main()

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Premium Solutions
Coursework Helper
Financial Solutions Provider
Academic Mentor
A+GRADE HELPER
High Quality Assignments
Writer Writer Name Offer Chat
Premium Solutions

ONLINE

Premium Solutions

Give me a chance, i will do this with my best efforts

$42 Chat With Writer
Coursework Helper

ONLINE

Coursework Helper

I have read your project details. I can do this within your deadline.

$46 Chat With Writer
Financial Solutions Provider

ONLINE

Financial Solutions Provider

Hello, I an ranked top 10 freelancers in academic and contents writing. I can write and updated your personal statement with great quality and free of plagiarism

$33 Chat With Writer
Academic Mentor

ONLINE

Academic Mentor

I have read and understood all your initial requirements, and I am very professional in this task.

$26 Chat With Writer
A+GRADE HELPER

ONLINE

A+GRADE HELPER

I am known as Unrivaled Quality, Written to Standard, providing Plagiarism-free woork, and Always on Time

$38 Chat With Writer
High Quality Assignments

ONLINE

High Quality Assignments

I am known as Unrivaled Quality, Written to Standard, providing Plagiarism-free woork, and Always on Time

$31 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

50 ml of water and 50 ml of alcohol - International relations & Zombies - Relationship Challenges - Discuss - Federico mahora perfume list - Non automated system in front office - Indesign not snapping to guides - Brooks smoke alarm manual - Kent state university business analytics - What is 8 hrs from now - The formula is missing an opening or closing parenthesis - Comp4920 company case study - Introduction of distributed database system - New manufacturing facility in china case study - Competition within intermodal transportation - Home 8th Grade Physical Science Semester 1 Virtual Learning - 9 - Westmorland general hospital appointments - How far is venus from the sun in km - Can the subaltern speak spivak essay - What is cp chemistry - How to choose the best indicator for a titration - The elements of moral philosophy 9th pdf - Grade 10 history book - Are boot camps effective for juveniles - Exact values trig radians - Gibbs reflective cycle example leadership - Understanding human behavior and the social environment 11th edition - Precipitation reaction lab report conclusion - Ancestral lines john barker - 1776 main street santa monica - Khan academy curve sketching - Journal 300 word and 200 word response - Take Test: Final Exam - How do i create a crn - Endocrine case study answers - Sas doctor pay scale - Stranger in the village james baldwin pdf - Public and private families an introduction 7th edition ebook - #{91 =9876751387}{ Husaband wife love problem solution specialist baba ji in Mumbai - Cnss security model explained - How to calculate fte for 12 hour shifts - The disappearance of the golden toad worksheet answers - MBA630 Discussion 2 Week 2 - Exercise 11 5 computing payroll taxes lo p2 p3 - Benny hill ting a ling a loo - 879 duncans creek road woolomin - The author to her book tone - Gattaca movie questions biology - Mapping Innovation Process Steps & New Product Development - Maximum power transfer lab report - Abc co and xyz co are identical firms - Informative speech thesis statement examples - Steady state error example - Population distribution pogil extension questions - Everybody loves raymond active listening full episode - Iowa state university physics - Graham barclay oysters v ryan - Apple inc annual report 2014 - Astrology in the elizabethan era - What will healthcare staffing need be in 10 years - Vitamin b12 subcutaneous injection sites - Gucci replica - Introduction to the human body quiz - Vertices in a cube - Structure of the book thief - Bean boozled game asda - Agriculture Class questions - Becoming a writer russell baker summary - Assignment Needed - 2 paragraph discussion - Alternative math short film tone - Survey Jazz - Marketing the core 8th edition pdf free - Dr pepper snapple group financial statements - MAC, DAC, RBAC - Www luton gov uk parking - Appeal to fear examples - Write Article - 38 coppin street semaphore - Fallen astronaut replica for sale - Bridgestone tg australia pty ltd - When a company borrows cash from the bank - Marina medical instruments catalog - Kim Woods only - Community promoting - Ansys maxwell 2d tutorial - The author to her book tone - Data Security Assignment - Jennifer blackwell dentist padbury - Assignment: National Homeland Security Mission Areas and Theoretical Foundations - NEED 3+ PAGES WITH 3 REFERENCES CITED IN APA FORMAT - Essay - Reiss wheel theory of love stages - Rock n roll relics fifty two - Krispy kreme case study pdf - Trends of information system infrastructure - Modern corporations should be socially responsible because they - Terra corp produces a wide range of furniture - 32nd annual fall diddley craft show - Choosing a Roommate