# Task
 Given an integer `n`, find the maximal number you can obtain by deleting exactly one digit of the given number.
# Example
 For `n = 152`, the output should be `52`;
 For `n = 1001`, the output should be `101`.
# Input/Output
 - `[input]` integer `n`
    Constraints: `10 ≤ n ≤ 1000000.`
 - `[output]` an integer
from itertools import combinations
def delete_digit(n):
  return max(int(''.join(i)) for i in list(combinations(str(n),len(str(n))-1)))
from itertools import combinations
def delete_digit(n):
  return max(int(''.join(i)) for i in list(combinations(str(n),len(str(n))-1)))