Python With Avirup

Python With Avirup

Share

Python. Python is widely accepted as the best programming language for beginner developers as it is simple and easy to use and deploy.

22/12/2020

>>> from user
>>> day=input("enter day:")
enter day:"sunday"
>>> if(day=="monday"):.. print("today is working day").. elif(day=="tuesday"):.. print("today is working day").. elif(day=="wednesday"):.. print("today is working day").. elif(day=="thursday"):.. print("today is working day").. elif(day=="friday"):.. print("today is working day").. elif(day=="saturday"):.. print("today is half working day").. else:.. print("today is holiday")..
today is holiday

19/12/2020

>>> range function using for loop..
>>> for i in range(5):.. print(i)..
0
1
2
3
4

17/12/2020

>>> ..
>>> a=20
>>> b=6
>>> c=a//b
>>> print(c)
3

17/12/2020

>>> ..
>>> a=20
>>> b=6
>>> c=a/b
>>> print("required floating number",c)
required floating number 3.3333333333333335

Want your school to be the top-listed School/college in KOLKATA?
Click here to claim your Sponsored Listing.

Website

Address


Kolkata