July 5, 2023, 9:52 a.m. |
+5 |
Experience for appreciated comment flowerinapot: 1 on Phil15: Well, since there is no test and this wasn't even synced, I'm deleting it and add a precondition abo... |
July 5, 2023, 9:52 a.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: There is a test in the task description, not in real tests... |
July 5, 2023, 9:52 a.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: Well well well, I was adding a precondition in "Army battles" task description when I saw an **unsyn... |
July 5, 2023, 9:50 a.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: Yeah Rookie class is a bastard. Army 1 has the advantage to always start a fight leading to win outn... |
July 5, 2023, 6:06 a.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: Totally, we shouldn't split the universe in two, obviously. For now, I'm correcting simple things, n... |
July 5, 2023, 6:05 a.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: Note that I'm currently forking the repo to do changes I wrote in my previous messages (maybe not ab... |
July 5, 2023, 6 a.m. |
+5 |
Experience for appreciated comment flowerinapot: 1 on Phil15: Yeah, it's FIFO. I don't know java, but reading you, yeah it's probably javaism. Battle class will o... |
July 5, 2023, 6 a.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: Yeah, it's FIFO. I don't know java, but reading you, yeah it's probably javaism. Battle class will o... |
July 5, 2023, 5:59 a.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: Vampirism percentage is given by an integer, 50 for 50%, 150 for 150%... FIFO order until a warlord ... |
July 5, 2023, 5:47 a.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: I take my time to respond. First thing to say, in this serie, there are situations we can think abou... |
July 5, 2023, 5:47 a.m. |
+5 |
Experience for appreciated comment flowerinapot: 1 on Phil15: I take my time to respond. First thing to say, in this serie, there are situations we can think abou... |
July 4, 2023, 9:28 p.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: I couldn't let you with this long long code so I simplified it for you, you will learn from it. clas... |
July 4, 2023, 9:28 p.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: @property def is_alive(self): ... And your problem go away. This change your method in a "dynamic at... |
July 4, 2023, 9:28 p.m. |
+5 |
Experience for appreciated comment flowerinapot: 1 on Phil15: @property def is_alive(self): ... And your problem go away. This change your method in a "dynamic at... |
July 4, 2023, 9:26 p.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: You can mark the post resolved then. |
July 4, 2023, 9:25 p.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: I answered this question yesterday on the forum :) davydavi wrote the same message (well it was more... |
July 4, 2023, 4:30 p.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: When you are on the task page like [this](https://py.checkio.org/mission/the-warriors/), you have "D... |
July 4, 2023, 4:29 p.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: [Previous message](https://py.checkio.org/forum/post/12803/strange-mistake-typeerror-class-dict/#com... |
July 4, 2023, 4:29 p.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: I answered this problem twice this last two days on this forum. Your is_alive method allow you to wr... |
July 4, 2023, 4:09 p.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: return True if unit1 is alive, return False if not |
July 4, 2023, 4:09 p.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: Two types of turns because two types of fight: unit1 vs unit2, army1 vs army2. Here it means between... |
July 4, 2023, 4:01 p.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: Yeah you can mark the post resolved. Just to be clear, `fight` is a function, so `return fight` does... |
July 4, 2023, 4:01 p.m. |
+5 |
Experience for appreciated comment flowerinapot: 1 on Phil15: Yeah you can mark the post resolved. Just to be clear, `fight` is a function, so `return fight` does... |
July 4, 2023, 4 p.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: `# code block` was an example, indent your code was the thing to do. Sorry if I wasn't clear enough.... |
July 4, 2023, 4 p.m. |
+5 |
Experience for appreciated comment flowerinapot: 1 on Phil15: `# code block` was an example, indent your code was the thing to do. Sorry if I wasn't clear enough.... |
July 4, 2023, 3:58 p.m. |
+5 |
Experience for appreciated comment flowerinapot: 1 on Phil15: You can tag your post for advisors, and put your code (at least the fight function), it would be cle... |
July 4, 2023, 3:58 p.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: You can tag your post for advisors, and put your code (at least the fight function), it would be cle... |
July 4, 2023, 3:53 p.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: class Warrior: def __init__(self): self.health=50 self.attack=5 # .is_alive, not .is_alive() # so in... |
July 4, 2023, 3:51 p.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: Well, I would not say that this serie of mission is for beginners. There is a lot of work to achieve... |
July 4, 2023, 3:48 p.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: Well, even if a property is useful here to manage `is_alive`, I saw people managing by themselves an... |
July 4, 2023, 9:21 a.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: `bin(num).endswith('0')` is already a boolean (True, or False), just return it. |
July 3, 2023, 6:11 p.m. |
+5 |
Experience for voted solution flowerinapot: 5 on With collections.Counter and cutting generator-Phil15 |
July 3, 2023, 4:54 p.m. |
+4 |
Experience for voted solution Janoo12: 4 on Three solutions + 1 in comments-Phil15 |
July 3, 2023, 8:28 a.m. |
+1 |
Experience for voted comment kurosawa4434: 1 on Phil15: I liked this one! Even if I lost quite some time on a real-bruteforce solution that was inevitably i... |
July 3, 2023, 8:28 a.m. |
+5 |
Experience for appreciated comment kurosawa4434: 1 on Phil15: I liked this one! Even if I lost quite some time on a real-bruteforce solution that was inevitably i... |
June 30, 2023, 1:52 p.m. |
+7 |
Experience for voted solution Pactp: 3 on With zip(army_1, army_2) and remove_the_dead property in Army class-Phil15 |
June 30, 2023, 9:57 a.m. |
+5 |
Experience for appreciated comment freeman_lex: 1 on Phil15: I liked this one! Even if I lost quite some time on a real-bruteforce solution that was inevitably i... |
June 30, 2023, 9:57 a.m. |
+1 |
Experience for voted comment freeman_lex: 1 on Phil15: I liked this one! Even if I lost quite some time on a real-bruteforce solution that was inevitably i... |
June 29, 2023, 4:38 p.m. |
+12 |
Experience for solved mission Garland |
June 29, 2023, 4:24 p.m. |
+12 |
Experience for solved mission Count Squares |
June 29, 2023, 7:07 a.m. |
+1 |
Experience for voted solution silopolis: 1 on try return slice except-Phil15 |
June 29, 2023, 7:06 a.m. |
+1 |
Experience for voted comment silopolis: 1 on Phil15: `if border in items` and `items.index(border)` search for border two times which seems bad. If it wa... |
June 29, 2023, 3:55 a.m. |
+1 |
Experience for voted comment fionabunny: 1 on Phil15: I was at first really pissed of by those unnecessary zeros (that and something about columns) until ... |
June 29, 2023, 3:55 a.m. |
+5 |
Experience for appreciated comment fionabunny: 1 on Phil15: I was at first really pissed of by those unnecessary zeros (that and something about columns) until ... |
June 28, 2023, 3:26 p.m. |
+2 |
Experience for voted solution silopolis: 2 on Three solutions + 1 in comments-Phil15 |
June 27, 2023, 8:54 p.m. |
+5 |
Experience for voted solution GremlinMag: 5 on max, with a key-Phil15 |
June 26, 2023, 3:18 p.m. |
+1 |
Experience for voted solution ValeryLime: 1 on First-Phil15 |
June 26, 2023, 3:02 p.m. |
+2 |
Experience for voted solution silopolis: 2 on We can sum booleans (False == 0 and True == 1)-Phil15 |
June 26, 2023, 4:36 a.m. |
+11 |
Experience for voted solution andreirozgkob164: 5 on 6-liner: scipy.integrate and probabilities power-Phil15 |
June 24, 2023, 1:46 p.m. |
+1 |
Experience for voted comment freeman_lex: 1 on Phil15: 1 2 3 4 building/column numbers (indexes starting at 1) . . 1 . Zeros replaced by dots since it's on... |
June 22, 2023, 5:36 a.m. |
+1 |
Experience for voted solution hoseinyaghoobi.7697: 1 on First-Phil15 |
June 16, 2023, 11:13 a.m. |
+14 |
Experience for voted solution U.V: 5 on List key possibilities for each clue and cautiously merge them into one full key-Phil15 |
June 16, 2023, 9:45 a.m. |
+1 |
Experience for voted comment suic: 1 on Phil15: I forgot to divide by 100 in the 7th mission (I know it's dumb). When we are wrong, our result is di... |
June 16, 2023, 3:48 a.m. |
+1 |
Experience for voted comment Kolia951: 1 on Phil15: Your pigeons would be an alternative network fine, but here no pigeon no alternative. To reach C fro... |
June 15, 2023, 7:45 p.m. |
+5 |
Experience for solved mission OOP 7: Adding Parameters |
June 15, 2023, 7:42 p.m. |
+5 |
Experience for solved mission OOP 6: Overriding Methods |
June 15, 2023, 7:38 p.m. |
+5 |
Experience for solved mission OOP 5: Parent - Child |
June 13, 2023, 8:57 a.m. |
+1 |
Experience for voted comment dig: 1 on Phil15: Your pigeons would be an alternative network fine, but here no pigeon no alternative. To reach C fro... |
June 12, 2023, 9:16 p.m. |
+5 |
Experience for appreciated comment dig: 1 on Phil15: I assumed it was one bench by family. Big benches for big families. |
June 12, 2023, 9:16 p.m. |
+1 |
Experience for voted comment dig: 1 on Phil15: I assumed it was one bench by family. Big benches for big families. |
June 12, 2023, 8:15 p.m. |
+1 |
Experience for voted comment dig: 1 on Phil15: They don't train pigeons in this simulated world sorry! |
June 12, 2023, 8:10 p.m. |
+1 |
Experience for voted comment dig: 1 on Phil15: That's the first extra test. No one of B C D gets the message. B because it's crushed, C and D becau... |
June 12, 2023, 6:52 p.m. |
+1 |
Experience for voted comment freeman_lex: 1 on Phil15: Well after a tour on [OEIS](https://oeis.org/A099390/b099390.txt) where my number is present at the ... |
June 12, 2023, 6:52 p.m. |
+5 |
Experience for appreciated comment freeman_lex: 1 on Phil15: Well after a tour on [OEIS](https://oeis.org/A099390/b099390.txt) where my number is present at the ... |
June 12, 2023, 6:52 p.m. |
+5 |
Experience for appreciated comment freeman_lex: 1 on Phil15: Are you sure the last answer is 5791672851807481 ? Because I think I have 5791672851807479 (just you... |
June 12, 2023, 6:52 p.m. |
+1 |
Experience for voted comment freeman_lex: 1 on Phil15: Are you sure the last answer is 5791672851807481 ? Because I think I have 5791672851807479 (just you... |
June 12, 2023, 2:48 p.m. |
+12 |
Experience for solved mission Count Domino Tilings |
June 11, 2023, 10:51 a.m. |
+7 |
Experience for voted solution rybld2: 5 on Backtracking-Phil15 |
June 9, 2023, 10:12 a.m. |
+5 |
Experience for voted solution flowerinapot: 5 on stack-Phil15 |
June 8, 2023, 7:41 p.m. |
+4 |
Experience for voted solution olzich2: 4 on re.sub(r'[A-Z]', repl lambda function, name)-Phil15 |
June 8, 2023, 3:04 p.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: I've looked at your url and I confirm there is no metaclass involved. It uses a quite usual class. I... |
June 8, 2023, 3:03 p.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: "cmp_to_key": I don't know about its implementation (like pretty much anything really in python as i... |
June 8, 2023, 3 p.m. |
+1 |
Experience for voted comment flowerinapot: 1 on Phil15: You don't seem to like exception, unlike me. Both works. But yeah it can be shorter: i2 = line.find(... |
June 8, 2023, 2:59 p.m. |
+5 |
Experience for voted solution flowerinapot: 5 on [v2] enumerate, try line.index, max(..., key=len)-Phil15 |
June 8, 2023, 2:24 p.m. |
+3 |
Experience for voted solution dig: 3 on (Shorter code) Recursively generate parenthesization on split digits and operations-Phil15 |
June 8, 2023, 12:54 p.m. |
+1 |
Experience for voted comment juestr: 1 on Phil15: "instance attribute" are defined in `__init__` VS "class attribute" defined at "class level" (not in... |
June 8, 2023, 12:54 p.m. |
+5 |
Experience for appreciated comment juestr: 1 on Phil15: "instance attribute" are defined in `__init__` VS "class attribute" defined at "class level" (not in... |
June 8, 2023, 8:48 a.m. |
+1 |
Experience for voted comment freeman_lex: 1 on Phil15: "instance attribute" are defined in `__init__` VS "class attribute" defined at "class level" (not in... |
June 8, 2023, 8:48 a.m. |
+5 |
Experience for appreciated comment freeman_lex: 1 on Phil15: "instance attribute" are defined in `__init__` VS "class attribute" defined at "class level" (not in... |
June 7, 2023, 8:07 p.m. |
+5 |
Experience for voted solution BootzenKatzen: 5 on fromisoformat (with python 3.7)-Phil15 |
June 6, 2023, 7:31 p.m. |
+5 |
Experience for voted solution flowerinapot: 5 on First-Phil15 |
June 6, 2023, 10:13 a.m. |
+5 |
Experience for voted solution flowerinapot: 5 on Two solutions-Phil15 |
June 2, 2023, 6:45 p.m. |
+1 |
Experience for voted solution jemg2030: 1 on Three solutions + 1 in comments-Phil15 |
June 1, 2023, 3:44 p.m. |
+7 |
Experience for voted solution dig: 5 on islice(cycle)-Phil15 |
June 1, 2023, 12:36 p.m. |
+5 |
Experience for appreciated comment freeman_lex: 1 on Phil15: @freeman_lex Regarding print statements, there is a way to capture if you want. (Unless "redirect_st... |
June 1, 2023, 12:36 p.m. |
+1 |
Experience for voted comment freeman_lex: 1 on Phil15: @freeman_lex Regarding print statements, there is a way to capture if you want. (Unless "redirect_st... |
May 31, 2023, 5:29 p.m. |
+1 |
Experience for voted comment suic: 1 on Phil15: So this is the kind of mission where the mission author works more than 10 users separately, fine wi... |
May 31, 2023, 1:29 p.m. |
+1 |
Experience for voted comment dig: 1 on Phil15: Points (3,-5) and (1,-20) are on the line of equation "y=7.5*x-27.5". Then moving to point (3.6026, ... |
May 31, 2023, 7:16 a.m. |
+1 |
Experience for voted comment Kolia951: 1 on Phil15: So this is the kind of mission where the mission author works more than 10 users separately, fine wi... |
May 30, 2023, 5:41 p.m. |
+5 |
Experience for solved mission OOP 4: Adding Methods |
May 30, 2023, 5:38 p.m. |
+5 |
Experience for solved mission OOP 3: Initializing |
May 30, 2023, 5:37 p.m. |
+5 |
Experience for solved mission OOP 2: Class Attributes |
May 30, 2023, 5:37 p.m. |
+5 |
Experience for solved mission OOP 1: First Look at Class and Object |
May 29, 2023, 8:05 p.m. |
+1 |
Experience for voted comment freeman_lex: 1 on Phil15: It's just one of the [Most Common Mistakes](https://py.checkio.org/forum/post/3269/6-the-most-common... |
May 28, 2023, 10:16 p.m. |
+1 |
Experience for voted solution uniholder: 1 on max(start_watching or end, end)-Phil15 |
May 28, 2023, 2:38 p.m. |
+1 |
Experience for voted solution msol294: 1 on fromisoformat (with python 3.7)-Phil15 |
May 28, 2023, 12:52 p.m. |
+1 |
Experience for voted comment kurosawa4434: 1 on Phil15: I did not see any of my replies appear on another post but appear below the wrong comment. After rel... |
May 28, 2023, 12:52 p.m. |
+5 |
Experience for appreciated comment kurosawa4434: 1 on Phil15: I did not see any of my replies appear on another post but appear below the wrong comment. After rel... |
May 27, 2023, 9:37 p.m. |
+1 |
Experience for voted solution uniholder: 1 on stack-Phil15 |
May 27, 2023, 9:08 a.m. |
+5 |
Experience for appreciated comment dig: 1 on Phil15: Nice mission! Again! 😋 And I have a nice 3rd party solution thanks to the evolution of scipy in the ... |