# print("Hello world")
#
# #Variable Assignment
# # Dat Type -> String
# rent = "5000"
# print(rent[-1])
# # rent[-1] = "A"
# # print(rent) #500A , single_quote so error
# # String is immutable
#
# # WAP to print your name by assigning to a variable
# my_name = "Anish Manandhar"
# print(my_name.split(' '))
#
# # How to print "Let's learn python",said Shreenav
# print('"let\'s learn python", said ',my_name)
# print(type(rent))
#
# # Data Types -> int , float, string,complex
#
# # Input function
# my_number = float(input("Enter a number: "))
# print(my_number)
# print(type(my_number))

#Operators and its types

a =10
b=3

#Arithmetic Operators
print(a+b)
print(a-b)
print(a*b)
print(a/b)
print(a//b)
print(a%b)

x=5
x+=5 # x = x+5
print(x)
x-=5 # x = x+5
print(x)

print(a**b) # Modulus Operator

x *= 3
print(x)

x **= 3
print(x)

x %=3
print(x)


# Comparison Operator
a = 10
b = 1
print (a == b)
print (a != b)
print ( a> b)
print ( a >= b)
print ( a <= b)

age =19
print ( age >18 and age <20)
print ( age >18 or age <20)
