#! /usr/bin/env python | |
from stat import * | |
name=john | |
name="john" | |
how_many=2 | |
how_many=2 | |
cost=10.5 | |
cost=10.5 | |
printf "%s purchased %d apples, which cost him %f dollars.\n" $name $how_many $cost | |
print( "%s purchased %d apples, which cost him %f dollars.\n" % (name, how_many, cost) ) | |
ÿ |