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
How does one format a letter in the Memoir document class for LaTeX?
If you have a traditional letter with content like-so.
From Someone
50 Example Drive
Random City, ZIP
Country
Tel: 444-555-6666
July 30, 2009
To Somebody
51 Example Drive
Random City, ZIP
Country
Tel: 444-555-7777
Dear Somebody:
Get off my…

Brian M. Hunt
- 81,008
- 74
- 230
- 343
2
votes
4 answers
How to print frequencies in descending order?
I've had a look at other similar questions already but haven't been able to apply the answers to my program. At the moment the frequencies are printed in ascending order, what do I change to make it print it in descending order?
from sys import…

user1390700
- 21
- 2
2
votes
1 answer
smallest "scrabble board" containing every word of a list
I am looking for an algorithm able to build an array (2D) of letters from which I could extract each word of a given list.
Like in Scrabble, words can cross each other, and be horizontal, vertical or diagonal. Of course there are some obvious…

aymeric l
- 21
- 1
1
vote
4 answers
java letter game [homework assignment]
I have a problem with my homework assignment. I'm not asking for any code whatsoever. All I ask for is some advice on how to implement some parts of the assignment.
The assignment is the following: N number of players (n is given by the user) and a…

Constantin
- 23
- 1
- 5
1
vote
1 answer
Printing letters in 2D arrays? First letter not showing
I'm hoping someone can answer this so I'll try to explain this well.
My goal is to generate a MAXIMUM of 3 unique vowels (AEIOU) on a line of 5 squares. I have made 25 squares using a 2D array (board[][]), but I want to do the first line first.…

alicedimarco
- 325
- 1
- 5
- 20
1
vote
1 answer
Raphael -- Changing the letter color of text string
(using Raphael_2.01, WindowsXP, Firefox8.0.1)
Hello,
I'm trying to change the letter color of text by referring to "Drawing Text" of
http://www.html5rocks.com/en/tutorials/raphael/intro/ .
I can display the text "HTML5ROCKS" but I can't change the…

Crane
- 39
- 1
- 6
1
vote
1 answer
How to subtract space using for-loop in letter pattern?
I am new to c++, and I have a problem displaying a pattern of the letter k in c++.
The letter displays pattern depending on the input size.
Here is the sample display of two different sizes of pattern:
sample display
input size: 4
**** ****
**** …

Johnson
- 21
- 4
1
vote
2 answers
How to convert numbers to letters in swift?
I'm stuck help. You have to use strings, but I haven't really found a logical way to make this work well.
var letters = ["Zero","One","Two","Three","Four","Five","Six","Seven","Eight","Nine","Ten"]
var str:String
print("Enter a number from 0 to…

TheNinthClound
- 11
- 2
1
vote
1 answer
How to generate the last letter of a google sheet column given the first letter and an array of data?
Now my approach is to generate only one letter, but if there is a lot of data and it comes after column Z, my code breaks.
Working code that will give a, d:
const countData = [1, 2, 3, 4].length;
const initialLetter = 'A'.toLowerCase();
const…

Vladislav
- 125
- 6
1
vote
4 answers
Is there a way to select a certain letter in Python?
dna="AAGAGATGCCATTGTCCCCCGGCCTCCTGCTGCTGCTCTTAGCGGGGCCACATCGGCCACCGCTGCCCTGCCCCTGGAGGGTGGCCCCACCGGCCGTTACAGCGAGCATAC"
So basically I was trying to select ONLY the letter "C"s in the dna variable, and simply replace it with the letter "G".
Is…

KL777
- 43
- 6
1
vote
1 answer
Calculate average the letter length of a phrase with one function
I did this programming to calculate the average letters of a phrase. Do you think this program is responsible for all texts? And do you have a better offer? Thanks
# calculate average word length of phrase
print("This program will calculate average…

Hesam Abbaspour
- 13
- 3
1
vote
3 answers
How to capitalise first letter of each word in a string in go manually?
I am trying to write a function manually that capitalises the first letter of each word in a string. For example: "My dog is cute! I+love+my+dog+4ever" to "My Dog Is Cute! I+Love+My+Dog+4ever". I would be glad if you can help me.
func Capitalize(s…

elia
- 71
- 7
1
vote
1 answer
Count number of "letters"/characters for non-Western language (e.g. Hindi)
I want to count the number of "letters" in non-Western languages like Hindi. I put the letters in parenthesis, because if I'm not mistaken, e.g. in Mandarin a character does not necessarily represent a letter, but more like a word.
Anyway, so with…

deschen
- 10,012
- 3
- 27
- 50
1
vote
6 answers
PHP sort array using specific letter
I have an php array like below:
Array (
[0] => Array ( [value] => 5 [label] => Akon )
[1] => Array ( [value] => 6 [label] => Angel )
[2] => Array ( [value] => 7 [label] => Britny )
[3] => Array ( [value] => 9 [label] => Mark Anthony )
[4] =>…
user785533
1
vote
1 answer
How to shift letters in the alphabet using python?
I want to shift each letter in the alphabet (e.g. a→b, b→c,...) using python. When you write a word like "Car", it shifts the letters and the new word is "Dbs"(C→D, a→b, r→s). Here is my code so far but it doesnt work and isn't very efficient:
def…

Sneezy_HD
- 55
- 6