Skip to content
Open

Sub2 #12

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions jee1
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import numpy as np

# Create an array

array = np.array([[1, 2, 3], [4, 5, 6]])

# 1. Type of array

array_type = type(array)

print("Type of array:", array_type)

# 2. Shape of array

array_shape = array.shape

print("Shape of array:", array_shape)

# 3. Type of elements in array

element_type = array.dtype

print("Type of elements in array:", element_type)
10 changes: 10 additions & 0 deletions jeev2
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#include<stdio.h>
#include<conio.h>
void main()
{
Int a=10, b=10, c;
clrscr();
c=a+b;
printf("C=%d", c)
getch();
}