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

Sae reconciliation in cdm - Ceres gardening case - David kessler the end of overeating pdf - Does true altruism exist - Spark notes the great gatsby - Cim certificate in professional marketing official module guide - Publisher of the norton introduction to literature - Comp science - 36a holden drive oran park - How to calculate calories chemistry - What are the four key attributes of strategic management - Activity based costing profitability analysis - Proposal - Tartuffe symbols - Aro terms and conditions - Reduction of butanal using nabh4 - Balancing symbol equations worksheet - Psy 450 week 2 cultural considerations presentation - 3 phase line to line voltage calculation - Love and hate relationship psychology - 19822 colfax st lowell in 46356 - How did erp help improve business operations at shell - Organizational behavior full book pdf - East leake academy uniform - Dissection of fish digestive system - Why does stanley rape blanche - The meaning of friendship in a social networked world - How to write a position paper in apa format - Samples of anecdotal observations in childcare - Taylor wimpey howe barracks - PSycho - Nec graded project - Greatest physical threat to information systems - Supply chain network design decisions - Thinking through the past volume 2 - Frm course in india - Discussion post - El partido de hockey a las 6 pm - Stat 101 worksheet confidence intervals answers - Module 16 displaying analyzing and summarizing data answers - Snhu managerial accounting final project - IT402#2 - General dynamics land systems canada corporation - Cmi calc - The nerdy dozen cliff notes - Estas faldas elegantes están de moda - Mayeroff caring ingredients - Psychology brain model project - Draw an angle with the given measure in standard position - Volume flow rate venturi meter - Hill model for team leadership - Conductors and insulators ppt - Factoring quadratics sign rules - Stealthy dwarf snow white - Waratah fencing wire prices - Eye level angle shot - Atomic mass of silicon isotopes - The muffin house produces and sells a variety of muffins - Exponents square roots and scientific notation - Romeo and juliet study guide questions and answers act 2 - Phar mor case study solution - 1. Define blockchain. 2. Discuss how enterprise blockchain enriches the definition of blockchain. You are required to cite this week’s assigned readings in your paper. You may also cite external sources if you wish. - Prefixes that start with dis - Organisational experience - Policy & politics in nursing and healthcare pdf - What states require strict obedience to dillon's rule - Intermediate math help - Lab 4 projectile motion answers - 58/3 sorrell street parramatta - Case study in IT field - M2: LESSON 5 - Fieldwork Essay - Convert hz to kva - Vashikaran Specialist In Mumbai +917657874622 - First citizens bank conyers ga - Wgu c229 time log obesity - Direct and inverse variation practice worksheet answers - Why is america self segregating - Role of nurse informaticist in system development life cycle - Free osha 300 log excel - Middle school math with pizzazz book e answer key e10 - Diversity examples for interview - Relationship between tqm and iso 9000 - Belcon cleaning supplies seaford - Chartered accountants ireland cpd requirements - Mortgage broker license ontario - Hhmi biointeractive virus explorer answer key - Boolean algebra simplification examples - Discussion(CC) - Chccs english home weebly - Metal activity and reactivity oxidation and reduction reactions lab answers - General lab safety experiment 1 neutralization of acids and bases - If mutually exclusive projects with normal cash flows - Bartender print to file - Self referral physio worthing hospital - Elder Abuse - Module 3 - Current issue artical - Major concepts of nursing theory - Clothing boutique case study - Learn genetics utah addiction drugs mouse