par o inpar python

```#Please visit my website: GarlokDev.com

number = input("\nInsert here the number: ")

print("\nYou have inserted: " + number)

f_number = number[-1]

par = [2, 4, 6, 8, 0]

if f_number in par:
print("\n" + numeber + " is a pair number")
else:
print("\n" + number + " is a odd number")

```

Here is what the above code is Doing:
1. It’s asking the user to insert a number.
2. It’s printing the number that the user has inserted.
3. It’s creating a variable called f_number and it’s storing the last digit of the number that the user has inserted.
4. It’s creating a list called par and it’s storing the numbers 2, 4, 6, 8 and 0.
5. It’s checking if the last digit of the number that the user has inserted is in the list called par.
6. If the last digit of the number that the user has inserted is in the list called par, it’s printing that the number is a pair number.
7. If the last digit of the number that the user has inserted is not in the list called par, it’s printing that the number is a odd number.