From 0a9462897aac63871db7151a4cf574edd66c22e8 Mon Sep 17 00:00:00 2001 From: TianTianZaoChen <2633941738@qq.com> Date: Tue, 4 Feb 2020 18:12:00 +0800 Subject: [PATCH] Update ex39.py --- Python3/ex39.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python3/ex39.py b/Python3/ex39.py index 88c851a..815ac23 100755 --- a/Python3/ex39.py +++ b/Python3/ex39.py @@ -57,4 +57,4 @@ # get a city with a default value city = cities.get("TX", 'Does Not Exist') -print("The city for the state 'TX' is %s" % city) \ No newline at end of file +print(f"The city for the state 'TX' is {city}")