There are two right option, what is the difference between these two option

Not quite! You have to account for the indentation of print(num) in the code block given to you.

The first answer which you have selected would cause a syntax error unless you put an extra indent on print(num) which is not catered for in the question.

The only solution that works that involves only pasting the selection as is over the comment in blue is the third one.