0
Dearcoderzzz help me how to trigger an operation after a delay (eg: 5 sec) in py?
For example Consider a simple addition of 2 variables 'a' and 'b' c=a+b Print(c) If we enter the values of a and b, there won't be a micro second delay to print the sum (c) •••••••••••••••••••• If I need a delay to print 'c' What should I do?
2 odpowiedzi
+ 1
c=a+b
import time
time.sleep(5)
print(c)
0
Thanku abhay
Can I visualize the countdown running on run time?