Professional Documents
Culture Documents
Summer Training Report: Submitted By:-NAME: - Naresh Kadyan ROLL NO.: - 18001002911 Branch:-Electrical Eng. (3 Year)
Summer Training Report: Submitted By:-NAME: - Naresh Kadyan ROLL NO.: - 18001002911 Branch:-Electrical Eng. (3 Year)
PYTHON
Week 2 (28/May/2020-03/June2020)
SUBMITTED BY:-
Python is completely object oriented, and not "statically typed". You do not need
to declare variables before using them, or declare their type. Every variable in
Python is an object.This tutorial will go over a few basic types of variables.
Naming in Python
The naming must start with a letter or underscore_
It must consist of letters and numbers and underscores
Python supports two types of numbers - integers and floating point
numbers. (It also supports complex numbers, which will not be explained in
this tutorial).
To define an integer, use the following syntax:
myint = 7
Reserved Words in Python
We cannot use reserved words as variables in python