Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,149,934 members, 7,806,707 topics. Date: Tuesday, 23 April 2024 at 09:23 PM

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

Nairaland Forum / Science/Technology / Programming / My First Program As A Beginner In Python Language (1585 Views)

Get In Let's Start Python Language From Scratch / What Are The Major Apps I Need To Learn Python Language ? / I Want To Learn Python Language (2) (3) (4)

(1) (Reply) (Go Down)

My First Program As A Beginner In Python Language by ncpat(m): 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

1 Like

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.

1 Like

Re: My First Program As A Beginner In Python Language by ncpat(m): 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.

2 Likes

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()

1 Like

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)

I've Started Learning Programming / React Developers / Pls I Need A Book On System Programing

(Go Up)

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

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 12
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.