Challenge 6: String Testing. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 3

Challenge 6: String Testing.

Write a program to input a string and check whether it has all the letters of the alphabet or not.

1st Jul 2017, 3:25 PM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
8 ответов
1st Jul 2017, 3:46 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 17
No, He said ALL letters of alphabet, not just test if they're latin chars..... (BTW : ES6 unsupported for me... ^_^)
1st Jul 2017, 4:01 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 15
Just put ignore case flag....
1st Jul 2017, 4:09 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 13
With your regex the input "aafavhrs" would be true.... He wants to check if input contains all letters of the alphabet..... ("abcdefghijklmnopqrstuvwxyz.rsfgrssgjlo...." <- this should be true) ^_^
1st Jul 2017, 4:06 PM
Valen.H. ~
Valen.H. ~ - avatar
1st Jul 2017, 4:10 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 4
isnt alphabets a-z? what is wrong lol
1st Jul 2017, 4:04 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 4
OHHHH AHAHAHAHA omgg sorry thanks i dont understand, what about uppercase? EDIT: fixed lol it works for "the quick brown fox jumps over the lazy dog"
1st Jul 2017, 4:14 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
0
Late to the party but here's a python version. https://code.sololearn.com/c6EwzZtHxT4C/?ref=app
19th Jul 2017, 4:56 PM
Ready
Ready - avatar