a character representing one or more of the sounds used in speech; any of the symbols of an alphabet.
Questions tagged [letter]
448 questions
-2
votes
2 answers
Incrementing Strings in Python
How do I increment strings in python? For example, x should change to y, y to z, z to a.
Please note that only the last letter should change. For example, the word Ved should change to Vee, and not Wfe
Other examples: xyz should increment to…

Ved Panse
- 1
- 3
-2
votes
1 answer
How do I create lists in a list in Python? Is it possible?
How to make list each character of list? like this:
li = ['A','B','C']
into :
li = [['A'],['B'],['C']]
-2
votes
2 answers
How Can I read a string from a txt file line by line and run it with a function?
I have a txt file named a.txt. In this file a has a string per line. I want to append these strings line by line to the keyword = {} dict and run my double_letter function for each line of string. How can I do it?
my double_letter function:
keyword…
user19485047
-2
votes
2 answers
I want to create a function where for every word of the alphabet
I want to create a function where for every word of the alphabet the user uses for an input, the console returns the following:
a = 0
b = 00
c - 000
And sow on...
Example: Sow if the user put the input of "abc", the console will print out:…

Vrabiesmihai
- 15
- 2
-2
votes
3 answers
how to convert a list of strings into a list of letters in python?
How do I turn this:
list = ['hi', 'my', 'name', 'is']
into this:
list = ['h', 'i', 'm', 'y', 'n', 'a', 'm', 'e', 'i', 's']

Ben Pt
- 17
- 1
-2
votes
1 answer
strange way of working in DFS in one of leetcode questions
I think this is just about some fundamental difference about Python function and data structure but I wasn't able to figure out why the method II doesn't working it seems the variable res also change values during the traverse but just not as…

xappppp
- 481
- 7
- 18
-2
votes
2 answers
Using StringBuild to change string to lowercase only for uneven positioned letters
I am currently learning c# with an online tutorial. So far I have been able to solve every exercise but this one I cannot figure it out:
Write a program asking the user a string. Then it will modify the string by changing uneven letters (first,…

Mario Duran
- 23
- 2
-2
votes
1 answer
Import text file with letters and print their numbers
I have a text file containing letters in a list "a - z", i want to import that file and make VSC print out something like this:
Letter number 0 is a
Letter number 1 is b
Letter number 2 is c
I wanna do this in Visual Studio Code with python.
Anyone…

Robin K
- 35
- 5
-2
votes
2 answers
Finding strings with 3 letters and 3 numbers(ID's) in large text Javascript
I need to locate all strings in a large text document which includes 3 letters and 3 numbers such as:
FPV003
But there are hundreds of different strings of such type in-between regular text,
I've tried Regex, but cant get it to work,
How do I locate…
-2
votes
1 answer
How can I set charset in HTML?
I'm having a trouble with a site. I set the charset to Unicode, but it still won't work. Here there is sample code of how I set it:

Deanjoe
- 15
- 1
- 8
-2
votes
2 answers
How do I fix this in C?
I ask the user to enter a letter and each letter does something different. If they enter anything else it prints out the else statement at the end. The problem is that the else statement is printed no matter what I enter and it prints "Enter a…

Anonymous
- 57
- 1
- 9
-2
votes
1 answer
Convert integer to Excel column (letter or letter combination) - complete example PHP, unit test and explanation
Let's suppose we have a function like this one that takes a PDOStatement (any query) and auto generates an excel file (using PHPExcel library):
/**
* Create an Excel file from an opened PDOStatement. Return the path to access the Excel file
* …

Jonathan Parent Lévesque
- 1,902
- 1
- 25
- 35
-2
votes
1 answer
Need help for a arithmetic puzzle (about string and letters)
For the assignment, I need to solve verbal arithmetic puzzle with java
(ex. send + more = money, base + ball = games)
I need some help for some part.
I can't explain exactly but I have no idea how to separate letters from string and save number…

Konorika
- 69
- 2
- 9
-2
votes
1 answer
Don't take capital letters/spaces in consideration
For our workgroup we've got to write a program that detects whether the given phrase is a "palindrome" (in other words, when one reverts the entire phrase, it still says the same). Now that does sound easy at first sight but the program must be able…

Very good
- 1
- 1
-2
votes
2 answers
All possible words from letters in Python
In my program, the user will enter the letters(max is 5), and program will generate all possible words from those letters. For example the user will enter "a b c". Words will be "abc", "acb" , "bac", "bca", "cab" and "cba".
How can i do it? I…

Uğur
- 47
- 1
- 7