Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 911 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 911 Bytes

Py3_Stuff

Hi, GitHub, it's my repository for Python3 small scripts

Generators: - Markov's chain generating the chain of different words from book.txt To test with your own text, change book.txt After start the programm you should wait while console will write "Done" It means, that you can type "w" if you want generate some text Max lenght of sentence is 20 words.

Polynom: - Generating polynom with two different ways(Pascal's triangle, method of unknown coefficients) Example - F(01001011):

 F = z + yz + x

Recurrence sequence: - You can calculate n-number of different sequence. You must enter coefficients of variable, first numbers of sequence and number Example - Fibonacci sequence: F(n) = F(n-1) + F(n-2) (coefficients are 1 and 1) F(0) = 0, F(1) = 1 (first numbers are 0 and 1) F(1000) (n-number = 1000)