Skip to content

Instantly share code, notes, and snippets.

@gncll
Created August 13, 2022 05:30
Show Gist options
  • Save gncll/ae014805f46f30abda0bcc1b3dd5c8f7 to your computer and use it in GitHub Desktop.
Save gncll/ae014805f46f30abda0bcc1b3dd5c8f7 to your computer and use it in GitHub Desktop.
import numpy as np
number = input()
first = number.split()
second = [int(c) for c in first]
third = np.array(second)
fourth = third.reshape(3,3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment