₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,024 members, 8,419,983 topics. Date: Thursday, 04 June 2026 at 08:44 AM

Toggle theme

My First Program As A Beginner In Python Language - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingMy First Program As A Beginner In Python Language (1750 Views)

1 Reply (Go Down)

My First Program As A Beginner In Python Language by ncpat(op): 9:39am On Aug 12, 2019
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, 2019
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(op): 10:29am On Aug 12, 2019
Luminee:
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.
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, 2019
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, 2019
Try convert all the input to uppercase or lower case.
With :
.lower() or
.upper()
Re: My First Program As A Beginner In Python Language by QuantumR: 6:11pm On Aug 14, 2019
ncpat:
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
Nice, pls i need help using tkinter, how do you bind entry to a button or return key ?
1 Reply

Get In Let's Start Python Language From ScratchWhat Are The Major Apps I Need To Learn Python Language ?I Want To Learn Python Language234

Explain This Code And Get CommendedThere Are Only Three Black People In The Silicon Valley TV Show.Question: How To Verify AWS, GCP And Azure With Nigerian Bank Cards