public static String study(int effort){
if (effort >= 100) {
return "success";
}
else {
return "failure";
}
}
public static void main(String[] args){
int my_effort = ?;
System.out.println(study(my_effort));
}
def study(effort):
if effort >= 100:
return 'success'
else:
return 'failure'
my_effort = ?
print(effort(my_effort))
노력 100 이상인 사람이 되자.