₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,207 members, 8,420,814 topics. Date: Friday, 05 June 2026 at 11:47 AM

Toggle theme

What Is The Highest Number Output By This Function... - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingWhat Is The Highest Number Output By This Function... (2233 Views)

1 Reply (Go Down)

What Is The Highest Number Output By This Function... by phililp(op): 6:58pm On May 01, 2017
hello guys.. i was taking a python quiz in programming tutoring site and came across this question

i knew the anser but the site said am wrong abeg helep me see..



What is the highest number output by this code?
def print_nums(x):
for i in range(x):
print(i)
return
print_nums(10)


i put 9 and it said wrong... abeg whats the right answer

abi am i wronghuh

Re: What Is The Highest Number Output By This Function... by Nascimento(m): 11:34pm On May 01, 2017
Please what are you returning?
Re: What Is The Highest Number Output By This Function... by phililp(op): 9:43am On May 03, 2017
Nascimento:
Please what are you returning?
lol.. i've got it.. my bad
Re: What Is The Highest Number Output By This Function... by Pakingzzz(m): 2:51pm On May 03, 2017
phililp:
lol.. i've got it.. my bad
Looks like you are neck deep into programming?
Re: What Is The Highest Number Output By This Function... by phililp(op): 8:24am On May 06, 2017
Pakingzzz:
Looks like you are neck deep into programming?
no bro.. just started learning python a couple of weeks ago
Re: What Is The Highest Number Output By This Function... by Pakingzzz(m): 9:33pm On May 07, 2017
phililp:
no bro.. just started learning python a couple of weeks ago
Alright.. I guess you made a comment on my thread...
Re: What Is The Highest Number Output By This Function... by phililp(op): 8:13am On May 08, 2017
Pakingzzz:
Alright.. I guess you made a comment on my thread...
oh yeah... ur the gas turbine guy .

i remember.. i dint just promised.. its still on ma mind just that things went a bit awry and i used what i expected to meant for u... but nevertheless i still i do as promised
1 Reply

Brain Teaser: Recursive Anonymous Function Expression AnalysisContest[closed] : Program A Function to find if a phrase. is in a stringSHA1 Function Is Now Dead234

Download Safe3 SQL Injector 9.0 (cracked Version) FreeHackers Pirate Pbs Website, Post Fake Story About Tupac Still AliveI Want To Learn Programming