How to check if a word is greater the "g" alphabetically in python? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

How to check if a word is greater the "g" alphabetically in python?

string="how are you today" for the above statement i want output like this output: how you today ignore the words that greater than 'G'. please help me to code:

6th Sep 2017, 12:15 PM
Manikanta Simgamsetti
Manikanta Simgamsetti - avatar
5 Respostas
6th Sep 2017, 12:54 PM
CalviÕ²
CalviÕ² - avatar
+ 1
Language?
6th Sep 2017, 12:23 PM
CalviÕ²
CalviÕ² - avatar
+ 1
ok thanks for your response.
6th Sep 2017, 1:09 PM
Manikanta Simgamsetti
Manikanta Simgamsetti - avatar
0
it is python code @Calvin
6th Sep 2017, 1:08 PM
Manikanta Simgamsetti
Manikanta Simgamsetti - avatar
0
Sorry, I need to study Python first..
6th Sep 2017, 1:08 PM
CalviÕ²
CalviÕ² - avatar