def fa():
    print("modul nilai mahasiswa")
  
                       
           Nama ="sufi aryo nugroho"
           print "\tNama :",Nama
           Nim = 311710097
           print "\tNim :",Nim
           NilaiTugas = 95
           print "\tNilai Tugas :",NilaiTugas
           Uts = 100
           print "\tUts :",Uts
           Uas = 80
           print "\tUas :",Uas

  def fa():
     print("random")                  
           import random
           jumlah = int(input("Masukkan jumlah n:"))
           for i in range(jumlah):
           i=random.uniform(0.0,0.5)
           print(i)
           print("selesai")


   def fa():
     print("nilai mahasiswa")                   

         NAMA = raw_input("MASUKKAN NAMA ANDA :")
         NIM = raw_input("MASUKKAN NIM ANDA :")
         UTS = int(raw_input("MASUKKAN NILAI UTS ANDA :"))
         UAS = int(raw_input("MASUKKAN NILAI UAS ANDA :"))
         TUGAS = int(raw_input("MASUKAN NILAI TUGAS ANDA :"))
         akhir = (UTS+UAS+TUGAS)/3
         print"=================================="
         print " NILAI AKHIR ANDA :", akhir
         print "*****************************"

         if akhir >=70 :
         print "A"
         print "LULUS"


         elif akhir >=60 :
              print "B"
              print "LULUS"

         elif akhir >=55 :
              print "C"
              print "TIDAK LULUS"

         elif akhir <= 30 :
              print "D"
              print "TIDAK LULUS"

         elif akhir <= 0 :
              print "E"
              print "TIDAK LULUS"

         print "================================================================="
         print "| Nama | NIM | Tugas | UTS | UAS | Akhir "
         print "================================================================="
         print "| Sufi Aryo Nugroho | 311710097 | 80 | 80 | 80 | 80 " 


     
  def fa():
    print("tuple")                
                        
         tupleA = ("1","2","3","4" )
         tupleB = ("5","6","7","8" )
         tupleC = tupleA + tupleB
         tupleD = tupleC
         tupleD1 = ("3")
         tupleD2 = ("6","7","8")
         tupleD3 = ("1","2","3","4","5","6","7","8")

   def fa():
     print("lambda")                    
                        
         print "P.Y.T.H.O.N"
         my_list = [1, 5, 4, 6, 8, 11, 3, 12]
         new_list = list(filter(lambda x: (x%2 == 0 ) , my_list))
         new_list = list(map(lambda x: x*7,my_list))
 
	
 
