I have a list of numbers: I am trying to convert the list from integers to ascii characters of the same number before converting them to hex. I am ...
I have a list of numbers: I am trying to convert the list from integers to ascii characters of the same number before converting them to hex. I am ...
I am fairly new to python and I am trying to make a code that converts any character to its binary equivalent. I so far have some code that displays t ...
The following def clean_sheet_title function references INVALID_TITLE_CHAR and INVALID_TITLE_CHAR_MAP to strip out invalid characters and limits the t ...
I am trying to make a Ceasar Cipher. Struggling to get the ord() then shift it and then chr() for the encryption. I can get the first character in 'ab ...
Ceasar cipher encryption method. Using ord() and chr () to decrypt a string. If a value with the offset is < 32 or > 126 on the ASCII table it w ...
I'm solving a codewar question - there are two groups containing characters with their own power (A = 1, B = 2, C = 3 . . . Z = 26). Strings consist o ...
In Python you can convert an integer into a character and a character into an integer with ord() and chr(): >>>a = "a" >>>b = ord(a ...
I have to write a code that produces the following: I have this written but it isn't working: I can't get the ord Unicode to print and I don't k ...
Write a function called get_numerals. get_numerals should accept one parameter, a string. It should return a string containing only the numerals from ...
I'm supposed to write a script that asks the user to enter some words (the number of words is also determined by the user) and then I have to determin ...
I need to convert a string to numbers using a recursive function and I'm a little confused about how to go around the base and recursive cases. I have ...
I am a Ruby beginner and i am working on a cypher program. It takes a phrase , transforms the string to numbers , increments the numbers with a given ...
Good morning people! I've been trying to convert this code written in Python 2 to Python 3.It's a simple function to encrypt strings using XOR. What I ...
I have: As per my understanding this should just output every letter in a sentence like: For the string "aB)a2a2a2)" the output is correct: F ...
I am a beginner and I am having a problem returning a value in python. The Question is as follows: Write a function called get_capitals. get_capitals ...
How can i structure a for loop to iterate over every row, and every letter either using sklearn.preprocessing.LebelEncoding or ord()? For instance, ...
Trying to make an encrypter that shifts ascii values of each character in a message by the value of a corresponding character in a password - Output a ...
Why does the following code not output the corresponding letters correctly? It outputs number to letter is['\x03', '\x03'] ...
I run the program b.py how can I make the third line of the output look the same as the first b.py: ...
I have been stuck with this little problem on how to use the user input for "stop" in the range function and then mirror the string ( in this case the ...