Question: in python programming 3.6.3 using beginning code only You are going to create a cryptogram. If you are unsure what a cryptogram is, look this

in python programming 3.6.3 using beginning code only

You are going to create a cryptogram. If you are unsure what a cryptogram is, look this up via google or wikipedia. This cryptogram will involve two alphabets. One is the standard alphabet and one is a 'scrambled' version of the alphabet. To translate a quote into its cryptogram form you have to find the equivalent index in its 'scrambled' alphabet. You will need to navigate through upper- and lower-case, as well as punctuation.

import random alphabet = "abcdefghijklmnopqrstuvwxyz" scrambled = list(alphabet) random.shuffle(scrambled) print(scrambled) # shown so you can see the mapping # a sample quote by Dr. Seuss: quote="Don't cry because it's over, smile because it happened." crypto = "" # Loop through the quote, and on each character determine # the crypto-equivalent character, or if it's punctuation, # treat "as-is". When you find the mapped character (use the # index!), add it to the crypto string. Break this problem # down into parts.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!