File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 4
4
name2 = input ("What is their name? \n " )
5
5
# 🚨 Don't change the code above 👆
6
6
7
- #Write your code below this line 👇
7
+ # Based on this method: https://www.buzzfeed.com/ariannarebolini/what-are-the-chances-your-crush-is-actually-your-true-love
8
+
9
+ # Write your code below this line 👇
8
10
9
11
coupleName = name1 + name2
10
12
formattedNames = coupleName .lower ()
23
25
loveCalc = int (str (trueComponent ) + str (loveComponent ))
24
26
25
27
if (loveCalc < 10 ) or (loveCalc > 90 ):
26
- print (f"Your score is { loveCalc } , you go together like coke and mentos." )
28
+ print (f"Your score is { loveCalc } , you go together like coke and mentos." )
27
29
elif (loveCalc >= 40 ) and (loveCalc <= 50 ):
28
- print (f"Your score is { loveCalc } , you are alright together." )
30
+ print (f"Your score is { loveCalc } , you are alright together." )
29
31
else :
30
- print (f"Your score is { loveCalc } ." )
32
+ print (f"Your score is { loveCalc } ." )
You can’t perform that action at this time.
0 commit comments