How to LED blink 3 times and 6 times

help to Write code the detect short press (press and release immediately) and long press (press for about 1 second). If the user does the short press, an LED blink 3 times. And if the user does the long press, let the LED blinks 6 times.

Glad to help. You make a start at coding it, post that here and then we'll have something to help you with.