#cetak ke layar
print("Hello World!")

#variabel
x = 4
if x == 4:
    print(x)

#string
nama_depan = "Galih"
nama_belakang = "Rakasiwhi"
print(nama_depan+" "+nama_belakang)

#array
myList = []
myList.append(1)
myList.append(2)
myList.append(3)

print(myList)
for x in myList:
    print(x)

myList = ["Ayam", "Geprek", "Pengkolan"]
print(myList)
for x in myList:
    print(x)

#array pengurutan
theList = [1,5,4,6,7,3,2]
print(theList[2:5]) #print dari index ke 2 s/d sebelum index ke 5
print(theList[:3]) #print ddari index ke 0 s/d sebelum index ke 3
print(theList[1:]) #print dari index ke 1 s/d seterusnya

#instal github
#cek versi github
#create repisotry
#cek git status
#git add Latihan01/
#git commit -am "teks commit"
#git remote add origin https://github.com/GalihRakasiwhi/Latihan_Python_Linux.git
#git push -u origin master

