diff --git a/HariprasadReddysir.html b/HariprasadReddysir.html new file mode 100644 index 0000000..4a15f08 --- /dev/null +++ b/HariprasadReddysir.html @@ -0,0 +1,13 @@ + + + + + + Document + + +

+ hello hariprasadreddy sir ! +

+ + \ No newline at end of file diff --git a/add.py b/add.py index 79aff70..ede652b 100644 --- a/add.py +++ b/add.py @@ -1,5 +1,7 @@ a=8 b=4 -d=7 +d=9 c=a+b=d print c + + diff --git a/countdowntimer.py b/countdowntimer.py new file mode 100644 index 0000000..f5d9efd --- /dev/null +++ b/countdowntimer.py @@ -0,0 +1,13 @@ +import time + +def countdown(time_sec): + while time_sec: + mins, secs = divmod(time_sec, 60) + timeformat = '{:02d}:{:02d}'.format(mins, secs) + print(timeformat, end='\r') + time.sleep(1) + time_sec -= 1 + + print("stops") + +countdown(5)