title: Can someone take a look at my python code, its simple since I'm only a beginner
body: <p>Heres my code, whenever it is run it skips one of the blocks of code, it doesn't show any error or anything it just skips my first if condition and runs the rest, here it is = </p>
  
  <pre><code>import time
  
  #Cracking PINs
  
  pin = str(input('Type in your 6-digit PIN, it MUST be a number: \n'))
  pinLength = len(pin)
  solvePin = 0.000002
  easyPins = [000000, 0.123456, 0.11111, 0.222222, 0.333333, 0.444444, 0.555555, 0.666666, 0.777777, 0.888888, 0.999999, 0.456123]
  pin = int(pin)
  pin = pin/1000000
  
  #PIN strength
  
  while(pin in easyPins):
    print('Your PIN is too weak, make another one')
    pin = int(input())
  
  print('Strong PIN!')
  
  #Checking PIN Length and Cracking PIN
  
  startTime = time.time()
  
  if(pinLength == 8):
    confirmPin = int(input('Confirm your PIN \n'))
    confirmPin = confirmPin/1000000
    while(confirmPin != pin):
      print('Not the same PIN\n')
      confirmPin = int(input('Please retype your PIN\n'))
    while(solvePin != confirmPin):
      solvePin += 0.000001
      print(solvePin)
    else:
      while (pinLength != 8):
       int(input('Your PIN is too long or short, type again.\n'))
  
  print(' ')
  print('Your Pin is')
  print(solvePin)
  
  endTime = time.time()
  print(' ')
  print ('Elapsed time in seconds', ((endTime - startTime)))
  </code></pre>