18 Aug 2013, 14:35
Generic-user-small

Dennis Daniels (3 posts)

date = input(‘Enter a date in the format DD MM YYYY: ‘) Enter a date in the format DD MM YYYY: 24 Feb 2013 ‘Jan’ in date False date = input(‘Enter a date in the format DD MM YYYY: ‘) Enter a date in the format DD MM YYYY: 03 Jan 2002 ‘Jan’ in date

Shouldn’t the date format be DD MMM YYYY?

18 Aug 2013, 14:38
Generic-user-small

Dennis Daniels (3 posts)

same page The in operator produces True exactly when the first string appears in the second string. This is case sensitive: »> ‘a’ in ‘abc’ True »> ‘A’ in ‘abc’ True

I tried this and ‘A’ in ‘abc’ returns False

‘a’ in ‘abc’ True

‘A’ in ‘abc’ False

18 Aug 2013, 15:39
Paul_mugshot_pragsmall

Paul Gries (44 posts)

Thanks Dennis! Both of those have been addressed.

20 Aug 2013, 08:40
Generic-user-small

Dennis Daniels (3 posts)

You are welcome.

By the way, enjoying your coursera class. I would recommend you do a little auto-biographical piece… est. your expertise kind of thing… I didn’t see anything like that in the video listings or intro pieces. If I missed it, please post URL. thanks Dennis

20 Aug 2013, 17:28
Paul_mugshot_pragsmall

Paul Gries (44 posts)

Do you mean the About Us page on the Coursera website? The link is on the left, beneath Course Logisitics.

I’m glad you’re enjoying the class!

07 Sep 2013, 03:03
Generic-user-small

Shelagh Evanson (1 post)

P. 94 - last line, “ph 8.0 is acidic”: shouldn’t this be basic? also, preceding line has same term: “print ‘ph is acidic’”. I too am enjoying the course.

  You must be logged in to comment