I had been having issues with python 3.7 for quite some time about very pointless indentations, so I decided to get back to 3.6, specifically repl.it Python 3.6.1, and as I mentioned, the errors are for no good reason whatsoever as far as I can tell, the code is as written below:

```
from random import randint

import functools
printf = functools.partial(print, end=" ")

defNuc = ['C','A','T','G']
def opNuc():

def create():
    nuc = [0]
    nucop = [0]
    length = randint(11,16)
    print (length - 1)
    for i in range(1,length):
        part = randint(1,4)
        for a in range(1,4)
        if part == a:
        nuc = defNuc[a]
        nucOp = defNuc[-a]
        if i != length - 1:
            printf(nuc[i],i,"-")
        else:
            print(nuc[i],i)
    for i in range (1,length):
        if i != length - 1:
            printf(nucOp[i],"-")
        else:
            print(nucop[i])

```

The error is at line 9, at 

```
def create():

```

and as for the reason of error, it just says

```
expected an indented block

```

Edit:
This was completely my stupidity, don't take the post seriously, will be deleted in 10 minutes.