# Concatination
# joining string integers floats together is concatination
a=11
b="hi"
print(str(a)+b)


# 2nd way
a=2
b="Ron"
print(f"Hello {b} , how are you ? {a} ")

# question

#1. a=3
  # b=4
  # print => 3hello4

#2.a=3
#b=4
#c=5
#print => 3 5 hello 4 5

#3. a=2.456
#print => 2 hello

#4. a=1
# b=2
#c=3
#print => Sajan has 1 pen , 2 pencils and 3 pens.

#5.a=1.55
#b=2.55
#c=3.55
#d=55
#print => There are four numbers 1 , 2 , 3 and 55 to be written
#in the notebook.

#6. a="hello"
# b=2.55
#print => hello2.

#7.. a="3.33"
#b="4.5"

# print  The number is 7.83


# ADV
#5.a="1.55"
#b="2.55"
#c="3.55"
#d=55
#print => There are four numbers 1 , 2 , 3 and 55 in my book.


#1. a=3
  # b=4
  # print => 3hello4

  # Do it using the second method

#2.a=3
#b=4
 #c=5
#print => 3 5 hello 4 5
  # Do it using the second method

#3. a=2.456
#print => 2 hello

#4. a=1
# b=2
#c=3
#print => Sajan has 1 pen , 2 pencils and 3 pens.

#5.a=1.55
#b=2.55
#c=3.55
#d=55
#print => There are four numbers 1 , 2 , 3 and 55 to be written
#in the notebook.
a=1.55
a=int(a)
b=2.55
b=int(b)
c=3.55
c=int(c)
d=55
print(f"there are four numbers {a} , {b} , {c} and {d} to be written in the notebook.")

#5.a="1.55"
#b="2.55"
#c="3.55"
#d=55
#print => There are four numbers 1 , 2 , 3 and 55 in my book.
a="1.55"
a=float(a)
a=int(a)
b="2.55"
b=float(b)
b=int(b)
c="3.55"
c=float(c)
c=int(c)
d=55
print(f"there are four numbers {a} , {b} , {c} and {d} in my notebook")

#6. a="hello"
# b=2.55
#print => hello2.
a="hello"
b=2.55
b=int(b)
print(f"{a}{b}")

#7.. a="3.33"
#b="4.5"

# print  The number is 7.83


# DO it using method 2

a="3.33"
a=float(a)
b="4.5"
b=float(b)
print(f"the number is {a+b}")
