|Join Nairaland / LOGIN! / Trending / Recent / New|
Stats: 2,317,755 members, 5,108,955 topics. Date: Thursday, 22 August 2019 at 12:21 AM
|My First Program As A Beginner In Python Language by ncpat(m): 9:39am On Aug 12|
Yeah I bought this book title WAZOBIA that teaches the Nigeria 3 major languages and I'm developing it into an app
The first image is the book while the second is the app.
The program takes input and when hit the submit button it output the translation in Yoruba, Hausa and Igbo.
I have managed to get it work when numerals or alphabet is entered but my problem is that it does not respond to if the alphabet is in capital letter, how can I make the program to run in respect of whether it is capital or small letter or even mixed. Thanks
|Re: My First Program As A Beginner In Python Language by Luminee(f): 9:52am On Aug 12|
It is a good way to start but needless as the Internet does that for ya in seconds translating all the languages in the world. Think of this as a constructive criticism.
|Re: My First Program As A Beginner In Python Language by ncpat(m): 10:29am On Aug 12|
Luminee:just as you said a good way to start and that is what I'm doing to understand the programing languages, thanks for your comment.
|Re: My First Program As A Beginner In Python Language by resosdigital(m): 12:08pm On Aug 12|
Just run .lower() on the user input before feeding it to whatever does the translation. This way you are sure to always have lower case letters and can code with that in mind.
|Re: My First Program As A Beginner In Python Language by kensmoney(m): 7:03pm On Aug 12|
Try convert all the input to uppercase or lower case.
|Re: My First Program As A Beginner In Python Language by QuantumR: 6:11pm On Aug 14|
ncpat:Nice, pls i need help using tkinter, how do you bind entry to a button or return key ?
|Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health |
religion celebs tv-movies music-radio literature webmasters programming techmarket
Nairaland - Copyright © 2005 - 2019 Oluwaseun Osewa. All rights reserved. See How To Advertise. 32