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!

Search results

  1. skifli

    Yesterday was a busy day for me.

    Yesterday was a busy day for me.
  2. skifli

    To you too!(although for me it was yesterday)

    To you too!(although for me it was yesterday)
  3. skifli

    Fun activity Say hello... in a coding language!

    print("Hello lackoSK")
  4. skifli

    Python I'm trying to add a square root feature to a calculator I made, but I keep getting errors.

    You could also square numbers with the exponent operator (**): print(number1**2) #Tells it to get the square root of 'number1'.
  5. skifli

    Python Convert list element into variable

    This code should work because it takes the first variable stored in the list(which in Python is number 0) and assigns it to a new integer value.
  6. skifli

    Python Easy Python Help

    Hi @willp4rry, The reason you always get the same random number is because the code only generates it once since it is not in a repeating loop. To fix this put it at the start of the while loop. Also the reason why it always outputs "ByeBye" is because it is told to do that every time the user...
  7. skifli

    Python Having issues making a script that says your name.

    You could also replace the '+' in between 'Hello' and 'name' with a comma: name = input("What's your name?") print("Hello" , name + "!")
Back
Top Bottom