This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by lizzies6652
about 9 years

my code says that some of the characters dont excite

name = input (“what is your name”) day = input (“what day where you born”) month = input (“what month where you born”) year = input (“ what year where you born”) print (“ hello” ,name, “your birthday is” ,day, “/ “ ,month, “/ “ ,year,)

import datetime date = datetime.date.today() birthday = datetime.date(day, month, year) diff = birthday – date day= diff.days month= -day print (“Today is your “,month,”th day”)

Answer 54f8d02886f5522fc80007db

1 vote

Permalink

im not excited either it’s ok

points
Submitted by gudrin
about 9 years

Answer 54ff888e95e378e10300088f

1 vote

Permalink

What I would do is:

name = raw_input(“what is your name”) day = raw_input(“When u born”) month = raw_input(“month”) year = raw_input(“year”)

personality = “Hello, %s, your birthday is %s/%s/%s.” % (name, day, month, year) print personality

And the rest I’m not sure.

points
Submitted by Raheel Qamar
about 9 years