# assignment
# multiplication of two numbers
number1 = 20
number2 = 30
print(number1 + number2)
num = number1 + number2
print("the sum is",num)
print(number1 * number2)
num = number1 * number2
print("the product is",num)
# sum of the numbers
number1 =40
number2 = 30
print("the sum is ", number1 + number2)
number1 = 40
number2 = 30
num = number1 + number2
print("the sum is", num)

for i in range(1, 5):
    print(i)
else:
    print("this is else block statement" )
    
for i in range(10, 15, 1):
  print( i, end=', ')  
  
# sampleList = ["Jon", "Kelly", "Jessa"]
# sampleList.append(2, "Scott")
# print(sampleList)    

valueOne = 5 ** 2
valueTwo = 5 ** 3

print(valueOne)
print(valueTwo)

# for x in range(0.5, 5.5, 0.5):
#   print(x)
  
str = "pynative"
print (str[1:3])  

var = "James" * 2  * 3
print(var)

print(type([]) is list)
print(type({}) is set)
print(type(0xFF))

