Skip to content

Commit 9377958

Browse files
authored
Merge pull request gennad#10 from sai-krishna-msk/patch-1
fixed error in the print statement
2 parents 1e7a59e + 231a06a commit 9377958

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ def create_pizza(pizza_type):
2929

3030
if __name__ == '__main__':
3131
for pizza_type in ('HamMushroom', 'Deluxe', 'Hawaiian'):
32-
print('Price of {0} is {1}'.format(pizza_type, PizzaFactory.create_pizza(pizza_type).get_price())
32+
print('Price of {0} is {1}'.format(pizza_type, PizzaFactory.create_pizza(pizza_type).get_price()))
3333

0 commit comments

Comments
 (0)