#print("test")              #=not used/message
#print("test 2")

#part one completed#
#-----------------------------#

#str(string)

#first_name = 'lol'
#last_name = 'men'
#full_name = first_name +" "+ last_name

#print(type(name))
#print("hello "+name)

#-=-=-=--=-==-=-=-=-=-=-=-=-#

#int(integer)

#age = 15
#age += 1
#print(age)
#print(type(age))
#print("your age is: "+str(age))

#=-=-=-=-=-=-=-=-=-=-=-=-=-#

#float

#height = 178.8
#print("your height is :"+str(height))
#print(type(height))

#=-=-=--=-=-=-=-=-=-=-=-=-=-=#

#boolean(true/false)

#human = True
#print("are you are a human? "+str(human))
#print(type(human))

#part 2 completed(variable)
#-------------------------------------------#

#name='lolmem'
#age=15
#alive=True

#name, age, alive = 'lolmen', 15, True

#print(name)
#print(age)
#print(alive)

#name=name2=name3=30

#part 3 completed multiple assignment
#--------------------------------------------#

#name = "yes"

#print(len(name))
#print(name.find("e"))
#print(name.capitalize())
#print(name.upper)
#print(name.lower)
#print(name.isdigit())
#print(name.isalpha())
#print(name.count('e'))
#print(name.replace("s","a"))
#print(name*5)

#part 4 completed string method
#---------------------------------------------#

#x=1         #int
#y=2.0       #float
#z='3'       #str

#y = int(y)
#z= int(z)

#print(x)
#print(y)
#print(z*4)
#type casting buat ganti variable 

#part 5 completed type cast
#--------------------------------------------------#

#name=input("what is your name ")
#age=int(input("how old ar u "))
#height=float(input("how tall ar u bruv "))
#age=age+1
#print("hello "+name)
#print("ur age is "+str(age))
#print("u ar "+str(height)+" cm tall")

#part 6 com input func#
#------------------------------------------#

#import math

#pi=-3.14
#x=1
#y=2
#z=3

#print(round(pi))
#print(math.ceil(pi))
#print(math.floor(pi))
#print(abs(pi))
#print(pow(pi,2))
#print(math.sqrt(256))
#print(max(x,y,z))
#print(min(x,y,z))

#part 7 com math func#
#------------------------------------------#

# slicing= create a substring by extracting elements from another string
#          indexing[] or slice()
#          [start:stop:step]

#name = "Jak Pau"

#first_name=name[:3]
#last_name=name[4:]
#funky_name=name[::2]
#reversed_name=name[::-1]

#print(reversed_name)

#website1="http://google.com"
#website2="http://wikipedia.com"

#slice = slice(7,-4)

#print(website1[slice])
#print(website2[slice])

#part 8 com string slicing#
#--------------------------------------#

#age = int(input("how old a u?: "))

#if age==100:
#    print("u old af")
#elif age>=18:
#    print("u are an adult")
#elif age <0:
#    print("u is not born lol")
#else:
#    print('you are a child')

#part 9 com if statement#
#----------------------------------------#

#temp=int(input("what is temp rn?: "))

#if not(temp >= 0 and temp <= 30):
#    print('the temp is bad')
#    print('stay home lol')
#elif not(temp < 0 or temp > 30):
#    print('the temp is gud')
#    print('get a life')

#part 10 co logical operator#
#----------------------------------------------------------#

#name=""

#while len(name)==0:   #or you can do {while not name:}
#    name=input('enter ur nem ')

#print("henlo "+name)

#part 11 com while loop#
#----------------------------------------------------------#

#import time

#for i in range(10):
#    print(i+1)

#for i in range(50,1000+1,2):
#    print(i)

#for i in "yes":
#    print(i)

#for sec in range(10,0,-1):
#    print(sec)
#    time.sleep(1)
#print('hepi new yir')

#part 12 com for loop#
#-------------------------------------------------------------#

#rows=int((input("How many rows? ")))
#columns=int((input("homany columns? ")))
#symbol=input('enter a symbol to use ')

#for i in range(rows):
#    for j in range(columns):
#        print(symbol, end="")
#    print()

#part 13 com nested loop#
#-----------------------------------------------------------------------#

#while True:
#    name=input("put ur nem ")
#    if name !='':
#        break

#_#_#_#_#_#_#_#_#_#

#phone_num="0812-9044-1611"

#for i in phone_num:
#    if i == '-':
#        continue
#    print(i, end='')

#_#_#_#_#_#_#_#_#_#

#for i in range(1,21):
#    if i == 13:
#        pass
#    else:
#        print(i)

#part 14 com break continue pass#
#-------------------------------------------------#

#food=["telor",'nasgor','liwet','uduk','sosis']

#food[0]='dadar'

#food.append('es')
#food.remove('nasgor')
#food.pop()
#food.insert(0,'kue')
#food.sort()
#food.clear()


#for x in food:
#    print(x)

#part 15 com list#
#--------------------------------------------------#