8 kyu

Leonardo Dicaprio and Oscars

7,274 of 16,548P3zhman

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 Trained20162
Total Skips933
Total Code Submissions39985
Total Times Completed16548
JavaScript Completions7274
Python Completions4731
C# Completions1104
Ruby Completions783
Java Completions2718
Elixir Completions280
TypeScript Completions150
Total Stars103
% of votes with a positive feedback rating85% of 2125
Total "Very Satisfied" Votes1618
Total "Somewhat Satisfied" Votes359
Total "Not Satisfied" Votes148
Ad
Contributors
  • P3zhman Avatar
  • Javatlacati Avatar
  • cris Avatar
  • CrazyMerlyn Avatar
  • myjinxin2015 Avatar
  • maxprilutskiy Avatar
  • hobovsky Avatar
  • farhanaditya Avatar
  • Jaytaro Avatar
  • saudiGuy Avatar
Ad