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 f60cbe0

Browse files
committed
Import documents Bobo 2021
1 parent 9fd9c07 commit f60cbe0

8 files changed

+2927
-0
lines changed
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 1,
6+
"id": "opposite-trouble",
7+
"metadata": {},
8+
"outputs": [],
9+
"source": [
10+
"from mots import *"
11+
]
12+
},
13+
{
14+
"cell_type": "code",
15+
"execution_count": 2,
16+
"id": "sudden-spring",
17+
"metadata": {},
18+
"outputs": [],
19+
"source": [
20+
"L = [\"a\", \"ab\"]"
21+
]
22+
},
23+
{
24+
"cell_type": "code",
25+
"execution_count": 3,
26+
"id": "proud-sacramento",
27+
"metadata": {},
28+
"outputs": [],
29+
"source": [
30+
"def factorisations(u, L):\n",
31+
" \"\"\"\n",
32+
" Renvoie les factorisations du mot u par rapport au langage L\n",
33+
" \"\"\""
34+
]
35+
},
36+
{
37+
"cell_type": "code",
38+
"execution_count": null,
39+
"id": "multiple-giant",
40+
"metadata": {},
41+
"outputs": [],
42+
"source": [
43+
"factorisations(\"aaba\", [\"a\", \"ab\"]) == [[ \"a\", \"ab\", \"a\" ]] "
44+
]
45+
},
46+
{
47+
"cell_type": "code",
48+
"execution_count": null,
49+
"id": "noted-module",
50+
"metadata": {},
51+
"outputs": [],
52+
"source": [
53+
"factorisations(\"aaba\", [\"a\", \"ab\", \"ba\"]) == [[ \"a\", \"ab\", \"a\" ], [\"a\", \"a\",\"ba\"]]"
54+
]
55+
}
56+
],
57+
"metadata": {
58+
"kernelspec": {
59+
"display_name": "Python 3",
60+
"language": "python",
61+
"name": "python3"
62+
},
63+
"language_info": {
64+
"codemirror_mode": {
65+
"name": "ipython",
66+
"version": 3
67+
},
68+
"file_extension": ".py",
69+
"mimetype": "text/x-python",
70+
"name": "python",
71+
"nbconvert_exporter": "python",
72+
"pygments_lexer": "ipython3",
73+
"version": "3.9.1"
74+
}
75+
},
76+
"nbformat": 4,
77+
"nbformat_minor": 5
78+
}

0 commit comments

Comments
(0)

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