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

Cowboy law firm income statement - The two norths normally used in map reading are - The mask you live in questions and answers - Network scanning software tool - Http www nayre org - Healthcare assignment writing service - Https slate workplaceanswers com cdsmvc course index - Co op funeral flowers - Integrated marketing communications affects all of the following except - Profile Comparison - Seymour leisure centre membership prices - What is the definition of health related components of fitness - Economist milton friedman is most closely associated with - Could not synchronize record to exchange server 19736 - Northern rivers bushwalking club - Schneider spd 3 phase - Area of equilateral triangle when median is given - Locating an Empirical Research Article - Parallel axis theorem in engineering mechanics - Rice production technology ppt - Varicose veins and vibration machines - Eagles nest arthurs seat - Forensic files beaten by a hair worksheet answers - Project Management : Opening a restaurant - Bill of sale as is no warranty - Wells fargo competitive advantage - Wyngate rest home mablethorpe - 2 paragraph 10/02/2020 - Sydney boys subject selection - Discussion Forum - Letter from birmingham jail rhetorical precis - Blazeview email - Discussion Post Help - Document Analysis Worksheet - Ecology of the West - Legal point of discharge maroondah - Beeler furniture company bank reconciliation june 30 20y2 - Mr. and Mrs. Santana - Sensible eco living trash can deodorizer tabs - Strategic management concepts by frank rothaermel 4th edition free pdf - Need List Of 10 Homework Education Websites - C++ how to program 7 e pdf - Find each angle measure to the nearest degree answers - Understanding year 4 maths - How to record journal entries in excel - Brown sugar sax solo tab for guitar - Belmont report and its principles quiz answers - Leadership and conflict management ppt - They say i say escape from the western diet summary - What is the brand resonance model - Gigabyte inc manufactures three products for the computer industry - National ehealth strategy toolkit - Abercrombie and fitch environmental issues - Heart failure concept map - Iso 2248 drop test pdf - Project. Please read. This is due tomorrow by 5 pm CST. - Johns lyng group perth - 1014(2) - Interactúa sin Límites: Chat GPT en Español Sin Costo - Det tronics uv flame detector - Scientific method matching exercise resource - Aboriginal lesson plans dreamtime stories - Unit 1 Scholarly Activity - Lab safety rules quizlet - Yellow cab fare estimator pittsburgh - 737 leading edge flaps - Omega bright steel limited faridabad haryana - Can i eat soggy cereal after wisdom teeth removal - Dulux mason bay half - Why is mobile computing critical to the success of an organization now? - Describe the compensation philosophy of maersk - Basic rules of derivatives - North wingfield primary school - Alliteration examples for high school - Wgu c361 task 2 - Kevin hart credit card declined - Husky injection molding systems case strategy - English 102 research paper - Use the dichotomous key in the table to identify a gram-negative coccus. - Spynie dental practice elgin - Discussion and replies - Introduction to management and organizational behavior - United airlines pros and cons - What greek myth inspired monteverdi's first opera - Jbt lawyers melbourne - To determine a pieceworker's regular hourly rate for one week: - Two in Depth Discussions Due Tomomorrow - I need 1000 words essay in business through research internet - Ball bearings inc faces costs of production as follows - 300 Words - Behavioural approach to treating phobias - Assignment - List of iso 9001 certified companies in new zealand - Algebra road trip project answer key - What word does jefferson use to describe rights - Catch 22 character map - Human resource management mcgraw hill test bank - Papaer we 5 - Weighted average mark anu - Strengths of the biological approach - Dr kushner's personality type diet quiz