from typing import List


def whozit_loop(n: int) -> List[int]:
	"""This function takes an integer, loop from 0 through to the integer, and returns a list of the numbers containing 3 using for-loop."""
	result = []
	for i in range(n):
		if '3' in str(i): 
			result.append(i)
	return result