trying to test pushbutton

ah yes! ive set that pin to be an input! silly. so do i need a resistor inline here when i do this? i guess the resistance is 0. how do i calculate the amps if resistance = 0?