Welcome to Jupyter!

In [45]:
noun2 = [("a dog","a hog"), ("a cat", "a bat"), ("a fan", "a ban"),("parent", "student"), ("member", "ember"),("table","fable"),("woman","human")]
adjectives2 = ["Lovely", "Distinct", "Precise", "Complete", "Intense",  "Enough", "Quiet"]
verb2 = ["diet", "renew", "listed", "embrace", "suspend", "neglect", "contrast", "desert", "export", "present", "produce", "answer", "believe"]
preposition2 = ["into", "above", "below", "before", "beside", "onto", "without"]
In [55]:
import random
words = [adjectives2, noun2,verb2,preposition2, noun2]

line = ""
for k in range(3):
    for j in range(4):
        for i in range(len(words)):
            if i == 1:
                line+=words[i][random.randint(0,len(words[i])-1)][random.randint(0,1)]
                line +=" "
            elif i==4 and j ==0:
                a = random.randint(0,len(words[i])-1)
                line+=words[i][a][0]
                line +=" "
            elif i==4 and j ==2:
                line+=words[i][a][1]
                line +=" "
            elif i==4 and j ==1:
                b = random.randint(0,len(words[i])-1)
                line+=words[i][b][0]
                line +=" "
            elif i==4 and j ==3:
                line+=words[i][b][1]
                line +=" "
            else:
                line+=words[i][random.randint(0,len(words[i])-1)]
                line +=" "
        print(line)
        line = ""
    print("\n")
    
for d in range(2):
    for f in range(len(words)):
        if f == 1:
            line+=words[f][random.randint(0,len(words[f])-1)][random.randint(0,1)]
            line +=" "
        elif f==4 and d ==0:
            c = random.randint(0,len(words[f])-1)
            line+=words[f][c][0]
            line +=" "
        elif f==4 and d ==1:
            line+=words[i][c][1]
            line +=" "
        else:
            line+=words[f][random.randint(0,len(words[f])-1)]
            line +=" "
    print(line)
    line = ""
Distinct table export into a dog 
Complete a bat desert beside a cat 
Precise ember believe into a hog 
Precise a ban renew above a bat 


Complete student listed beside a cat 
Enough a cat embrace above table 
Lovely parent neglect below a bat 
Distinct woman present onto fable 


Distinct a fan listed above table 
Enough a fan present below woman 
Quiet member contrast onto fable 
Intense a cat desert without human 


Complete a ban export without member 
Lovely woman export before ember 

This repo contains an introduction to Jupyter and IPython.

Outline of some basics:

You can also get this tutorial and run it on your laptop:

git clone https://github.com/ipython/ipython-in-depth

Install IPython and Jupyter:

with conda:

conda install ipython jupyter

with pip:

# first, always upgrade pip!
pip install --upgrade pip
pip install --upgrade ipython jupyter

Start the notebook in the tutorial directory:

cd ipython-in-depth
jupyter notebook