I'm tinkering around with python and the raspberry pi's gpio pins. I wrote a simple program that prints the input of pin #7. When I connect the pin to the 3v3, there is a constant output of True. However, when I don't connect them there is no constant False output, but a random True/False output. This is probably not a software problem.
I am currently using a vnc client so I can't post any code (no copy and paste), but it's only an endless while loop that prints RPi.GPIO.input(7).
I have a B model from 2011.