Facebook
From Crimson Bird, 2 Years ago, written in Python.
This paste is a reply to Untitled from Round Lemur - view diff
Embed
Download Paste or View Raw
Hits: 101
  1. ef print_n_to_x(n):
  2. ...     for x in range(1, 11):
  3. ...             print(n+x)
  4.  
  5. def print_n_to_x(n,t):
  6. ...     for x in range(1, t+1):
  7. ...             print(n+x)
  8.  
  9.  
  10.  
  11. def print_word_by_sep(word, sep):
  12. ...     for x in word:
  13. ...             print(x, end=sep)