+ 1

How to import data format to my code from Python library ?

I want to create a code where the first statement needs a input in data format (mm/dd/year). How would I do that? Thanks for your help, girlsn'guys

2nd Oct 2017, 8:03 AM
Arian - avatar
1 Answer
+ 11
You can take a regular input() and convert the string to your desired data type. Take a look at my example here: https://code.sololearn.com/cqny043e5OjS/?ref=app
2nd Oct 2017, 8:15 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar