print("Hello")
print("Hello"[0])
print("Hello"[1])
print("Hello"[2])
print("Hello"[3])
print("Hello"[4])

# int
print(123+456)
1234_4567_8910
# float
314.1456789
# boolean
# true or false

street_name = "Abbey Road"
print(street_name[4] + street_name[7])

# typeconversion
# num_char =input("Enter name")
# print(len(num_char))
# print(type(num_char))

# num_char = input("Enter the name")
# print(len(num_char))


# new_num_char = str(num_char)
# print(new_num_char)
# print("Your name is"+new_num_char+"!")
# 
a = 12234
print(type(a))

a = str(12234)
print(type(a))



# two_digit_number = input("Type a two digit number: ")
# first_digit = int(two_digit_number[0])
# second_digit =int(two_digit_number[1])
# two_digit_number = second_digit + first_digit
# print(two_digit_number) 
 
# first_digit=two_digit_number[0]
# second_digit=two_digit_number[1]
# result = int(first_digit) + int(second_digit)
# print(result)

# a = two_digit_number[0]
# b = two_digit_number[1]
# c = int(a) + int(b)
# print(c)

# operations
# height= eval(input("Enter the height in m:"))
# weight= eval(input("Enter the weight in kg:"))
# bmi =  (weight/height**2)
# bmi_na = int(bmi)
# print(bmi_na)

# height= (input("Enter the height in m:"))
# weight= (input("Enter the weight in kg:"))
# a =float(height)
# b =int(weight)
# bmi = (b/a ** 2)
# bmi_as = int(bmi)
# print(bmi_as)
# f-string
# f"your score is {score}, your heigh is{height}"
# assignment
# age = input("Enter the age")

# age_as_int = int(age)
# years_remaining = 90 - age_as_int
# days_remaining = years_remaining * 365
# weeks_remaining = years_remaining * 52
# months_remaining = years_remaining * 12

# code = f"you have {days_remaining} days and {weeks_remaining} weeks and {months_remaining} months"
# print(code)

# print(6 + 4 / 2 -(1 * 2))

# a = int("5") / int(2.7)

# print(type(a))

# name = input("whts is your name")
# print(f"Hello, {name}")
# name = input("whts is your name")
# print("Hello ," + name)
# age = 12
# print(f"you are, {age} years old")
# age = 12
# print(f"you are," +age+ "years old")
print("Welcome to the calculator tip")
bAmt = 150
tipAmt = 12
totalPersons = 5
fAmt = eval(input("Enter the amount"))
tipAmt = eval(input("Enter the  tip amount 10 12 15"))
persons = eval(input("Enterno of persons"))
tAmt = bAmt  * fAmt
tpAmt = tAmt * 12/100
sharedAmt= tpAmt / 5
print(tAmt)
print(tpAmt)
print(sharedAmt)
# print("Welcome to the calculator tip")

# fAmt = eval(input("ENter the bill amt"))
# tipAmt = eval(input("ENter the tip amt 10 12 15"))
# noofpersons =eval(input("ENter noof persons to split the amount of bill"))
    
# tAmt = fmt * 12/100 
# sharing = tAmt / 5 
# print("total amount is", tAmt)
# print("the sharing  amount is", sharing)

# # 