Python program to convert String to K sized Numerical Rows
Given a string of alphabets, convert it to K sized numerical rows, which contain the number being the positional value of characters. Input : test_str = 'geeksforgeek', K = 4 Output : [[6, 4, 4, 10], [18, 5, 14, 17], [6, 4, 4, 10]] Explanation : g is at 6th position in alphabet hence gâ 6 and the st