When I double click on the file to run it, it just pops up for a few seconds and disappears. I've been told it is a problem with my indentation but what exactly. I'm new to program, so a solution on how to fix my indentation would be helpful.
import random
print('I am thinking of a number between 1 and 50')
number = random.randint(1, 50)
guess = int(input('Can you guess what it is: '))
while guess != number:
if guess > number:
print('Lower...')
else:
print('higher...')
guess = int(input('Can you guess what it is: '))
print('Correct!')
input('\n\nEnter.')