Adityadn commited on
Commit
4efcd2a
·
verified ·
1 Parent(s): 6afeabb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
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 == "I Love You" or "Ilopyu" or "I <3 U" or "Ai lof yu" or "Lop yu":
 
 
13
  result = "Love you too...."
14
  elif text == "Ah":
15
  result = "Kamu sangean"
16
- else:
17
- result = f"Anda memasukkan teks: {text}"
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