Git Product home page Git Product logo

python-fundamentals's Introduction

My Purwadhika Journey

This repository contains code for the Data Science and Machine Learning Program at Purwadhika.
The code is mostly homeworks regarding the course material as well as the Team Assignment Projects.
This learning journey is written in Python3.6 and using Visual Studio Code Version: 1.40.2.

Homework:

  1. pr-1: Variable and Mathematic Operations

  2. pr-2: Conditional (IF-ELIF-ELSE)

  3. pr-3: List Slicing, Palindrome, List Indexing, Try-Except

  4. pr-4: Set(Union, Intersection, Difference)

  5. pr-5: Looping Pattern

  6. pr-6: String Reverse

  7. pr-7: Email Validation

  8. pr-8:

    • a. kalkulator()

      kalkulator (+, -, /, *)
      inputan:
      inputan angka 1 : 8
      inputan angka 2 : 10
      masukkan operator: +
      output: hasil penjumlahan 8 + 10 = 18

    • b. kodemorse()

      Translator (Encoder-Decoder Kode Morse)
      Silakan masukkan kalimat: Anda
      Outputnya : (kode morse nya) * - / - - / * - / - *
      Silakan masukkan kalimat : . - / - - / . - / - .
      Outputnya : Aman
      kode morse dictionary: wikipedia

    • c. fizzbuzz()

      input masukkan angka :
      outputnya
      angka yang habis bisa dibagi 3 : Fizz
      angka yang habis bisa dibagi 5 : Buzz
      angka yang habis dibagi 3 dan dibagi 5 : Fizz Buzz
      1
      2
      Fizz
      4
      Buzz
      Fizz
      7
      8
      Fizz
      Buzz
      11

    • d. caesar_chiper()

      masukkan kata: Joni
      masukkan angka : 2
      hasil caesar cipher : lnpk
      masukkan kata : Joni
      masukkan angka : -2
      hasil caesar cipher: imlg

    • e. romawi()

      Batas maksimal 4000
      keluar notif : angka diluar jangkauan
      Translator (Encoder-Decoder Angka Romawi)
      silakan masukkan angka: 2018
      outputnya: (angka romawinya) MMXVIII
      silakan masukkan kalimat: MMXVIII
      output: 2018
      CCLXXVIII: 278
      MMMCMXCII.

    • f. konversi_angka()

      konversi angka digital
      masukkan angka: 9

  9. pr-9:

    • ascdesc(pilihan, lst)

      Buat Algoritma...
      Buat List
      Pilihan:
      1 = ascending(a-z) dari kecil ke besar
      2 = descending(z-a) dari yang terbesar ke terkecil
      tidak boleh pake reverse, ::-1, pake algoritma, tidak boleh pake fungsi
      output: sesuai pilihan

    • minmaks(lst)

      Buat Algoritma
      Cari Nilai Maksimal dan nilai Minimal

    • stats(lst)

      Buat Algoritma
      Buat List
      cari:
      Modus = nilai yang paling sering muncul
      Median = nilai tengah
      Mean = rata-rata
      Q1 = Quartal 1 atau 25%
      Q3 = Quartal 3 atau 75%
      Outliers

    • rotasi(x)

      Deret angka spin rotation

  10. pr-10: Reduce

Coding Challenge

segitiga_kata.py

print(segitigaKata('kode python'))
k
o d
e p y
t h o n
k o d e
p y t
h o
n

Group Assignment

  1. toko_buah_crud.py

    CREATE, READ, UPDATE and DELETE (CRUD) items at the fruit shop applications. toko_buah_flow_chart

    toko_buah

  2. tugaskelompok2.py

python-fundamentals's People

Contributors

citraput avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.