Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,150,791 members, 7,810,058 topics. Date: Friday, 26 April 2024 at 07:42 PM |
Nairaland Forum / Science/Technology / Programming / What Is The Highest Number Output By This Function... (1869 Views)
Brain Teaser: Recursive Anonymous Function Expression Analysis / Contest[closed] : Program A Function to find if a phrase. is in a string / SHA1 Function Is Now Dead (2) (3) (4)
What Is The Highest Number Output By This Function... by phililp(m): 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 wrong
|
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(m): 9:43am On May 03, 2017 |
Re: What Is The Highest Number Output By This Function... by Pakingzzz(m): 2:51pm On May 03, 2017 |
phililp: Looks like you are neck deep into programming? |
Re: What Is The Highest Number Output By This Function... by phililp(m): 8:24am On May 06, 2017 |
Pakingzzz: 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: Alright.. I guess you made a comment on my thread... |
Re: What Is The Highest Number Output By This Function... by phililp(m): 8:13am On May 08, 2017 |
Pakingzzz: 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)
Which Is Better For Web Applications? PHP Or Asp.net / Where To Download Textbooks For School E-library? / Data Scientist Only
(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. 11 |