user_input = int(input('Enter input: '))
if type(user_input) == "<class 'int'>":
print('This is a integer.')
The code above outputs nothing to the console. I am just confused because it is very simple and looks like it should work.
I've tried removing the int() in the input line which output nothing, I understand this because user_input turns into a string but I do not understand why it outputs nothing when user_input is defined as an integer.