From 36d7886019b6e12ef74c6c19ece843a8a4bf8c2c Mon Sep 17 00:00:00 2001 From: magus914 <38582418+magus914@users.noreply.github.com> Date: Sat, 26 May 2018 09:39:29 +0700 Subject: [PATCH] M. AGUS MAULANA_G.231.16.0017_PerbaikanPYTHON.txt --- ... MAULANA_G.231.16.0017_PerbaikanPYTHON.txt | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 MOCHAMMAD AGUS MAULANA_G.231.16.0017_PerbaikanPYTHON.txt diff --git a/MOCHAMMAD AGUS MAULANA_G.231.16.0017_PerbaikanPYTHON.txt b/MOCHAMMAD AGUS MAULANA_G.231.16.0017_PerbaikanPYTHON.txt new file mode 100644 index 0000000..784323c --- /dev/null +++ b/MOCHAMMAD AGUS MAULANA_G.231.16.0017_PerbaikanPYTHON.txt @@ -0,0 +1,33 @@ +greeting_message = 'Welcome to Codecademy!' +current_excercise = 5 +todays_date = "March 31, 2023" +print (greeting_message) +print (current_excercise) +print (todays_date) +#Bagaimana untuk menampilkan variabel current_exercise dan todays_date? + +mirthful_addition = 12381 + 91817 +amazing_subtraction = 981 - 312 +trippy_multiplication = 38 * 902 +happy_division = 540 / 45 +sassy_combinations = (129 * 1345) + (120 / 6) - 12 +print (happy_division) +print (mirthful_addition) +print (amazing_subtraction) +print (trippy_multiplication) +print (sassy_combinations) +#Bagaimana untuk menampilkan variabel mirthful_addition, amazing_subtraction,trippy_multiplication, dan sassy_combinations? + +city_name = "St. Potatosburg" +city_pop = 340000 +#Bagaimana cara membuat komen? + +#HASIL RUN SCRIPT +Welcome to Codecademy! +5 +March 31, 2023 +12.0 +104198 +669 +34276 +173513.0