2021年3月3日星期三

program to say happy birthday to a friend but does not print output

I wanted to make my friend's birthday a little special, but when I called bb() and after typing in the inputs, the output of the code does not print even though I already created a place holder for the input function.

def bb():  bday = ''  bday = input("Is Today Your Birthday ?"(Yes,No))  if bday == Yes:      print("          __ __  ____  ____   ___                                                      |  |  ||    \|    \ |   \                                                     |  |  ||  o  )  o  )|    \                                                    |  _  ||   _/|     ||  D  |                                                   |  |  ||  |  |  O  ||     |                                                   |  |  ||  |  |     ||     |                                                   |__|__||__|  |_____||_____|                                                                                                    __  _  __ __   ____  ____   __ __                   |  |/ ]|  |  | /    ||    \ |  |  |                  |  ' / |  |  ||  o  ||  _  ||  |  |                  |    \ |  _  ||     ||  |  ||  _  |                  |     ||  |  ||  _  ||  |  ||  |  |                  |  .  ||  |  ||  |  ||  |  ||  |  |                  |__|\_||__|__||__|__||__|__||__|__|                                                      ")  
https://stackoverflow.com/questions/66468016/program-to-say-happy-birthday-to-a-friend-but-does-not-print-output March 04, 2021 at 11:09AM

没有评论:

发表评论