letter

How can I print letters down below

How can I print letters down below Question: I don’t know how can I program this. I tried to do it but I know only opposite direction. This is what I program Asked By: ado || Source Answers: You can implement your own backwards counter with range. zip that with the original string and you …

Total answers: 2

difficulty to correct morse-english text

difficulty to correct morse-english text Question: in converted version from morse to english – there must be one space between letters and two spaces between words. if the symbol is not possible to be converted into english (not in morse) there can be "#" this version does not work.. ((( sign_eng = {‘.-‘: ‘a’, ‘-…’: …

Total answers: 2

Python change lowercase to uppercase

Python change lowercase to uppercase Question: I need help with python program. I don’t know how to make python change at least 1 lowercase letter to uppercase. from random import * import random pin="" lenght=random.randrange(8,15) for i in range(lenght): pin=pin+chr(randint(97,122)) print(pin) Asked By: ado || Source Answers: I give it a shot with the little …

Total answers: 4

How do I make inputted letters as big letters using asterisk?

How do I make inputted letters as big letters using asterisk? Question: For example i inputted "ABC" The output should be: *** ** *** * * * * * *** ** * * * * * * * * ** *** I only tried the letter A but it results an error. Can someone help …

Total answers: 2

How to add new line after number of word

How to add new line after number of word Question: i find a code to seperate line, but it cut hafl of word "A very very long str" n "ing from user input". so i want to ask how to keep the original word. its mean add n after a number of word? # inp …

Total answers: 3

Duplicate letters in wordle

Duplicate letters in wordle Question: For a school project I have to create a wordle in Python. The program I created compares the letters of the target word and the guessed word. An example: the target word is "compulsory" and the guessed word is "submission". The output should be "-O-O–X-O-". "X" meaning the letter in …

Total answers: 4

Calculate average the letter length of a phrase with one function

Calculate average the letter length of a phrase with one function Question: 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 word …

Total answers: 1

How do I count the letters in Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch?

How do I count the letters in Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch? Question: How do I count the letters in Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch? print(len(‘Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch’)) Says 58 Well if it was that easy I wouldn’t be asking you, now would I?! Wikipedia says (https://en.wikipedia.org/wiki/Llanfairpwllgwyngyll#Placename_and_toponymy) The long form of the name is the longest place name in the United Kingdom and one of …

Total answers: 4

python capitalize first letter only

python capitalize first letter only Question: I am aware .capitalize() capitalizes the first letter of a string but what if the first character is a integer? this 1bob 5sandy to this 1Bob 5Sandy Asked By: user1442957 || Source Answers: If the first character is an integer, it will not capitalize the first letter. >>> ‘2s’.capitalize() …

Total answers: 10