-
Notifications
You must be signed in to change notification settings - Fork 104
Expand file tree
/
Copy pathlatihanPYTHON.py
More file actions
37 lines (35 loc) · 922 Bytes
/
latihanPYTHON.py
File metadata and controls
37 lines (35 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
greeting_message = "Welcome to Codecademy!"
current_excercise = 5
todays_date = "March 31, 2023"
print greeting_message
%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
%Bagaimana untuk menampilkan variabel mirthful_addition, amazing_subtraction,trippy_multiplication, dan sassy_combinations?
city_name = "St. Potatosburg"
city_pop = 340000
%Bagaimana cara membuat komen?
+
+
+ nomer 1
+ print (greeting_message)
+ print (current_excercise)
+ print (todays_date)
+
+ nomer 2
+ print (mirthful_addition)
+ print (amazing_subtraction)
+ print (trippy_multiplication)
+ print (happy_division)
+ print (sassy_combinations)
+
+ nomer 3
+#city_name
+#city_pop
+
+Nama_Joko_Aris_Ismunandar
+Nim_G_231_16_0015