Share your repls and programming experiences

← Back to all posts
Da ULTIMATE LOVE Calculator
Bookie0 (1524)

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

Commentshotnewtop
BobTheTomatoPie (681)

Dang it there is a small chance

CodingCactus (2087)

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 (1524)

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 (2087)

@Bookie0 basically:

def slowPrint(text):
  for x in text:
    print(x, end='')
    sys.stdout.flush()
    sleep(0.1)

  print ("")

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

CodingCactus (2087)

@adityaru dunno that's what they have

Bookie0 (1524)

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

DannyIsCoding (394)

Yay! I love myself! Woo! XD

Bookie0 (1524)

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

DannyIsCoding (394)

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