₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,397 members, 8,421,736 topics. Date: Saturday, 06 June 2026 at 10:31 PM

Toggle theme

Emilykel's Posts

Nairaland ForumEmilykel's ProfileEmilykel's Posts

1 2 3 (of 3 pages)

ProgrammingRe: Check my Kivy Based App..... by emilykel(op): 8:54am On Nov 03, 2015
nettwrock:
Welldone bro..Am also a selftaught python programmer, and I know I will definitely nid ur help in some areas. Kindly drop me ya num and let's chats... I have heard about kivy but a little bit confused. Thks bro.....
08140123075
ProgrammingCheck my Kivy Based App..... by emilykel(op):
the apps not the most beautiful but it works...
it uses the luhn algorithm behind the scenes... it's my first kivy thing......keep pressing generate and get new imeis generated....no stress....

ProgrammingImplemented Imei Generator With Python..... by emilykel(op): 12:09pm On Oct 28, 2015
I used the luhn algorithm to calculate imei luhn digits and then used a simple for loop to generate multiple imeis by passing the imeis through the imei calculator before generating.....so the imeis are valid...
according to the luhn algorithm.....

ProgrammingRe: Help With This Python Algorithm.... by emilykel(op): 6:23pm On Sep 26, 2015
randint() and random.choice(range()) are the same, besides Av used randint before...
I also see no reason to use
while guess!=0
ProgrammingRe: Help With This Python Algorithm.... by emilykel(op): 2:12pm On Sep 26, 2015
I know, but I don't wanna reduce the range, am thinking about making 4 picks from behind the scenes so that each guess is checked against the picks for at least a win
ProgrammingHelp With This Python Algorithm.... by emilykel(op): 10:59am On Sep 26, 2015
hello guys and my fellow python gurus..
I wrote this simple guess game in python using a while loop and random module...
the game asks you to guess what it's thinking of then you enter the number,however when you make a wrong guess, it picks another random number..
the issue is, since I wrote it, Av won only about 3 times out of about 300 guesses..I want you guys to bring ideas on how to make the game more winnable because the chances of making a guess are only 20...

#-*-coding:utf8;-*-
#qpy:3
#qpy:console

import random
print (""wink
print("this is a guessing game,you have [ 20 ] attempts"wink
print("this is v.3 in attempt to make the game easy.. "wink
print(""wink
print(" LETS PLAY THE GAME"wink
print (""wink
number=random.choice(range(1,150))
Max = 150
minn =1
failed = 0
left = 20
while True:

guess=input("GUESS THE NUMBER AM THINKING OF/>> "wink
if guess.isalpha():
print (" sorry,you must enter a digit "wink
print(""wink
else:
if int(guess) == number:
print(""wink
print("###################################"wink
print("# CONGRATULATIONS #"wink
print("# YOU WON #"wink
print("###################################"wink

break

elif int(guess) > Max:
print ("your guess is a bit too high...."wink
print(""wink

elif int(guess) < minn:
print (" your guess is a little too low..."wink
print(""wink

elif failed == 20:
print (" you have exhausted your chances..."wink
print(""wink
print ("##################################"wink
print ("# GAME OVER #"wink
print("##################################"wink
print(""wink
print(" [ game by VITRIOL ] "wink
break

elif left==1:
print("wrong guess, try again .. "wink
failed+=1
left-=1
print("your last attempt... "wink
print(""wink

else:
print("wrong guess, try again .. "wink
failed+=1
left-=1
print (left," attempt(s) left.."wink
print (""wink

this is the python code..

RomanceNo Active Whatsapp Group?? by emilykel(op): 2:32pm On May 16, 2015
please add me to any active whatsapp group abeg even adult...or whatever whatsapp is getting boring....0814 012 3075
Jokes EtcLol...bad Market by emilykel(op): 9:49pm On May 15, 2015
A guy goes to the pharmacist and says, ‘Listen, these two girls are coming over this weekend, and they are hot, very hot. Would you have something to get me going all night? It's going to be a hell of a party.’
The pharmacist goes in the back room, comes back with an old dusty bottle and says, ‘This stuff is potent: drink only one ounce of it, and I guarantee that you will be doing the wild thing all night. Let me know how it goes.’
The weekend goes by and on Monday morning, the pharmacist goes to work and finds the same guy waiting for him on the door-step. The pharmacist says, ‘What are you doing here so early? How was your weekend?’
The guy replies, ‘Quick, I need Blue Ice (muscle pain relief). The pharmacist, knowing what the guy had been doing all weekend, says, ‘Are you crazy, you can't put that on your penis. The skin is way too sensitive.’
The guy says, ‘No, no, It's not for that, it's for my arm.’
Pharmacist: ‘What?? What happened?’ Guy replies, ‘Well...I drank the whole bottle of your potion.’
Pharmacist: ‘Oh my god, and then what ? ‘
‘The girls never showed up!’
WebmastersRe: Please Help With Jquery Code by emilykel(op): 3:01pm On May 15, 2015
yes I linked it ooo...av been running some jquery codes that's the only one not working...
WebmastersRe: Please Help With Jquery Code by emilykel(op): 2:57pm On May 15, 2015
I knew it was working but maybe its cuz am running it on my android and not on computer...tanx
WebmastersRe: Please Help With Jquery Code by emilykel(op): 1:44pm On May 15, 2015
I tried that too ooo
WebmastersPlease Help With Jquery Code by emilykel(op): 12:51pm On May 15, 2015
Please can you help me check this code??..
The idea is to change the text on the button when it is clicked...
<input type="button" id="toggle" value="change"/>
$('#toggle').on('click',function(){
var text=$('#toggle').text();
if(text=='change'){
$('#toggle').text('text changed');
}else if(text=='change'){
$('#toggle').text('change');
}
I also tried...
$('#toggle').attr('value');
But it still didn't work
So tell me why its not working
and am running the code on my android phone so could that also be the reason ??
WebmastersAny Php Whatsapp Group??..i Wanna Join by emilykel(op): 7:59pm On May 13, 2015
I have a Php group but its still small so if there's any one please add me... +2348140123075
WebmastersInterested??... by emilykel(op): 7:07am On May 12, 2015
drop your number if interested in php whatsapp group....there could be HTML and CSS too...
RomanceIsnt It True?? by emilykel(op): 9:22pm On May 11, 2015
sex feels like a dream ..when you just finished having sex,it kinda feels like a dream cuz for me ,its always hard to imaging it even happened...true or false??
RomanceWhy Is It So?? by emilykel(op): 12:20pm On May 11, 2015
why does sex feel like it never happened after you just had it??
Webmastersgreat use of php sessions by emilykel(op):
hey guys,the following Php code uses sessions to restrict login access after a number of failed attempts more than 3 times...the code is just basic I.e no stripslashes and validation...

<?php
session_start();
if(isset($_SESSION["BAN"])){
echo "<font color='red'>you can no longer login for this session,<font color='blue'>please restart your browser</font></font>";
}else{
if(isset($_POST["submit"])){
$name=$_POST["name"];
$_SESSION["FAIL"];
if($name!="emmy"wink{
$_SESSION["FAIL"]++;
echo "<font color='red'>wrong password...try again </font><br>";
//echo "wrong by ".$_SESSION["FAIL"]." time(s)<br>";
}else{
echo "access granted....
<br> ";
}
if($_SESSION["FAIL"]>3){
$_SESSION["BAN"]="bad";
echo "you entered the wrong password too many times";
//header("location:pat.php"wink;
}
}
echo <<< DOC
<form action="form.php" method="post">
<input type="text"name="name"/>
<input type="submit"name="submit"/>
</form>
DOC;
}
?>

enjoy...just comment and add your contributions
RomanceRe: Is Kissing A Sin by emilykel(m): 10:46am On May 11, 2015
yes oooooo....na sin of the flesh...lol (abi na skin)...haha
RomanceShould I Go Ahead?? by emilykel(op): 5:54pm On May 10, 2015
hey guys, there's this girlfriend of mine that's so so cool ,kinda shy and really innocent...the thing is her boobs make me crazy and I just need to tell her how I feel about them but feel maybe it'll ruin everything cuz I don't know if she would like that sort from me....should I risk it to let her know am into sex and stuff.....
RomanceRe: Why Do Some Ladies Ask This Question After Sex "Am I Sweet" ? by emilykel(m): 8:02pm On May 09, 2015
am not sure any girl would ask such except maybe she has low self esteem....(my opinion)
ProgrammingIs Computer Science Course Hard?? by emilykel(op): 6:51am On May 09, 2015
please is computer science course difficult??...I want to take it at uni agric makurdi...
EducationUni Agric Makurdi... by emilykel(op): 6:43am On May 09, 2015
please does anyone know whether uni agric makurdi has computer science course??...
RomanceJust Curious ...experience Guys Help by emilykel(op): 6:14am On May 09, 2015
I always hear people saying that speaking clean English in a relationship makes it more serious compared to broken English....has anyone experienced it to be true??...
FashionPlease Help by emilykel(op): 9:10am On Apr 08, 2015
please guys ,is zee black soap and high white cream a good combination for a dark skinned person ??
RomancePlease,whats The Best Way To Deal With.... by emilykel(op): 4:22pm On Mar 27, 2015
please,I just needed you guys opinion on how to deal with snobby ladies..I read on an American forum but their own opinions where "kill the girl with kindness and stuff" but I want to hear it from you guys...
RomanceIs It Even Possible by emilykel(op): 8:44pm On Mar 25, 2015
there is this girl I've had my eyes on real closely...she's very innocent and shy.Av observed from her dressing that she's really innocent (she even wears tights under her skirts) but I've heard a lot of rumors from guys who claim they have been there (you know) also heard she works at a knock shop at nights...my point...is it possible for someone like that to actually do what I've heard??,...
RomanceJust To Be Sure by emilykel(op): 8:31pm On Mar 25, 2015
I heard that most girls who are real cool and seem to be innocent turn out to be crazy in the room....
is it true?? (just need to be sure so I don't embarrass myself )...

1 2 3 (of 3 pages)