#Write a program that reads 10 positive three digit numbers and prints #the last digits of all these numbers. You may assume that input consists of 10 #positive integers between 100 and 999. YOU MUST USE LOOP FOR. def main(): for i in range(20, 30): num=int(input("enter number ")) print(num%10) main()