CreatingAThread
CreatingAThread
Using function
for i in range(65,69):
print ( i )
• Now we will create a thread for this we have to import threading module
• It will create a thread using the function display to run we use t.start()
• If you want them to execute slowly. Then you can import time and use
sleep
sleep( )
With class