I think "for example" is more common. I would use a "-" instead of the comma.Thanks
Would you please look at the following example,
"Take our school as an example, one can hurry to another building on campus within 10 minutes."
Do you think the comma after the word "example" should be changed to a period or not?