#!/usr/bin/python3
import requests
from sys import argv

""""Write a Python script that takes in a URL,
 sends a request to the URL and displays the
  value of the variable X-Request-Id"""

if __name__ == "__main__":
    header = 'X-Request-Id'
    r = requests.get(argv[1])
    print(r.headers.get(header))

04c4ead61aa8ab35977bd966186d1fea2aad32f9
<mask token>

<mask token>
if __name__ == '__main__':
    header = 'X-Request-Id'
    r = requests.get(argv[1])
    print(r.headers.get(header))

import requests
from sys import argv
<mask token>
if __name__ == '__main__':
    header = 'X-Request-Id'
    r = requests.get(argv[1])
    print(r.headers.get(header))

#!/usr/bin/python3
import requests
from sys import argv

""""Write a Python script that takes in a URL,
 sends a request to the URL and displays the
  value of the variable X-Request-Id"""

if __name__ == "__main__":
    header = 'X-Request-Id'
    r = requests.get(argv[1])
    print(r.headers.get(header))
