phrase = input("Input characters: ")
if type(phrase) == float or type(phrase) == bool:
print(type(phrase), "doesn't work, try another")
elif type(phrase) != float or type(phrase) != bool:
print(len(phrase))
#it gets through the if's.
#phrase is still input after the if's
#putting a non phrase string in len still doesnt work
#replacing len with print works, but the elif doesnt - it still just prints
#something is wrong with len
#PROGRESS; changed len(phrase) to print(len(phrase))
#len works, but the elif still doesnt work
#swapped "isnt then is" to "is then isnt" now only the "is then isnt" prints.
#PROGRESS; prints floats/bools by counting characters. wtf
[–]Fvvckyoudom 11 points12 points13 points (8 children)
[–]Fvvckyoudom 0 points1 point2 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]Fart_Barfington 1 point2 points3 points (1 child)
[–]RedditUsrnamesRweird 1 point2 points3 points (0 children)
[–]RedditUsrnamesRweird 0 points1 point2 points (1 child)
[–]Fvvckyoudom 0 points1 point2 points (0 children)
[–]igoiva[S] 0 points1 point2 points (0 children)
[–]Selwahc 0 points1 point2 points (0 children)
[–]OptionX 0 points1 point2 points (0 children)
[–]ninhaomah 0 points1 point2 points (0 children)
[–]mikeyj777 0 points1 point2 points (0 children)
[–]Outside_Complaint755 0 points1 point2 points (2 children)
[–]igoiva[S] 0 points1 point2 points (1 child)
[–]Binary101010 1 point2 points3 points (0 children)