New course! Every coder should learn Generative AI!
Try a free lesson+ 17
[ASSIGNMENT] The Holoalphabetic Sentence
A pangram, or holoalphabetic sentence, is a sentence that contains all of the letters of Alphabet at least once. (Which means all letters from a to z) Task: Take a string as an input and check if it is a holoalpabetic sentence or not. Example: The following sentence is a holoalphabetic sentence: "The quick brown fox jumps over the lazy dog" Note : It's better if you put few examples inside your code Bonus Task: Find out how many times each latter is repeated in the sentence.
11 Answers
+ 22
Here's My try in Ruby 👇 [1 Liner]
https://code.sololearn.com/cM9yptQOrg74/?ref=app
+ 19
https://code.sololearn.com/cbEM0VP6i6x2/?ref=app
+ 9
Two tasks - one line (Python):
https://code.sololearn.com/c1xSHujhxbrA/?ref=app
+ 5
https://code.sololearn.com/cdMTNP97UZML/?ref=app
+ 2
Zoetic_Zeel
I've tried this in Python.
is this correct ?
https://code.sololearn.com/cl0utGmo9Yib/?ref=app
+ 1
@Zoetic_Zeel Update... heh. Not for iOS users I guess :)