code: def p2wpkh_input_and_witness(outpoint, sig, pubkey, sequence=0xFFFFFFFE):
      '''
      Outpoint, hex_string, hex_string, int -> (TxIn, InputWitness)
      Create a signed witness TxIn and InputWitness from a p2wpkh prevout
      '''
      return tb.make_witness_input_and_witness(
          outpoint=outpoint,
          sequence=sequence,
          stack=[bytes.fromhex(sig), bytes.fromhex(pubkey)]f p2wpkh_input_and_witness(outpoint, sig, pubkey, sequence=0xFFFFFFFE):
      '''
      Outpoint, hex_string, hex_string, int -> (TxIn, InputWitness)
      Create a signed witness TxIn and InputWitness from a p2wpkh prevout
      '''
      return tb.make_witness_input_and_witness(
          outpoint=outpoint,
          sequence=sequence,
          stack=[bytes.fromhex(sig), bytes.fromhex(pubkey)])
docs: Outpoint, hex_string, hex_string, int -> (TxIn, InputWitness)
      Create a signed witness TxIn and InputWitness from a p2wpkh prevout