Why should I use logical partition rather than primary?
def dual_boot(x):
for x in dual_boot():
if x is <= 4:
print("select primary partition ")
else:
print("select logical parition")
dual_boot(4)
I have just written this code because my question was not according to Ubuntu standards.
Ignore the code. Thanks