Use f-strings to simplify vc list construction in hello_world.py
Change-Id: I80f6ea7ba0be0ffc9dd2e982450b5644c9a5d7ad
diff --git a/examples/hello_world.py b/examples/hello_world.py
index 22af0b9..f660a6d 100755
--- a/examples/hello_world.py
+++ b/examples/hello_world.py
@@ -8,7 +8,7 @@
kcon = KorAPConnection(verbose=True)
-vcs = ["textType=/Zeit.*/ & pubPlaceKey=" + c + " & pubDate in " + str(y) for c in COUNTRIES for y in YEARS]
+vcs = [f"textType=/Zeit.*/ & pubPlaceKey={c} & pubDate in {y}" for c in COUNTRIES for y in YEARS]
df = KorAPClient.ipm(kcon.frequencyQuery(QUERY, vcs))
print(df)