
import datetime

name = "Devo"

release_date = datetime.date(2012, 12, 13)

version = (1, 0, 0)

version_string = ".".join(str(x) for x in version)

identifier = "com.iogopro.devo"

copyright = u"Copyright © 2010-2012 Luke McCarthy"

developer = "Developer: Luke McCarthy <luke@iogopro.co.uk>"

company_name = "Iogopro Software"

url = "http://iogopro.com/devo"


import datetime

name = "Devo"

release_date = datetime.date(2012, 12, 13)

version = (1, 0, 0)

version_string = ".".join(str(x) for x in (version if version[2] != 0 else version[:2]))

identifier = "com.iogopro.devo"

copyright = u"Copyright © 2010-2012 Luke McCarthy"

developer = "Developer: Luke McCarthy <luke@iogopro.co.uk>"

company_name = "Iogopro Software"

url = "http://iogopro.com/devo"

Remove last digit of version number if it's 0.
Remove last digit of version number if it's 0.

  
  import datetime
  
  name = "Devo"
  
  release_date = datetime.date(2012, 12, 13)
  
  version = (1, 0, 0)
  
- version_string = ".".join(str(x) for x in version)
+ version_string = ".".join(str(x) for x in (version if version[2] != 0 else version[:2]))
  
  identifier = "com.iogopro.devo"
  
  copyright = u"Copyright © 2010-2012 Luke McCarthy"
  
  developer = "Developer: Luke McCarthy <luke@iogopro.co.uk>"
  
  company_name = "Iogopro Software"
  
  url = "http://iogopro.com/devo"
  
Remove last digit of version number if it's 0.
## Code Before:

import datetime

name = "Devo"

release_date = datetime.date(2012, 12, 13)

version = (1, 0, 0)

version_string = ".".join(str(x) for x in version)

identifier = "com.iogopro.devo"

copyright = u"Copyright © 2010-2012 Luke McCarthy"

developer = "Developer: Luke McCarthy <luke@iogopro.co.uk>"

company_name = "Iogopro Software"

url = "http://iogopro.com/devo"

## Instruction:
Remove last digit of version number if it's 0.
## Code After:

import datetime

name = "Devo"

release_date = datetime.date(2012, 12, 13)

version = (1, 0, 0)

version_string = ".".join(str(x) for x in (version if version[2] != 0 else version[:2]))

identifier = "com.iogopro.devo"

copyright = u"Copyright © 2010-2012 Luke McCarthy"

developer = "Developer: Luke McCarthy <luke@iogopro.co.uk>"

company_name = "Iogopro Software"

url = "http://iogopro.com/devo"
