Advertisement
Felanpro

Serious with strings!

Mar 2nd, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. var1 = 'David'
  2. var2 = 12
  3. var3 = 3.11
  4.  
  5. print(var1, var2, var3, sep='-')
  6.  
  7. #sep short for seperator. The sep variable contains a subtraction symbol which will be between all the other variables in the print() function!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement