₦airaland Forum

Welcome, Guest: 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 - Programming - Nairaland

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

Web Programming Tutorial In Python. / Python Language On Raspberry Pi 3b = Endless Possibilities / CBT In Python. V2 By Fleshbone (2) (3) (4)

(1) (Reply) (Go Down)

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

1 Like

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.

1 Like

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

1 Like

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.
With :
.lower() or
.upper()

1 Like

Re: My First Program As A Beginner In Python Language by QuantumR: 6:11pm On Aug 14
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)

Session In PHP / How To Get A Title (dvd Video Tutorial + Ebook And Audiobook) / Programmers Help! My Final Year Project

(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: (0) (1) (2) (3) (4) (5) (6) (7) (8) (9)

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