Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 043f9dd

Browse files
Update Threads.MD
1 parent 3a03611 commit 043f9dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Lecture_14/ClassNotes/Threads.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ thread2.join()
5151
print("Done!")
5252
```
5353

54-
## **Explanation of the Code**
54+
### **Explanation of the Code**
5555
* **Importing Modules:** We import the threading module to work with threads and time to simulate delays.
5656
* **Defining Functions:** Two functions, print_numbers and print_letters, are defined. Each prints a sequence of numbers or letters with a delay to mimic a time-consuming operation.
5757
* **Creating Threads:** We create two threads, `thread1` and `thread2`, specifying the target function for each.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /