Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,206,776 members, 7,996,785 topics. Date: Thursday, 07 November 2024 at 03:34 PM

Official Thread For Experts And Begineers In Python - Programming (5) - Nairaland

Nairaland Forum / Science/Technology / Programming / Official Thread For Experts And Begineers In Python (32782 Views)

Web Programming Tutorial In Python. / How To Code Your Own Personal Assistant In Python / Official Thread For C# Experts And Beginners (2) (3) (4)

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) ... (14) (Reply) (Go Down)

Re: Official Thread For Experts And Begineers In Python by qidos121(m): 2:55pm On Oct 13, 2015
Supermiy:
currently on break due to technicalities..but ama try soon as am back on board...where is the task self?
the task is for you to create an app dat generates palindromes sorry to ask but is the technicalities power supply..........
Re: Official Thread For Experts And Begineers In Python by Supermiy: 7:11pm On Oct 13, 2015
qidos121:
the task is for you to create an app dat generates palindromes sorry to ask but is the technicalities power supply..........
that Generates Randomly?...Partially And My Lappy Has Blackedout..Need To To Fix The Screen
Re: Official Thread For Experts And Begineers In Python by qidos121(m): 7:57pm On Oct 13, 2015
Supermiy:
that Generates Randomly?...Partially And My Lappy Has Blackedout..Need To To Fix The Screen
this is how it works, the program asks for two numbers then you input them and then it starts generating palindromes that occur within the two numbers, eg the app asks for a number and i enter 102 and it asks for another number and i enter 350. The app then shows 111, 121, 141, 202, etc. Do you understand. Eya sowie about the laptop, hope it won't cost you much?
Re: Official Thread For Experts And Begineers In Python by qidos121(m): 8:16pm On Oct 13, 2015
qidos121:
This was extracted from the python whatsapp group. Try to solve this problem -- 51015 which was the date of last week monday. If you read it from the front it reads the same if you read it from the back. It is called a palindrome. So write a python program that can generate palindromes btw two numbers i enter. Eg if i enter 12 and 8931. It will generate the palindrome btw them. This is too bring the thread alive. I have solved it so you are free to ask questions about it.... jigsawkillah supermiy alexis shittaakeem puntersmind holamidhe you guys should try to tackle this problem.
you guys should please discuss about this task, although i have solved it u might even do it better or bring new ideas
Re: Official Thread For Experts And Begineers In Python by JigsawKillah(m): 9:18pm On Oct 13, 2015
qidos121:
you guys should please discuss about this task, although i have solved it u might even do it better or bring new ideas


haven't been with the laptop all day but i have an idea on how to go about it. this is nice, hope you'd be bringing more.
Re: Official Thread For Experts And Begineers In Python by qidos121(m): 9:37pm On Oct 13, 2015
JigsawKillah:



haven't been with the laptop all day but i have an idea on how to go about it. this is nice, hope you'd be bringing more.
infact i just got 2 more tonight, immediately you guys solve this one i will post them. Come'n guys lets move this thread and in the process learn more and help each other...........
Re: Official Thread For Experts And Begineers In Python by JigsawKillah(m): 11:37pm On Oct 13, 2015
print ("Range(from):"wink
begin = int(input("> "wink)
print ("Range(To):"wink
end = int(input("> "wink)

for x in range(begin, end+1):
. if str(x) == str(x)[::-1]:
. print (x)



cc qidos121
Re: Official Thread For Experts And Begineers In Python by donifez(m): 10:42am On Oct 14, 2015
Jigsaw, i sight you..long time.

I want to learn python, i heard it is easier to learn...please let the tutorial hold here.
Re: Official Thread For Experts And Begineers In Python by samlexxy: 6:42pm On Oct 14, 2015
donifez:
Jigsaw, i sight you..long time.

I want to learn python, i heard it is easier to learn...please let the tutorial hold here.
you guys humour me when you ask for tutorial here...they keep telling you every now and den, get an PDF. do you think any programmer would have time to start writing note here..
Re: Official Thread For Experts And Begineers In Python by donifez(m): 7:02pm On Oct 14, 2015
samlexxy:
you guys humour me when you ask for tutorial here...they keep telling you every now and den, get an PDF. do you think any programmer would have time to start writing note here..

Not really typing long notes, just like the palindrome exercise that was given earlier, i am in a java tutorial group...i also type theoretical aspect for peeps to learn while some do the same for the practical aspect. A group gives a sense of belonging for sharing ideas etc. We can share problems and look for a solution and that is what i meant.
Re: Official Thread For Experts And Begineers In Python by JigsawKillah(m): 8:16pm On Oct 14, 2015
donifez:


Not really typing long notes, just like the palindrome exercise that was given earlier, i am in a java tutorial group...i also type theoretical aspect for peeps to learn while some do the same for the practical aspect. A group gives a sense of belonging for sharing ideas etc. We can share problems and look for a solution and that is what i meant.


I see you too, Sir.
If you're totally new to this language, you might need PDFs. You can ask whatever you don't understand while we await assignments too. The others are Whatsapp based programmers else here'd be busting with codes. It's quite easy sha.
Re: Official Thread For Experts And Begineers In Python by donifez(m): 8:33pm On Oct 14, 2015
JigsawKillah:



I see you too, Sir.
If you're totally new to this language, you might need PDFs. You can ask whatever you don't understand while we await assignments too. The others are Whatsapp based programmers else here'd be busting with codes. It's quite easy sha.

ok sir, I heard it is quite easy...Thanks, will just do it.
Re: Official Thread For Experts And Begineers In Python by villeanns(m): 5:11am On Oct 15, 2015
qidos121:
This is nt my number but it's the whatsapp I am currently borrowing until mine is back.....08050558171. thank you in advance....



Add me to the group 07030080222

Re: Official Thread For Experts And Begineers In Python by qidos121(m): 11:13am On Oct 15, 2015
JigsawKillah:
print ("Range(from):"wink
begin = int(input("> "wink)
print ("Range(To):"wink
end = int(input("> "wink)

for x in range(begin, end+1):
. if str(x) == str(x)[::-1]:
. print (x)



cc qidos121
forget how e happen you don kill python guy u too much this is a very short and accurate method******...... i off cap off slippers cun bow for your method
Re: Official Thread For Experts And Begineers In Python by qidos121(m): 11:14am On Oct 15, 2015
donifez:
Jigsaw, i sight you..long time.

I want to learn python, i heard it is easier to learn...please let the tutorial hold here.
okay baba we suppose fit they write small note for here.
Re: Official Thread For Experts And Begineers In Python by JigsawKillah(m): 11:21am On Oct 15, 2015
qidos121:
forget how e happen you don kill python guy u too much this is a very short and accurate method******...... i off cap off slippers cun bow for your method


i feel there's a one line method sef
i came across it on codeacademy. i'm just stuck at applying it to palindromes.

Any other exercise?
Re: Official Thread For Experts And Begineers In Python by qidos121(m): 11:42am On Oct 15, 2015
JigsawKillah:



i feel there's a one line method sef
i came across it on codeacademy. i'm just stuck at applying it to palindromes.

Any other exercise?
I NEVER SOLVE THIS ONE OH NO LIGHT FOR MY AREA FOR THE LAST TWO WEEKS display all the items in this list including the ones in the list inside the list [1, 2, 3 [4, 5, 6], 10]
Re: Official Thread For Experts And Begineers In Python by donifez(m): 11:50am On Oct 15, 2015
qidos121:
okay baba we suppose fit they write small note for here.
ok sir.
Re: Official Thread For Experts And Begineers In Python by Supermiy: 12:12pm On Oct 15, 2015
embarassed...jigs...qidoz21..abeg una paste source code for me make i feed my eyes
Re: Official Thread For Experts And Begineers In Python by qidos121(m): 12:20pm On Oct 15, 2015
donifez:
ok sir.
i wil draft sumtin by 2night
Re: Official Thread For Experts And Begineers In Python by qidos121(m): 12:23pm On Oct 15, 2015
Supermiy:
embarassed...jigs...qidoz21..abeg una paste source code for me make i feed my eyes
oya chop dis 1 f r om Tk i n t e r impor t * c l ass A l a rm( F r ame ) : de f r epea t e r ( s e l f ) : s e l f . be l l ( ) s e l f . a f t e r ( s e l f .ms ec s , s e l f . r epea t e r ) de f __ i n i t __ ( s e l f ) : F r ame . __ i n i t __ ( s e l f ) s e l f .ms ec s = 1000 s e l f . pac k ( ) s t oppe r = Bu t t on ( s e l f , t ex t= ' S t op t he beeps ! ' , c ommand=s e l f . qu i t ) s t oppe r . pac k ( ) s t oppe r . c on f i g ( bg= ' navy ' , f g= ' wh i t e ' , bd=8 ) s e l f . s t oppe r = s t oppe r s e l f . r epea t e r ( ) i f __name__ == ' __ma i n__ ' : A l a rm( ) .ma i n l oop ( )
Re: Official Thread For Experts And Begineers In Python by JigsawKillah(m): 12:33pm On Oct 15, 2015
qidos121:
I NEVER SOLVE THIS ONE OH NO LIGHT FOR MY AREA FOR THE LAST TWO WEEKS display all the items in this list including the ones in the list inside the list [1, 2, 3 [4, 5, 6], 10]


lappy is at home but is it not the same loop?
Like


numbers = [1, 2, 3 [4, 5, 6], 10]
for x in numbers:
. .print x
Re: Official Thread For Experts And Begineers In Python by JigsawKillah(m): 12:36pm On Oct 15, 2015
qidos121:
oya chop dis 1 f r om Tk i n t e r impor t * c l ass A l a rm( F r ame ) : de f r epea t e r ( s e l f ) : s e l f . be l l ( ) s e l f . a f t e r ( s e l f .ms ec s , s e l f . r epea t e r ) de f __ i n i t __ ( s e l f ) : F r ame . __ i n i t __ ( s e l f ) s e l f .ms ec s = 1000 s e l f . pac k ( ) s t oppe r = Bu t t on ( s e l f , t ex t= ' S t op t he beeps ! ' , c ommand=s e l f . qu i t ) s t oppe r . pac k ( ) s t oppe r . c on f i g ( bg= ' navy ' , f g= ' wh i t e ' , bd=8 ) s e l f . s t oppe r = s t oppe r s e l f . r epea t e r ( ) i f __name__ == ' __ma i n__ ' : A l a rm( ) .ma i n l oop ( )


you should space it
it looks confusing and understandable. Is this for alarm clock?
Re: Official Thread For Experts And Begineers In Python by qidos121(m): 12:51pm On Oct 15, 2015
JigsawKillah:



lappy is at home but is it not the same loop?
Like


numbers = [1, 2, 3 [4, 5, 6], 10]
for x in numbers:
. .print x
dis one no go brng out the 4 5 and 6 as a numB but as a list. U nid to print dem to singly
Re: Official Thread For Experts And Begineers In Python by qidos121(m): 12:59pm On Oct 15, 2015
JigsawKillah:



you should space it
it looks confusing and understandable. Is this for alarm clock?
ya alarm bt my phone 2 small
Re: Official Thread For Experts And Begineers In Python by JigsawKillah(m): 1:03pm On Oct 15, 2015
qidos121:
dis one no go brng out the 4 5 and 6 as a numB but as a list. U nid to print dem to singly


this one go hard small
na only lappy go fit settle this one
another exercise dey?
Re: Official Thread For Experts And Begineers In Python by JigsawKillah(m): 1:04pm On Oct 15, 2015
qidos121:
ya alarm bt my phone 2 small

just try space am e go dey understandable
Re: Official Thread For Experts And Begineers In Python by qidos121(m): 1:25pm On Oct 15, 2015
JigsawKillah:



this one go hard small
na only lappy go fit settle this one
another exercise dey?
5. The formula for computing the final amount if
one is earning compound interest is given on
Wikipedia as Write a Python program that assigns the
principal amount of R10000 to variable p, assign to n the value 12, and assign to r the interest rate of 8%. Then have the program
prompt the user for the number of years t that the money will be compounded for.
Calculate and print the final amount after t years.

Re: Official Thread For Experts And Begineers In Python by JigsawKillah(m): 1:30pm On Oct 15, 2015
qidos121:
5. The formula for computing the final amount if
one is earning compound interest is given on
Wikipedia as Write a Python program that assigns the
principal amount of R10000 to variable p, assign to n the value 12, and assign to r the interest rate of 8%. Then have the program
prompt the user for the number of years t that the money will be compounded for.
Calculate and print the final amount after t years.


can't wait to get on it. By 10pm i should be home and working on it. Thanks for the challenge.
Re: Official Thread For Experts And Begineers In Python by JigsawKillah(m): 8:35pm On Oct 15, 2015
qidos121:
5. The formula for computing the final amount if
one is earning compound interest is given on
Wikipedia as Write a Python program that assigns the
principal amount of R10000 to variable p, assign to n the value 12, and assign to r the interest rate of 8%. Then have the program
prompt the user for the number of years t that the money will be compounded for.
Calculate and print the final amount after t years.



r = 8/100
n = 12
p = 10000
t = int(input('Input time: '))
print (p * ((1 + (r/n)) ** (n * t)))
Re: Official Thread For Experts And Begineers In Python by JigsawKillah(m): 8:38pm On Oct 15, 2015
Donifez

hope you're following. . . I'll gladly answer any questions from you, screw the discomfort, Boss
Re: Official Thread For Experts And Begineers In Python by qidos121(m): 8:42pm On Oct 15, 2015
JigsawKillah:




r = 8/100
n = 12
p = 10000
t = int(input('Input time: '))
print (p * ((1 + (r/n)) ** (n * t)))
nice one baba when did you start programming generaly

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) ... (14) (Reply)

OAU Engineering Students Build 'HUMANE' A Software For The Visually-impaired / Google Launches First Developer Space In Nigeria / At 40, Can I Still Learn Programming And Be Good At It?

(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. 52
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.