Home > other >  Python
Python

Time:09-24

Which bosses will be written in python Caesar encryption, this picture was written by my roommates, is there any more a little bit more simple

CodePudding user response:

Stick the code come over bad? Convert acsii code, good point, or replaced with a dictionary

CodePudding user response:

A=input (" please input string: ")
B=int (input (" please enter the constants: "))
For I in a:
Print ((CRH (word (I) a + b)), end=' ')

CodePudding user response:

refer to the second floor 5250 response:
a=input (" please input string: ")
B=int (input (" please enter the constants: "))
For I in a:
Print ((CRH (word (I) a + b)), end=' ')

A=input (" please input string: ")
B=int (input (" please enter the constants: "))
For I in a:
Print ((CRH (word (I) a + b)), end=' ')

The results of this output is defDE]

CodePudding user response:

refer to the second floor 5250 response:
a=input (" please input string: ")
B=int (input (" please enter the constants: "))
For I in a:
Print ((CRH (word (I) a + b)), end=' ')

A=input (" please input string: ")
B=int (input (" please enter the constants: "))
For I in a:
Print ((CRH (word (I) a + b)), end=' ')

The results of this output is defDE]

CodePudding user response:

refer to the second floor 5250 response:
a=input (" please input string: ")
B=int (input (" please enter the constants: "))
For I in a:
Print ((CRH (word (I) a + b)), end=' ')

A=input (" please input string: ")
B=int (input (" please enter the constants: "))
For I in a:
Print ((CRH (word (I) a + b)), end=' ')

The results of this output is defDE]

CodePudding user response:

reference ha li deer ah ~ 4 floor response:
Quote: refer to the second floor 5250 response:
a=input (" please input string: ")
B=int (input (" please enter the constants: "))
For I in a:
Print ((CRH (word (I) a + b)), end=' ')

A=input (" please input string: ")
B=int (input (" please enter the constants: "))
For I in a:
Print ((CRH (word (I) a + b)), end=' ')

The results of this output is defDE]

You are to keep letters after cycle? Z from a start?

CodePudding user response:

reference 6 buildings 5250 response:
Quote: reference ha li deer ah ~ 4 floor response:
Quote: refer to the second floor 5250 response:
a=input (" please input string: ")
B=int (input (" please enter the constants: "))
For I in a:
Print ((CRH (word (I) a + b)), end=' ')

A=input (" please input string: ")
B=int (input (" please enter the constants: "))
For I in a:
Print ((CRH (word (I) a + b)), end=' ')

The results of this output is defDE]

You are to keep letters after cycle? Z from a start?

???? See the title meaning should be yes

CodePudding user response:

reference ha li deer ah ~ 7 floor response:
Quote: refer to the sixth floor 5250 response:
Quote: reference ha li deer ah ~ 4 floor response:
Quote: refer to the second floor 5250 response:
a=input (" please input string: ")
B=int (input (" please enter the constants: "))
For I in a:
Print ((CRH (word (I) a + b)), end=' ')

A=input (" please input string: ")
B=int (input (" please enter the constants: "))
For I in a:
Print ((CRH (word (I) a + b)), end=' ')

The results of this output is defDE]

You are to keep letters after cycle? Z from a start?

?? See the topic should mean yes


The import operator
A=input (" please input string: ")
B=int (input (" please enter the constants: "))
For I in a:
If the word (I) in the range (word (' a '), word (' x ')) or word (I) in the range (word (' a '), word (' x ')) : # if the character in the 'a' and 'w', 'a' ~ 'w', directly back three
Print ((CRH (word (I) a + b)), end="")
The else: # if for x, y, z, x, y, z, cycle starting from A
Print ((CRH (word (I) + b - 26)), end="")

CodePudding user response:

8/f, 5250 reference response:
Quote: refer to 7th floor, the ritual deer ah ~ reply:

Quote: refer to the sixth floor 5250 response:
Quote: reference ha li deer ah ~ 4 floor response:
Quote: refer to the second floor 5250 response:
a=input (" please input string: ")
B=int (input (" please enter the constants: "))
For I in a:
Print ((CRH (word (I) a + b)), end=' ')

A=input (" please input string: ")
B=int (input (" please enter the constants: "))
For I in a:
Print ((CRH (word (I) a + b)), end=' ')

The results of this output is defDE]

You are to keep letters after cycle? Z from a start?

?? See the topic should mean yes


The import operator
A=input (" please input string: ")
B=int (input (" please enter the constants: "))
For I in a:
If the word (I) in the range (word (' a '), word (' x ')) or word (I) in the range (word (' a '), word (' x ')) : # if the character in the 'a' and 'w', 'a' ~ 'w', directly back three
Print ((CRH (word (I) a + b)), end="")
The else: # if for x, y, z, x, y, z, cycle starting from A
Print ((CRH (word (I) + b - 26)), end="")

Wow, thank you!!!!!

CodePudding user response:

nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull