Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

digit

  1. voldyy

    Python Digit into number

    Hi, how can i change this code to work for two-digit numbers or three-digit number? For now only work for single digit numbers, tried to change algorthm but didnt work. def to_number(digits): result=digits[0] for el in digits[1:]: result=result*10 result=result + el...
  2. L0L2G00D

    JavaScript Help with a problem?

    is there any way to figure out if an answer contains a part of pi? let fakePi = 3 fakePi.isPi = true let fakePi = 3.1 fakePi.isPi = true let fakePi = 3.14 fakePi.isPi = true let fakePi = 3.142 fakePi.isPi = false let fakePi = 3.141 fakePi.isPi = true
Back
Top Bottom