Check a variable is a multiple of 10 and if not how do i round it up or down to the closest multiple of 10? : I need my program to check an in putted variable (e_gtin) and then calculate the GTIN from it (times the 1,3,5 and 7th number by three then add the 7 numbers up and divide by the nearest 10 times table) So far, it times the numbers and adds them up but I don't know where to go from there in terms of making it a multiple of ten

Any help would be appreciated.

    e_gtin = input("Enter a 7 digit number - ")
    gtin1 = int(e_gtin[0]) *3
    print("First Digit of the GTIN8 code - ",gtin1)
    gtin2 = int(e_gtin[1])
    print("Second Digit of the GTIN8 code - ",gtin2)
    gtin3 = int(e_gtin[2]) *3
    print("Third Digit of the GTIN8 code - ",gtin3)
    gtin4 = int(e_gtin[3]) 
    print("Fourth Digit of the GTIN8 code - ",gtin4)
    gtin5 = int(e_gtin[4]) *3
    print("Fith Digit of the GTIN8 code - ",gtin5)
    gtin6 = int(e_gtin[5])
    print("Sixth Digit of the GTIN8 code - ",gtin6)
    gtin7 = int(e_gtin[6]) *3
    print("Seventh Digit of the GTIN8 code - ",gtin7)
    GTIN7 = gtin1+ gtin2 + gtin3  + gtin4 + gtin5 + gtin6 + gtin7

from there how do I check its a multiple of ten and if it isn't how do I check which way to round, and then how do I round it?


Thanks in advance
Also this is to help with my practice GCSE Programming Coursework, which is why I'm bad with python. 

