Created
June 22, 2020 15:23
-
-
Save sihandry/76d3a8bae3e8f2b11ea5df879128756e to your computer and use it in GitHub Desktop.
Contoh aplikasi untuk medium engineer palsu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Fungsi menghitung kecepatan | |
| def kecepatan(jarak, waktu): | |
| hasil = float(jarak) / float(waktu) | |
| return hasil | |
| # Fungsi menghitung jarak | |
| def jarak(kecepatan, waktu): | |
| hasil = float(kecepatan) * float(waktu) | |
| return hasil | |
| # Fungsi menghitung waktu | |
| def waktu(jarak, kecepatan): | |
| hasil = float(jarak) / float(kecepatan) | |
| return hasil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment