Skip to content

Commit 5ccdff7

Browse files
committed
Update ch04 exercise copy
1 parent 730c3de commit 5ccdff7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ch04-strings-and-string-methods/7-streamline-your-print-statements.py ch04-strings-and-string-methods/7-streamline-your-prints.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# 4.7 - Streamline Your Print Statements
1+
# 4.7 - Streamline Your Prints
22
# Solutions to review exercies
33

44

55
# Exercise 1
66
weight = 0.2
77
animal = "newt"
88

9-
# Concatenate a number and a string in one print statement
9+
# Concatenate a number and a string in one print call
1010
print(str(weight) + " kg is the weight of the " + animal + ".")
1111

1212

0 commit comments

Comments
 (0)