Share your repls and programming experiences

← Back to all posts
Bookie0 (5938)

yep, this is the website you secretly go to every day, to check if the one you love loves you back.
check out this cool calculator and find out what you want, to know!

thanks for comments and tips
and remember, upvoting is caring!!! :) :D :P

CodingCactus (4138)

you keep repeating in the slow print thing, make a function with it in, it'll reduce the program by like 40 lines or something

Bookie0 (5938)

Hi,@CodingCactus yeah I know it’s very tiring, but unfortunately I dont know how to do a function with the slow Print
Maybe if you want you could show me the code?

Thanks so much!

CodingCactus (4138)

@Bookie0 basically:

def slowPrint(text):
  for x in text:
    print(x, end='')

  print ("")

then to use, instead of print, write slowPrint("blah")

CodingCactus (4138)

@adityaru dunno that's what they have

Bookie0 (5938)

Oh i get it now! Thank you so much for helping me!!! @CodingCactus

DannyIsCoding (694)

Yay! I love myself! Woo! XD

Bookie0 (5938)

thanks for visiting this! does it merit a upvote? also feel free to let me know if you have any suggestions/comments/tips!!

thanks so much :D

DannyIsCoding (694)

@Bookie0 I like that you took the 8Ball code and put it here too!