Update app.py
Browse files
app.py
CHANGED
@@ -9,12 +9,14 @@ def analyze_text(text):
|
|
9 |
if text == "":
|
10 |
result = "MASUKKIN TEKS GOBLOK"
|
11 |
elif text != "":
|
12 |
-
if text
|
|
|
|
|
13 |
result = "Love you too...."
|
14 |
elif text == "Ah":
|
15 |
result = "Kamu sangean"
|
16 |
-
else:
|
17 |
-
result =
|
18 |
else:
|
19 |
result = "Ada yang error nih"
|
20 |
return result
|
|
|
9 |
if text == "":
|
10 |
result = "MASUKKIN TEKS GOBLOK"
|
11 |
elif text != "":
|
12 |
+
if text != "I Love You" or "Ilopyu" or "I <3 U" or "Ai lof yu" or "Lop yu" or "ah":
|
13 |
+
result = f"You memasukkan teks: {text}"
|
14 |
+
elif text == "I Love You" or "Ilopyu" or "I <3 U" or "Ai lof yu" or "Lop yu":
|
15 |
result = "Love you too...."
|
16 |
elif text == "Ah":
|
17 |
result = "Kamu sangean"
|
18 |
+
else:
|
19 |
+
result = "Apa sih!"
|
20 |
else:
|
21 |
result = "Ada yang error nih"
|
22 |
return result
|