13
edits
Changes
→Getting Started With Jupyter
* To run the cell and to insert a new cell we just use Shift + Enter
* running the cell is by using Ctrl + Enter
'''Some Sample Codes'''
''' 1. Printing a value
msg = "Hello World!"
print(msg)
''' 2. Finding type of a value
type(1.5)
''' 3. Making an array
my_list = [1,2,3,4,5]
my_list
''' 4. Size of an array
len(my_list)
''' 5. Object
dictionary = {"name":"Matt","age":"21"}
print(dictionary['name'])
''' 6. for loop
for counter in[1,2,3,4]:
print(counter)
== Installing PyTorch ==