python
Dashboard
My Repos
Compilers
Python Online
Node JS Online
Golang Online
codepy
Login
My Repos
Sign Out
Online Python Interpreter
Stop
Run
rows = int(input("dakhal ra9am : ")) colums = int(input("dakhal ra9am 2 :")) for i in range(1,rows + 1): for j in range(1,colums + 1): if(i == 1 or i ==rows or j==1 or j==colums): print('1',end = ' ') else: print('0',end = '') print()
Share this code with others
Public
Clear
My Repos
Repo
Lang
Login
Register
Login
Create a free account. No Credit card info required.
I agree with the Codepy
Term of Service
Sign Up