Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's this example from an explanation linked elsewhere in the discussion. The relevant parts of the if statement are now much further separated.

if (percentage := ((student["marks"]/700)*100)) > 70:



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: