8 kyu

Leonardo Dicaprio and Oscars

4,848 of 16,860P3zhman

Description:

You have to write a function that describe Leo:

def leo(oscar):
  pass
function leo(oscar) {

}
def leo(oscar) do
  # ...
end

if oscar was (integer) 88, you have to return "Leo finally won the oscar! Leo is happy".
if oscar was 86, you have to return "Not even for Wolf of wallstreet?!"
if it was not 88 or 86 (and below 88) you should return "When will you give Leo an Oscar?"
if it was over 88 you should return "Leo got one already!"

Fundamentals

Stats:

CreatedFeb 29, 2016
PublishedFeb 29, 2016
Warriors Trained20538
Total Skips960
Total Code Submissions40615
Total Times Completed16860
JavaScript Completions7399
Python Completions4848
C# Completions1129
Ruby Completions787
Java Completions2750
Elixir Completions281
TypeScript Completions169
Total Stars105
% of votes with a positive feedback rating85% of 2143
Total "Very Satisfied" Votes1634
Total "Somewhat Satisfied" Votes360
Total "Not Satisfied" Votes149
Ad
Contributors
  • P3zhman Avatar
  • Javatlacati Avatar
  • cris Avatar
  • CrazyMerlyn Avatar
  • myjinxin2015 Avatar
  • maxprilutskiy Avatar
  • hobovsky Avatar
  • farhanaditya Avatar
  • Jaytaro Avatar
  • saudiGuy Avatar
Ad