first  = 'John'
last ='smith'
meg =f'{first} {last} is a code'
print(meg)
course ='python for beginner'
print(course.upper())
print(course.replace('p','s'))
print(10 ** 3)
x =10 
x =x +3
print(x)
x =(2 +3)*2 **2
 
is_hot = False
is_cold = False
if is_hot:
    print("It's a hot day")
    print("enjoy your day")
elif is_cold:
    print("wear warm cloth")
else :
    print("it's a lovely day")
Price = 1000000
good_cradit =  True
down_payment = 0.1 * Price
other_wise= True
down_payment = 0.2 * Price
if good_cradit and other_wise:
    print(down_payment)

good_cradit = True
good_looks = True
print("eligable for job")
temperature =35
if temperature >30:
    print("it's a hot day")
else:
    print("it's not a hot day")
name = "jen"
if len(name)< 3:
   print("name must be at least 3 characters ")   
elif len(name)> 50:
   print("name must be a maximum of 50 characters")
else:
    print("name looks good")
