########## FOR LOOPS

#Q1
#num = int(input("Enter the number: "))

#for i in range(num):
#   print(num,"X",i,"=",num * i)

#Q2   
#num = int(input("Enter the number: "))
#sum = num
#for i in range(num):
#   sum = sum + i 
#print(sum)

#Q3
#random_numbers = [3, 5, 9, 1]
#random_numbers = [-3, -5, 9, 1]
#random_numbers = []
#total = sum(random_numbers)
#print(total)

# Q4
# mailing_list = [
#    ["Chilli","chilli@thechihuahua.com"],
#    ["Roary", "roary@moth.catchers"],
#    ["Remus", "remus@kapers.dog"],
#    ["Prince Thomas of Whitepaw", "hrh.thomas@royalty.wp"],
#    ["Ivy", "noreply@goldendreamers.xyz"],
#]

#for item in range(len(mailing_list)):
#    print(f"{mailing_list[item][0]} : {mailing_list[item][1]}")


############## WHILE LOOPS

#list = []
#num = int(input("Enter the number: "))

#while num != "":
#   list.append (num)
#   num = int(input("Enter the number: "))

#print(sum(list))

