Skip to content

Instantly share code, notes, and snippets.

View AbhijithMallya's full-sized avatar
🐘
Ding Dong

ABHIJITH MALLYA AbhijithMallya

🐘
Ding Dong
View GitHub Profile
@AbhijithMallya
AbhijithMallya / fcfs.py
Last active August 24, 2022 18:22
Implementing FCFS in Python
burst_time = []
wait_time = []
turn_around_time = []
n = int(input(("Enter the total number of process :: ")))
print("Enter the Burst Time\n")
for i in range(n) :
item = int(input("P["+(i+1)+"] = "))
burst_time.append(item)