#πŸ”’ I don't understand where is the problem.

26 messages Β· Page 1 of 1 (latest)

dark pewter
#

please don't judge meπŸ™

plucky prismBOT
#

@dark pewter

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

dark pewter
#

i am new and used to work in pycharm

brave warren
#

it calls it for u when u test it

brave warren
rapid flax
#

!e

x = 23
print(bin(x))
print(x.bit_count())
plucky prismBOT
rapid flax
#

Or even like this:

#

!e

a = 23
print(a)
print(bin(a).count('1'))
plucky prismBOT
brave warren
#

kinda defeats purpose of codewars practice as a beginner to just use stuff that does everything for u

torn mist
#

not if you want to learn the language built ins

rapid flax
#

OP never mentioned whatever war you are talking about.

brave warren
#

p famous website for coding practice

torn mist
#

it's an epic war of attrition against interviewers

brave warren
torn mist
brave warren
#

ye because input isnt given throught stdin, its given throught the function call which happens automatically like i already mentioned

plucky prismBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.