From 718a4ea4fefd8233192a6fe0fbd9aaab5d779357 Mon Sep 17 00:00:00 2001 From: Poonam Kaur <36960022+poonam5248@users.noreply.github.com> Date: Tue, 15 Oct 2019 10:15:45 +0530 Subject: [PATCH] Update 2_thread_print_number.py --- class11/2_thread_print_number.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/class11/2_thread_print_number.py b/class11/2_thread_print_number.py index 9e3654a..bb782ca 100644 --- a/class11/2_thread_print_number.py +++ b/class11/2_thread_print_number.py @@ -1,4 +1,4 @@ -#Make a thread that prints numbers from 1-10, waits for 1 sec between +#Make a thread that prints numbers from 1-10, waits for 1 sec between....... import threading from threading import Thread @@ -9,4 +9,4 @@ def display(): print(x) time.sleep(1) t=Thread(target=display) -t.start() \ No newline at end of file +t.start()