From ab23f2c94018cd0554d0f648fe63cf1ed6b1893a Mon Sep 17 00:00:00 2001 From: coolreader18 <33094578+coolreader18@users.noreply.github.com> Date: Sat, 22 Dec 2018 23:33:59 -0600 Subject: [PATCH] Use str.format for the demo --- wasm/demo/src/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wasm/demo/src/index.html b/wasm/demo/src/index.html index f880a930e..57c7f9911 100644 --- a/wasm/demo/src/index.html +++ b/wasm/demo/src/index.html @@ -19,7 +19,7 @@ n2 = 1 count = 0 until = 10 -print("These are the first " + str(until) + " number in a Fibonacci sequence:") +print("These are the first {} numbers in a Fibonacci sequence:".format(until)) while count < until: print(n1)