Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,455 members, 7,808,629 topics. Date: Thursday, 25 April 2024 at 02:29 PM

Hello Python Programmers Check My Small Projects - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Hello Python Programmers Check My Small Projects (1417 Views)

Hello! Python Programmers Let's Meet Here! / Python Programmers Lets Meet Here!!! / Programmers Check In Here (2) (3) (4)

(1) (Reply) (Go Down)

Hello Python Programmers Check My Small Projects by obidavido(m): 9:08am On Oct 24, 2016
print("FUTURE JOB PRANK="wink
name = input("name: "wink
age = int(input("age: "wink)
number = int(input("choose a number (1 to 9): "wink)
job = [ "doctor", "engineer", "teacher","pilot" ]
results=int( number + age )

if results == 18 or age == 18:
print("hello", name , "you are" , age , "years old and your future job is", job[0])
else:
if results == age or age == results:
print("hello", name , "you are" , age , "years old and your future job is", job[1])

if age > 18:
print("hello", name , "you are" , age , "years old and your future job is", job[2])
else:
if age < 18:
print("hello", name , "you are" , age , "years old and your future job is", job[3])
print("PROGRAM ENDED"wink

1 Like

Re: Hello Python Programmers Check My Small Projects by zzzzy: 4:17pm On Oct 24, 2016
I thought it was a real project sef
Re: Hello Python Programmers Check My Small Projects by melodyogonna(m): 4:53pm On Oct 24, 2016
zzzzy:
I thought it was a real project sef
me too
Re: Hello Python Programmers Check My Small Projects by asalimpo(m): 11:08am On Oct 25, 2016
was expecting a list of noble efforts.
clickbait! angry sad
Re: Hello Python Programmers Check My Small Projects by Nobody: 11:46pm On Oct 26, 2016
Funny code, but pls how can results ever be == age
when according to your code results == int(Number + age)

1 Like

Re: Hello Python Programmers Check My Small Projects by Nascimento(m): 6:42am On Oct 27, 2016
nelsonchrisx:
Funny code, but pls how can results ever be == age
when according to your code results == int(Number + age)

Thank you. My thoughts exactly.

Op it seems u just started learning python. Keep it up Bro. Don't let anyone tell u what u posted was rubbish. My only advice is always look out for comments that tends to correct your codes.

Happy coding.

1 Like

Re: Hello Python Programmers Check My Small Projects by obidavido(m): 12:47pm On Oct 27, 2016
Nascimento:


Thank you. My thoughts exactly.

Op it seems u just started learning python. Keep it up Bro. Don't let anyone tell u what u posted was rubbish. My only advice is always look out for comments that tends to correct your codes.

Happy coding.
Thanks bro

1 Like

(1) (Reply)

PROGRAMMERS WEBDESIGNERS Entrepreneur Alike Whatsapp Group / Andela: Who Has Passed Stage 3 Of 44 Home Study Assessment? / VB. NET Expiration Date Alert

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