Feb. 2, 2023, 5:03 p.m. |
+ 1 |
for Comment
lisovsky: this is a very cool solution! Like mine :)
|
July 5, 2021, 5:04 p.m. |
+ 1 |
for Comment
dygger: IMO it is better to use len function instead of calling __len__ directly
|
June 25, 2021, 4:54 p.m. |
+ 1 |
for Comment
ashvanth016: quite an elegant and simple way to reverse a string
|
Sept. 11, 2018, 4:49 p.m. |
+ 1 |
for Comment
DeCooper: Thx for your suggestions. I did not like my may of converting the wall string into transposed list v...
|
Sept. 8, 2018, 7:28 p.m. |
+ 1 |
for Comment
brubru777: Thank you for the suggestion. You taught me something. :)
|
Sept. 8, 2018, 6:17 p.m. |
+ 1 |
for Comment
HeNeArKr: I think that one problem is that you seem to be trying to simply pass the assertion tests instead of...
|
Sept. 7, 2018, 7:41 p.m. |
+ 1 |
for Comment
HeNeArKr: Debugging step 1: check the values of your variables. Just because you think they **should** be `i, ...
|
Sept. 3, 2018, 6:04 p.m. |
+ 1 |
for Comment
forrest1988: Some steps could be combined in a bit shorter code and too many comments for such a short function b...
|
Aug. 1, 2018, 5:57 p.m. |
+ 1 |
for Comment
dev0611: Yes, using dict get is simpler and easier to understand. Thank you for your review.
|
July 23, 2018, 6:05 p.m. |
+ 1 |
for Comment
heinrich.rhing: You have to modify the method say_hi before the asserts (line 9) instead the code after the print st...
|
July 23, 2018, 6:05 p.m. |
+ 1 |
for Comment
mindaugas.dadurkevicius: You solved it. Just delete lines 5 to 16 (only line 4 and 17 to remain). And press check (the soluti...
|
July 23, 2018, 5:37 p.m. |
+ 1 |
for Comment
kuzdras: Very clear and easy to read. As a class is quite a new concept for me so I had to check what ABC mea...
|
July 14, 2018, 2:44 p.m. |
+ 1 |
for Comment
Sim0000: duplicate post, so removed
|
March 6, 2018, 7:41 p.m. |
+ 1 |
for Comment
Sim0000: At least, actual parameter is **elements**. List[Any] is type hint. Good luck :-)
|
March 4, 2018, 7 p.m. |
+ 1 |
for Comment
kurosawa4434: Hi yagnik. I found a similar post: [TypeError](https://py.checkio.org/forum/post/12032/typeerror/)
|
March 4, 2018, 6:25 p.m. |
+ 1 |
for Comment
oduvan: no errors for this solutions.
|
March 4, 2018, 6:21 p.m. |
+ 1 |
for Comment
TKO_Mak: The task wants to find out if the input string contains at least three words(not three letters) in c...
|
March 4, 2018, 6:20 p.m. |
+ 1 |
for Comment
Sim0000: Return boolean value not string. **True**, **False** is correct.
|
March 4, 2018, 6:09 p.m. |
+ 1 |
for Comment
Sim0000: Do not use global variable in CheckiO environment. See [FAQ](https://py.checkio.org//forum/post/3269...
|
Feb. 20, 2018, 9:46 p.m. |
+ 1 |
for Comment
oduvan: Forum is not for sharing solutions but for asking questions
|
Feb. 20, 2018, 8:57 p.m. |
+ 1 |
for Comment
oduvan: and indentation before `return`
|
Feb. 20, 2018, 8:57 p.m. |
+ 1 |
for Comment
Sim0000: Just a simple mistake. You miss double quote before years.
|
Feb. 20, 2018, 8:56 p.m. |
+ 1 |
for Comment
kurosawa4434: 'capitalize ()' converts the first letter to upper case and the rest to lower case. @oduvan I think ...
|
Feb. 3, 2018, 7:37 p.m. |
+ 1 |
for Comment
oduvan: Hi What was your question?
|
Jan. 28, 2018, 7:57 p.m. |
+ 1 |
for Comment
Sim0000: What is your question?
|
Jan. 27, 2018, 9:30 p.m. |
+ 1 |
for Comment
Sim0000: Python can compare list (or tuple). For example, (1, 2) == (1, 2) (1, 2) != (1, 3) (2, 3) > (1, 2) (...
|
Jan. 19, 2018, 8:37 p.m. |
+ 1 |
for Comment
oduvan: Hi :) You should ask question here.
|
Jan. 19, 2018, 8:12 p.m. |
+ 1 |
for Comment
Sim0000: Do not print your result, return it.
|
Jan. 15, 2018, 7:01 p.m. |
+ 1 |
for Comment
Sim0000: It is position depend. we need to represent 1st digit as 2 bit, 2nd digit as 4 bit, 3rd digit as 3 b...
|
Jan. 15, 2018, 6:55 p.m. |
+ 1 |
for Comment
wangle: ok, i don't know before
|
Jan. 13, 2018, 7:09 p.m. |
+ 1 |
for Comment
wojtask98: Thank you for the insight! In short checkio assignments I tend to forget about good practices like p...
|
Jan. 13, 2018, 7:05 p.m. |
+ 1 |
for Comment
Kamilet: Thanks a lot :)
|
Jan. 13, 2018, 7:05 p.m. |
+ 1 |
for Comment
Iriskin: thx)
|
Jan. 13, 2018, 6:56 p.m. |
+ 1 |
for Comment
Tinus_Trotyl: Thanks , I once saw it on stack_overflow; it can come in real handy sometimes : [here](https://py.ch...
|
Jan. 13, 2018, 6:55 p.m. |
+ 1 |
for Comment
OscarChanDM: Thank you, my friend. I'm new here, I used to write C and Java. But Python really opens my mind.
|
Jan. 13, 2018, 6:55 p.m. |
+ 1 |
for Comment
Kamilet: Thanks a lot, same questions solved! Really hard to find this bug in given result... # Your result: ...
|
Jan. 9, 2018, 7:38 p.m. |
+ 1 |
for Comment
Sim0000: I try your code. - In line 7, you need to remove all non-alphabet character. For example, **text = '...
|
Jan. 8, 2018, 9:46 p.m. |
+ 1 |
for Comment
oduvan: I would say it is a bad idea of using mutable variable as a default argument. Here is a [short artic...
|
Jan. 6, 2018, 10:06 p.m. |
+ 1 |
for Comment
kurosawa4434: Hi eric :) That is F.A.Q at CheckiO. https://py.checkio.org/forum/post/11876/possible-environment-wr...
|
Jan. 6, 2018, 10:02 p.m. |
+ 1 |
for Comment
LLluma: About import: * because PEP8: https://www.python.org/dev/peps/pep-0008/#imports; * because Zen of Py...
|
Jan. 6, 2018, 8:57 p.m. |
+ 1 |
for Comment
flpo: >Ahhhh… so the idea was to change a list in-place instead of replacing... No, that's not the idea, c...
|
Jan. 2, 2018, 9:38 p.m. |
+ 1 |
for Comment
Dominik_Poznanski: I didn't understand auto-testing properly. I will need to come up with different approach... Thanks ...
|
Jan. 2, 2018, 7:40 p.m. |
+ 1 |
for Comment
bryukh: Thanks. I prefer to avoid micro-optimisations without need.
|
Dec. 17, 2017, 6:14 p.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: Hi! For empty `line` you get an `IndexError` in line 2, as there is no `line[0]` element. And you mi...
|
Dec. 13, 2017, 7:09 p.m. |
+ 1 |
for Comment
oduvan: Hi, FF changed the API pf how plugins works, the new plugin will be re-written shortly.
|
Dec. 12, 2017, 10:16 p.m. |
+ 1 |
for Comment
Sim0000: Do not remove items from the list used in the loop. See 'iterate and remove' section of [this articl...
|
Dec. 7, 2017, 9:03 p.m. |
+ 1 |
for Comment
Czarinov: All you need is in Built-in functions and methods of Built-in string type 'str'. You can read all ab...
|
Dec. 4, 2017, 7:39 p.m. |
+ 1 |
for Comment
thabangkeele: Thanks :) , much appreciated.
|
Dec. 4, 2017, 7:39 p.m. |
+ 1 |
for Comment
CH1979: You are right. Thanks for the advice!
|
Dec. 4, 2017, 7:39 p.m. |
+ 1 |
for Comment
veky: There are worse things than that. :-D
|
Dec. 1, 2017, 10:21 p.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: Very clear, self-descriptive solution. What a pity it’s wrong: >>> correct_sentence('To Sherlock Hol...
|
Dec. 1, 2017, 10:21 p.m. |
+ 1 |
for Comment
veky: I know. And my code means whatever the mission wants. That doesn't necessarily mean it's understanda...
|
Dec. 1, 2017, 9:07 p.m. |
+ 1 |
for Comment
ira: the brackets are redundant. you get the same result with: return "Hi. My name is "+name+" and I'm "+...
|
Nov. 30, 2017, 10:40 p.m. |
+ 1 |
for Comment
aquazul: The answer must be a callable, but does not have to be a function. i. e., it can be a method or a cl...
|
Nov. 30, 2017, 10:39 p.m. |
+ 1 |
for Comment
oduvan: it is complete and it works... Just use your imagination :)
|
Nov. 30, 2017, 9:28 p.m. |
+ 1 |
for Comment
flpo: Hi, thanks for the compliment! >When you added format at the end of the string, what you created? I ...
|
Nov. 30, 2017, 9:14 p.m. |
+ 1 |
for Comment
oduvan: so many likes. I hope people will also check [our article about f-string](https://py.checkio.org/blo...
|
Nov. 29, 2017, 9:14 p.m. |
+ 1 |
for Comment
nashimo: I'll go with these then. Thank you ^-^
|
Nov. 28, 2017, 9:05 p.m. |
+ 1 |
for Comment
Sim0000: My console says True. I guess you define another **min** function. You can use **\_\_builtins\_\_.mi...
|
Nov. 21, 2017, 7:40 p.m. |
+ 1 |
for Comment
Tinus_Trotyl: Hi, don't panic :-) I don't know what for you want to print a string like that, the string behind th...
|
Nov. 21, 2017, 7:40 p.m. |
+ 1 |
for Comment
Tinus_Trotyl: Hi, Consider `something.remove(name)` is a "statement" (its operation stands on its own, there is no...
|
Nov. 21, 2017, 7:37 p.m. |
+ 1 |
for Comment
dominiquel302: Thanks Tinus Working fine. As you guess I am a Python learner for now. There is plenty of documentat...
|
Nov. 21, 2017, 7:37 p.m. |
+ 1 |
for Comment
Tinus_Trotyl: Read carefully, it says : "Output: Int or **None**", not 'null'. Succes ! Ps. None (with capital N) ...
|
Nov. 18, 2017, 6:22 p.m. |
+ 1 |
for Comment
veky: Since `only_upper` is local, / only_upper += c \ is equivalent to < return only_upper + c > \ return...
|
Nov. 18, 2017, 6:06 p.m. |
+ 1 |
for Comment
Shantanu_Kamath: Here we are looking for the second instance of the symbol supplied in the text to search in. As in t...
|
Nov. 18, 2017, 6:06 p.m. |
+ 1 |
for Comment
aquazul: what do you think 'second' means? what is the right answer for second_index("axaya", "a") and what d...
|
Nov. 18, 2017, 6:06 p.m. |
+ 1 |
for Comment
Sim0000: Since there is only one blank in "hi mayor", you must return None.
|
Nov. 14, 2017, 10:40 p.m. |
+ 1 |
for Comment
oduvan: fixed, thanks :)
|
Nov. 13, 2017, 8:16 p.m. |
+ 1 |
for Comment
oduvan: Thanks for letting me know. I'll check why is it happen
|
Nov. 13, 2017, 8:16 p.m. |
+ 1 |
for Comment
oduvan: should be fixed now. Please check
|
Nov. 13, 2017, 8:16 p.m. |
+ 1 |
for Comment
Mez: Thanks, it works now.
|
Nov. 10, 2017, 8:34 p.m. |
+ 1 |
for Comment
flpo: Hi, you get TypeError in the following code (line 21): float(x1) - x0 because type(x0) == str (the o...
|
Nov. 10, 2017, 8:28 p.m. |
+ 1 |
for Comment
flpo: ... else not number % 5: ^ SyntaxError: invalid syntax Hi, as you can see, your code has a syntax er...
|
Nov. 10, 2017, 8:19 p.m. |
+ 1 |
for Comment
Sim0000: I add tag. In line 23 and line 27, you need return before func(a), say, **return func(a)**. If not s...
|
Nov. 8, 2017, 9:35 p.m. |
+ 1 |
for Comment
Sim0000: Using code tag (), you can display the source code like this. number=int(input("Please enter a posit...
|
Nov. 8, 2017, 9:31 p.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: Python uses [stable](https://en.wikipedia.org/wiki/Sorting_algorithm#Stability) sort algorithm, **in...
|
Nov. 7, 2017, 7:34 p.m. |
+ 1 |
for Comment
Sim0000: I try your code. 1. You need to initialize your variable a, b, and c. For example, a = b = c = False...
|
Nov. 6, 2017, 7:52 p.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: You check **count** at the end, so you check only the last words. But what about string **'A B C 1'*...
|
Nov. 2, 2017, 8:02 p.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: Arguments can be of any type, not only integer or string. **key** is important, use it for compariso...
|
Nov. 1, 2017, 7:18 p.m. |
+ 1 |
for Comment
oduvan: Because for your solution checkio("Hello World hello") == False but should be `True` I think you sho...
|
Nov. 1, 2017, 7:12 p.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: Hi! You have to define function **checkio**, that takes one string argument and **return**s the answ...
|
Nov. 1, 2017, 7:11 p.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: Hi! The problem is in line 8, rounding can result in wrong **position**. You should cut the value in...
|
Oct. 30, 2017, 7:44 p.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: The only supported version for now is Py3.
|
Oct. 27, 2017, 6:34 p.m. |
+ 1 |
for Comment
Sim0000: Read task description carefully. You need difference of max value and min value.
|
Oct. 18, 2017, 7:57 p.m. |
+ 1 |
for Comment
m-amano: Thanks for your advice!
|
Oct. 16, 2017, 5:49 p.m. |
+ 1 |
for Comment
john8505: Some advice from someone who only started learning Python in past 1-2 months as well, but has other ...
|
Oct. 16, 2017, 5:49 p.m. |
+ 1 |
for Comment
kman12300: Ok thanks for your input.i did codecademy a while back but never really felt like I actually could a...
|
Oct. 14, 2017, 6:56 p.m. |
+ 1 |
for Comment
ahab_orr: Hi I accessed the page from another computer, and ran the check there and the problem disappeared - ...
|
Oct. 14, 2017, 6:54 p.m. |
+ 1 |
for Comment
veky: Its full name is `list.append`. Whoever taught you, either didn't speak about different datatypes at...
|
Oct. 12, 2017, 9:46 p.m. |
+ 1 |
for Comment
Vasily__Chibilyaev: oh, I almost forgot this. Thanks for pointing out!
|
Oct. 12, 2017, 8:56 p.m. |
+ 1 |
for Comment
Vasily__Chibilyaev: Function which takes *args as a parameter is supposed to work with arbitrary number of parameters, i...
|
Oct. 11, 2017, 8:21 p.m. |
+ 1 |
for Comment
oduvan: syntax error
|
Oct. 9, 2017, 7:37 p.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: As you can read, #These "asserts" using only for self-checking and not necessary for auto-testing Au...
|
Oct. 6, 2017, 8:53 p.m. |
+ 1 |
for Comment
tom-tom_f993b3abc4814d4cb5476e: Hi! Please, read [The Most Common Mistakes](https://py.checkio.org/forum/post/3269/6-the-most-common...
|
Oct. 6, 2017, 8:49 p.m. |
+ 1 |
for Comment
viscoustorque: Ah! I see now :-) I had to re-read about the range(start, end). Thankyou very much DahliaSR for youe...
|
Oct. 2, 2017, 7:27 p.m. |
+ 1 |
for Comment
veky: I think we have reached a fixpoint. I tried to explain to you that people might have different style...
|
Sept. 23, 2017, 7:29 p.m. |
+ 1 |
for Comment
Tinus_Trotyl: What a coincident. . . I don't understand your question either.
|
Sept. 22, 2017, 7:11 p.m. |
+ 1 |
for Comment
veky: ... and demons will fly out of my nose if args is an empty list, too. Simply because args cannot be ...
|
Sept. 21, 2017, 9:27 p.m. |
+ 1 |
for Comment
zongareight: Yes, really! Thank you very mach.
|
Sept. 20, 2017, 7:22 p.m. |
+ 1 |
for Comment
Tinus_Trotyl: Hi, Since "**H**ow" in <**text**> has a capital "**H**" and "**h**ow" in <**words**> is lower cased,...
|