Advertisement
wagner-cipriano

My first python code

Oct 14th, 2016
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.32 KB | None | 0 0
  1. #My first python code
  2. from __future__ import print_function      #Compatibilidade func print python 2/3
  3. from sys import version_info
  4. print ('\n', '--- ' * 7);
  5. print ('Bem vindo ao mundo python.')
  6. print('Voce esta na versao:', '.'.join(str(x) for x in version_info[0:3]))
  7. print ('Vamos em frente!\n', '--- ' * 7, '\n');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement