Bright007's Posts
Nairaland Forum › Bright007's Profile › Bright007's Posts
1 2 3 4 5 6 7 8 ... 62 63 64 65 66 67 68 69 70 (of 184 pages)
No MB at my end.any good nairalander to translate what they said? |
(1)the first modification is a recursion exercise. e.g set1=12 18 26 set2=64 31 72 set3=18 73 65 set4=20 26 33 set5=38 82 22 set6=65 26 18 set7=24 48 31 set8=18 25 78 set9=26 50 41 if i input N=2,X=26,the program as it is now will return only set1 and set4 but if u observe,that is not the only sets that match N=2,X=26.set6 and set9 also satisfy N=2,X=26. also if i input X=18,N=1 The program as it is now will only return set1,set3 but dis condition is also satisfied by set6,set8. (2) i want the current program to support specifying ONLY P and N as condition. i.e if i chose not to specify x, the program should return results using only P and N as condition. (3)the third modification is about how the condition P works. from d data above,if i input N=2,X=26 and P=1,the program should return set1,set4 ONLY but if i input X=26, N=2,P=0, the program returns only set6 and set9. dis means condition P only refers to the latter set where item X reoccurs. in d e.g above,P=1 in set6 .In e.g two P=0,set9 |
ok...boss .its ok to guide me through solving the problems but i still got a lot of learning to do and i seem to learn better when reading the codes. i will post the last problem again and make it more clear. |
No! dumb kwession. have you taken your drugs? |
executinal: And Obahiagbon has this to say...I don laugh sote cambridge,Oxford,and MIT wan join ASUU strike. ![]() ![]() ![]() ![]() ![]() |
yusufogrin: no. . . Do u av any experience bouh party?....emphatic NO.. check your spelling!... is your brain or are your fingers epileptic? |
@pheno:pls add this to the previous kwession. define lapping (x1,x2) x1 and x2 are any two numbers in the program. the relationship between x1 and x2 is that x2 occurs immediately x1 occurs in the same position but in different set. e.g set1= 12 13 14 set2= 45 11 16 set3= 69 89 82 set4= 14 12 13 set5= 42 45 11 if i input x1=12 and x2=45,the program returns set1,set2 and set4,set5. #this is because 12 which occurs in set1,position 0 is immediately followed by 45 in set2 position 0,in set4,12 also occurs in position 1 and is followed by 45 in position 1 in set5 if i input x1=13 and x2=11,the program returns set1,set2 and set4,set5. but if input x1=16 and x2=89,the program returns not available. although 16 occurs in set2 and 89 in set3,their position differs. i.e 16 occurs in postion 2, set2 and 89 in position 1, set3# |
the last time i checked... browsing the net and buying internet data remains very expensive in Nigeria compared to other countries with or without satelite in space. |
no...dumb kwession! do you have a big head? |
akpors lost his cheque book and proceeded to the bank a week later to report the incidence.here is the convo that ensued between akpors and bank manager. akpors:i lost my cheque book last week when coming back from work. Bank manager:oh my! You should have reported this immidiately you knew you had lost it...your signature may be forged by anybody and used to.. AKPORS cuts in)...that is not possible.i am not a fool! I already signed all the available spaces for signature and as such there is no space anyone can sign.the bank manager fainted and pooed on his pant trousers ![]() |
i would like you to help me with these corrections. (1)the current program supports the conditions below (a)if number and position are specified (b)if only number is specified (c)if only N is specified pls help me write for: (a)if only position (P) and N is specified (2)the program only return one result per number.sometimes a number can satisfy the conditions specified more than once.pls help me modify the program so that if a number satisfies d conditions more than once,it returns all results and not just only the first result. (3)the condition P (position) should be modified thus: if P is specified,P (input) should only refer to the second set where a condition is met e.g set1=12 13 14 set2=18 45 16 set3=17 12 54 set4=22 16 32 if i input P=1 and N=1,it should return set1,set3 for 12 and set2,set4 for 16 according to the data above. |
mxxpunkxx: I happen to av a Python ebook, u will love i promise u. it's got lots of images and not boring text...hello,i need the ebook also. bright_silva@yahoo.com |
PretiEbony: Yes... *blushes**err...yes oo.. i think i [s]love[s/] ruv her vely much... can we meet in that sharp corner? |
....adjusts my bra and flaunts my 25 inches brazillian hair.... **efe...how far? where is mrs |
People should be careful abou the way they comment on issues that has to do with God. Collecting tithes/donations etc from any tom, joystick and harry does not give room for you to insult a prophet. |
PhenomenonVFX: I am just out to enjoy the holiday. No programming for me until next week.okies...boss.Have a nice time. In the meantime,i will be posting some difficulties which i cant seem to address myself. pls do find time to help me out on them. |
PretiEbony: Nope!Emphatic yes!~i smoke the word of God. Is Pretiebony pretty? |
![]() |
if you havnt got enough data to post the correction,pls let me know in your next post. |
Hi pheno,you must be very busy these days.pls spare a little out of your time this weekend to help me out. thanks a million times |
thanks boss,i have successfully ran the program and i had to modify my post to make it clearer. i would like you to help me with these corrections: (1)the current program supports the conditions below (a)if number and position are specified (b)if only number is specified (c)if only N is specified pls help me write for: (a)if only position is specified. (2)one limitation of this program is that it only return one result per number.sometimes there could be instances where there are up to many results per number.this modification should work for all conditions of the program. (3)the condition of P (position) should be modified thus: if P is specified,P (input) should only refer to the second set where a condition is met e.g set1=12 13 14 set2=18 45 16 set3=17 12 54 set4=22 16 32 if i input P=1 and N=1,it should return set1,set3 for 12 and set2,set4 for 16 according to the data above. |
@phenomenon:hello boss,i just came back yesterday from my trip. i ran the modified run_occurs function.it was working but not returning the sets where the property occured.it was able to tell if the input satisfies conditions N, I , and P but when the input does,it does not return the sets where these conditions where satisfied.pls help me on this one. |
PhenomenonVFX: I hope the code is working well now...hi pheno!..i am on a short trip to lagos.i have downloaded the file but havnt run it cos i left my system at home. When i get back,i will run it. pls there is just one remaining question on this program i wanna ask. but that will be when i am back. Thank you a million times. |
No....she is an intelligent girl. do you know that kunbee just escaped from yaba-left? |
thank you boss for the expert analysis.i will try the new code now. |
PhenomenonVFX: Funny enough, that part of the code was the only one that was working yesterday. The one u claimed is working had some bugs yesterday and I fixed it. Now the one that didnt give me problems isnt working? Imagine.ok...boss also i want you to educate me on the use of the sign "%".I seem not to get what it means when studying the code. |
takes off my bra,my brazilian hair, and my bracelet in preparation to win the first prize. |
PhenomenonVFX: Hi. Been busy. Just got the time to finish up ur code. It is the "set.py" file attached to this post. It is 200 lines. I took the liberty to add more sets just for testing sake. I endeavoured to make it as clear as possible. Like I said, u will be needing the knowledge of tuples to understand this one. And maybe some string formating.... the occur function was perfect,returning expected results.i must say you are a genus. the occur2 function where you have to put in N and I (item) was not returning the two sets as the occur function was doing.pls tell me the adjustments to be made. the run_occurs function where you have to input N,I, and P was always returning "the item 12 did not meet the search conditions at position X ##even after i exhausted all available positions for the number 12 which occured at position =0,after N=4. pls help me with the necessary adjustments. thank you very much for your kind gesture. |
my deep sympathy to these innocent ones. if not for the empty promises of that 9-year-old molester,these wouldnt have happened! |
smh |
[color=red]produce aircraft for who to buy or use?...no country will buy an okada produced in nigeria not to talk of aircraft...dem wan produce aircraft wey the engine go fail for up. |
1 2 3 4 5 6 7 8 ... 62 63 64 65 66 67 68 69 70 (of 184 pages)
cuts in)...that is not possible.i am not a fool! I already signed all the available spaces for signature and as such there is no space anyone can sign.