
Some Modified Example
By:
Iesals on
May 25th, 2013 | syntax:
Python | size: 0.55 KB | hits: 32 | expires: Never
number = '5'
J = 'Jensen'
M = 'Maria'
vehicle = 'bus'
destination = 'nearby city'
print('It seems that on the {}th of June {} traveled by {} to a {} in order to meet {}.' .format(number, M, vehicle, destination, J))
print('Although, it seems that, upon the arrival of {}, {} was gone.' .format(M, J)) # A small test based on a given example
# The output must be as layed out below
# It seems that on the 5th of June Maria traveled by bus to a nearby city in order to meet Jensen.
# Although, it seems that, upon the arrival of Maria, Jensen was gone.