Python Project for beginners #4| Caesar Cipher - Complete Code | Python for Beginners #lec66

preview_player
Показать описание
In this video, we will implement one of the earliest forms of encryption and decryption called the Caesar Cipher using Python.
I will explain the complete code line by line.


*********************************************

Connect & Contact Me:

*******************************************

More Playlists:

#python #pythonforbeginners #pythonprojects
Рекомендации по теме
Комментарии
Автор

Thank you so much Jenny! May LORD GOD bless the work of your hands immensely

benmatiko
Автор

Mam Please start lecture series on core java and java script

AbhishekPatil-gkyd
Автор

Mam thank you for providing this type of projects ....🤩🤩🤩🤩

ankkitseth
Автор

I just love this method its so simple easy just awesome amazing

RafayNoor-eeoo
Автор

hello maam. thanks for teaching us ♥im learning from your videos now from the beginning. can u please make some videos of pattern printing with python? ..

Anagha-gxrj
Автор

very simple though very intelligent way of teaching

sidharthsaanvimom
Автор

Good work just i was looking for, can you share the complete course outline with all the programmes that we will work on. Thanks again

biting.scorpio
Автор

Del def decryption function in below elif we call encryption(plane_text=text, shift_key=shift×-1)

shasanksiva
Автор

playagain=True
while playagain:
userinput=input("type e for encrypt and d for decrypt ")
text=input("Enter string ")
shift=int(input("Enter shift key "))
if userinput=="e":
encryption(plaintext=text, shiftkey=shift)
elif userinput=="d":
decryption(ciphertext=text, shiftkey=shift)
wannaend=input("enter Yes to continue and No to end ")
if wannaend=="No":
playagain=False
print("Bye take care") The conditional can also be given this way.

balamira
Автор

love u mam u so dedicated person. love u so much

K.MATHESHSUMAN
Автор

Can def encription return a value like function do in other languages

dgadstv
Автор

@Jenny's Lectures CS IT ...Can you provide the code for defining a single function with both encryption and decryption? Thank You in advance!

KranthiByrapaneni
Автор

A suggestion :-
There is no need to take alphabet list
In encryption function, we can write
cipher_text=" "
for char in plain_text :
if char>='a' and char<='z' :
position=ord(ch)-ord('a')


else:
cipher_text+=char

No need to use alphabet list, use string comparison with >= and <= and chr and ord functions
Who agrees with it? Is it correct? No need to make a database like alphabets

mathsfortunethclass
Автор

def ceaser_cipher():
ed=input("Type encrypt for encyption and decrypt for decryption: ")
if ed=='encrypt':
encrypt=input("enter text: ")
shift=int(input("enter number: "))
for i in encrypt:
i=ord(i)
i+=shift
i=chr(i)
print(i, end="")
print()
ask_again=input("do you want to try again (y/n): ")
if ask_again=='y':
ceaser_cipher()
else:
print("Good Bye")
elif ed=='decrypt':
decrypt=input("enter text: ")
shift=int(input("enter number: "))
for i in decrypt:
i=ord(i)
i-=shift
i=chr(i)
print(i, end="")
print()
ask_again=input("do you want to try again (y/n): ")
if ask_again=='y':
ceaser_cipher()
else:
print("Good Bye")
else:
print("enter valid text")
ceaser_cipher()

Dishaluvbts
Автор

Hi
Please I want you to explain how to Write a program in python that allows to encrypt a message using Row Transposition Cipher

عنزيهالعنزي-سب
Автор

please tell me madam i didnot the if condition in single function

lifetransformation
Автор

Mam please explain partition problem in linked list😊

duppalapudijagadeesh
Автор

hii i like u r teaching . but i did not slove the at lest 1 project

ganeshpotnuru
Автор

can u share this code that u created or anyone who followed along?

abdulbasit
Автор

you deserve to be teacher of our uni in australia not our stupid teachers we have here

geoffay