I have following piece of code:
if day > 31
day -= 31
month = "April"
end
Can I write it in one line different than:
if day > 31 then day -= 31 and month = "April" end
?
I've tried it like:
if day > 31 {day -= 31; month = "April"}
But it doesn't work