Iesals

Some Modified Example

May 25th, 2013
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.55 KB | None | 0 0
  1. number = '5'
  2. J = 'Jensen'
  3. M = 'Maria'
  4. vehicle = 'bus'
  5. destination = 'nearby city'
  6.  
  7. print('It seems that on the {}th of June {} traveled by {} to a {} in order to meet {}.' .format(number, M, vehicle, destination, J))
  8. print('Although, it seems that, upon the arrival of {}, {} was gone.' .format(M, J))    # A small test based on a given example
  9.  
  10. # The output must be as layed out below
  11. # It seems that on the 5th of June Maria traveled by bus to a nearby city in order to meet Jensen.
  12. # Although, it seems that, upon the arrival of Maria, Jensen was gone.
Advertisement
Add Comment
Please, Sign In to add comment