Subscribe this Blog

Wikipedia

Search results

Notifications and New Posts!

Saturday, October 31, 2020

YouTube Premiered Lecture - October 31, 2020, 04:00 PM - ADVANCED PROGRAMMING CONCEPTS - Python (TY A and B)

 ADVANCED PROGRAMMING CONCEPTS - Python

Saturday, 31 October16:00 – 17:00
Weekly on Saturday, until 30 Nov 2020
Description: Subject : ADVANCED PROGRAMMING CONCEPTS - Python To solve assignments Please join Google Classroom. Invitation of Google Classroom has been sent to your official email id. Please accept the google classroom invitation through official email id. Or directly by entering Class code of Google Classroom also you can join Google Class room to solve assignments. Class code of Google Classroom : 3ojdsjm
Organiser: Sachin Bhosale

Due to internet/network connectivity issue, 
I will be conducting lecture on YouTube. 
Lecture will start at sharp 16:00 today. 
Please attend it. And if you have any questions then
please ask in Comment box below the video.

In this Session, I have covered following points: Python functions

Due to Internet connectivity issue making premiered video can be great tool 
where without any kind of interruption students can watch lecture video.

YouTube Session - 31st Oct. 2020
ADVANCED PROGRAMMING CONCEPTS - Python (TY A and B)
Punyashlok Ahilyadevi Holkar Solapur University.
TY Mechanical Engineering Students.
Ref.: https://www.w3schools.com/python/
For more clarity please watch YouTube video with 360p or 480p Quality. 
Please click on the three vertical dots on video then select Quality option.
Then select resolution as 360p or 480p.

Please write you Name and Roll Number in Live Chat Box/Comment Box (below Video in YouTube) to capture your attendance.
YouTube Video Lecture: 
This video is premiered it will start at sharp 16:00 pm today.
To ask questions in Chat Box/Comment Box : 

For Facebook Event of above Session (Optional) : Register here

Python Programs:
# Python Functions
# A function is a block of code which only runs when it is called.
# You can pass data, known as parameters, into a function.
# A function can return data as a result.
# Creating a Function
# In Python a function is defined using the def keyword:
# Example

def my_function():
  print("Hello from a function")
  print("I am in Pandharpur")


# Calling a Function
# To call a function, use the function name followed by parenthesis:

my_function()

Output:
Hello from a function
I am in Pandharpur


# Arguments
# Information can be passed into functions as arguments.

# Arguments are specified after the function name,
# inside the parentheses.
# You can add as many arguments as you want,
# just separate them with a comma.

def my_function(uname):
  print(uname + "@coe.sveri.ac.in")


my_function("sdbhosale")
my_function("fmsurname")
#my_function(1)   #TypeError: unsupported operand type(s) for +: 'int' and 'str'
#my_function(1.1) #TypeError: unsupported operand type(s) for +: 'float' and 'str'

Output:
sdbhosale@coe.sveri.ac.in
fmsurname@coe.sveri.ac.in


Information
# Parameters or Arguments?
# The terms parameter and argument can be used for the same thing:
#     information that are passed into a function.

# From a function's perspective:
# A parameter is the variable listed inside the parentheses in the function definition.
# An argument is the value that is sent to the function when it is called.


# Number of Arguments
# By default, a function must be called with
#     the correct number of arguments.
#     Meaning that if your function expects 2 arguments,
#     you have to call the function with 2 arguments,
#     not more, and not less.

def my_function(fname, lname):
  print(fname + " " + lname)

my_function("Rahul", "Shinde")
#my_function("Rahul")

# def my_function(fname):
#   print(fname + " ")
#
# my_function("Rahul", "Shinde")
Output:
Rahul Shinde


#Arbitrary Arguments are often shortened to *args in Python.
# Arbitrary Arguments, *args
# If you do not know how many arguments
# that will be passed into your function,
# add a * before the parameter name in the function definition.

def my_function(*kids):
  #print("The youngest child is " + kids[0])
  #print("The youngest child is " + kids[1])
  #print("The youngest child is " + kids[2])
  print("Children are " + kids[0],",",kids[1],"and",kids[2])

my_function("Rajesh", "Ramesh", "Ganesh")
Output:
Children are Rajesh , Ramesh and Ganesh

# Keyword Arguments
# You can also send arguments with the key = value syntax.
# This way the order of the arguments does not matter.

#The phrase Keyword Arguments are often shortened to kwargs in Python.

def my_function(child3, child2, child1):
   print("The youngest child is " + child3)
   #print("The youngest child is " + child2)
   #print("The youngest child is " + child1)

my_function(child1 = "Rajesh", child2 = "Ramesh", child3 = "Ganesh")
Output:
The youngest child is Ganesh


# Arbitrary Keyword Arguments are often shortened to **kwargs in Python
# Arbitrary Keyword Arguments, **kwargs
# If you do not know how many keyword arguments
# that will be passed into your function,
# add two asterisk: ** before the parameter name
# in the function definition.
# This way the function will receive a dictionary of arguments,
# and can access the items accordingly:

def my_function(**kid):
    print("His first name is " + kid["fname"])  # + or ,
    print("His last name is " + kid["lname"]) # + or ,

my_function(fname = "Rahul", lname = "Shinde")
Output:
His first name is Rahul
His last name is Shinde


# Default Parameter Value
# The following example shows how to use a default parameter value.
# If we call the function without argument, it uses the default value:

def my_function(country = "India"):
  print("I am from " + country)

my_function("Sweden")
my_function()  #default parameter value will be taken as country=India.
my_function("Brazil")
Output:
I am from Sweden
I am from India
I am from Brazil


#Passing a List as an Argument

def my_function(food):
  for x in food:
    print("Values of fruits list=",x)

fruits = ["apple", "banana", "cherry"]

my_function(fruits)
Output:
Values of fruits list= apple
Values of fruits list= banana
Values of fruits list= cherry


# Return Values
# To let a function return a value, use the return statement:
def my_function(x):
  return 5 * x

print(my_function(3))
print(my_function(5))
print(my_function(9))
Output:
15
25
45


# The pass Statement
# function definitions cannot be empty,
# but if you for some reason have a function definition with no content,
# put in the pass statement to avoid getting an error.

def myfunction():
    pass
    #pass #it gives error
output:

Present Roll Numbers and Names:

Vaibhav Bhosale ​TB13
TYB_73 vaibhav Jagtap ​TB73
Suraj More ​TYA_45 - suraj more
Samruddhi Deshpande ​TYB_01
SALIM SHAIKH ​TY B 45
Yash Gadekar ​TYA_25
SAMARTH CHAVAN ​TA 15
manthan dixit ​TYB16
TYB_33 Ridham Parmar ​TYB_33
pranay disale ​TYA_50
VINAYAK Gawali ​TYA_72
TYB_41 Yasar Khatik ​TYB_41
TYA_64 Sohel Shikalgar ​TY A 64
ADESH BANKAR ​TYB_09
ABHI KHOTE ​TYB_22 Abhijit khote
TYA_44 Mangesh Misal ​TYA_44
TYA_73 Ashley Thomas ​TYA_73
bharat burungale ​TA14
Shraddha gajakosh ​TYA_02
Pravin Somdale ​TYA_65
Akshay Pansare ​TA43
Harshvardhan Ubale ​TYB_50
SALIM SHAIKH ​TYB_45
Its_Pranav_ Show ​TYB 59
sumit Patwari ​TYB_77
TYA_35 Parchandrao Chandragupta Vinayak ​TYA_35 Parchandrao Chandragupta Vinayak
TYB_22 Abhijit Khote ​TYB_22 Abhijit khote
Sachin Waghmare ​TA49
Nikhil Mundhe ​TYA47
Santosh Patil ​TYB_35
deepjyoti sathe ​TA08
Vinayak Bapat ​TYB_11
Hritik Bhosale ​Hritik Bhosale TYB 12
Ganesh Todkar ​TA24
Saurabh Nikam ​TYB-32
TYB_17 Abhinay Gaikwad ​TB17
TYA_05 Saleha Mirjkar ​[message retracted]
TYB_17 Abhinay Gaikwad ​Abhinay Rajendra Gaikwad TB17
Jaydev Nanaware ​TYB_31
Dhanashree Sonawane ​TYB06
saurabh chavan ​TYA_16
aniket bansode ​TYB_10
Learning is essential. Learn Free ​TYB54
OMKAR PAWAR ​TYB_37
Samarth Mane-Deshmukh ​TYA_51
Vijay Mali ​TYB_26 AMOL MALI
PrerAna Ekatpure ​TYB_02
Madhuri Parchandrao ​TYA_06
Milind Jagadale ​TYA_34
parasmule mule ​TYA_58
Saurabh Wadekar ​TYB 55
TYB_41 Yasar Khatik ​TYB_41
Vaishnavi Lakheri ​TYA_04
TYB_70 Akash Mane ​TYB_70
TYB_17 Abhinay Gaikwad ​TB17
Komal Achugatla ​TYA_01
Saleha Mirjkar ​TYA-05
TYB_42Kashiling Sarak ​TYB_42
TYB_34 Madan Patil ​TYB_34
Hrishav raj rai ​TYB_39
TYB_05 Vaishali More ​TYB_05
onkar deokar ​TYA2w
onkar deokar ​TYA22
Namrata Parvat ​TYA_07
Nilesh Kadam ​TB-21
TYB_41 Yasar Khatik ​TYB_41
TYB_03 Arati Lale ​TB 03
TYB_17 Abhinay Gaikwad ​TB17
Sushant Jadhav ​𝙏𝙔𝘽_65
Harshvardhan Ubale ​TYB_50

Saurabh Chavan TA_16
TYA_35 Parchandrao Chandragupta Vinayak
TYA_73 Ashley Thomas
TYB_44 Aftab Shaikh
TYB_34 Madan Patil
TYB_10 Aniket Bansode



Thursday, October 29, 2020

YouTube Premiered Lecture - October 29, 2020, 01:30 PM - ADVANCED PROGRAMMING CONCEPTS - Python (TY A and B)

ADVANCED PROGRAMMING CONCEPTS - Python

Saturday, 29 October13:30 – 15:30
Weekly on Saturday, until 30 Nov 2020
Description: Subject : ADVANCED PROGRAMMING CONCEPTS - Python To solve assignments Please join Google Classroom. Invitation of Google Classroom has been sent to your official email id. Please accept the google classroom invitation through official email id. Or directly by entering Class code of Google Classroom also you can join Google Class room to solve assignments. Class code of Google Classroom : 3ojdsjm
Organiser: Sachin Bhosale

Due to internet/network connectivity issue, We will be conducting lecture on YouTube. 
Lecture will start at sharp 13:30 pm today. Please attend it. And if you have any questions then
please ask in Comment box below the video.
In this Session, I have covered following points: Decision control statement - if, if else, elif Looping control statements - while, for Python in Booleans

Due to Internet connectivity issue making premiered video can be great tool where without any kind of interruption students can watch lecture video.

YouTube Session - 29th Oct. 2020
ADVANCED PROGRAMMING CONCEPTS - Python (TY A and B)
Punyashlok Ahilyadevi Holkar Solapur University.
TY Mechanical Engineering Students.
For more clarity please watch YouTube video with 360p or 480p Quality. Please click on the three vertical dots on video then select Quality option then select resolution as 360p or 480p.

YouTube Video Lecture: This video is premiered it will start at sharp 13:30 pm today.
To ask questions in Chat Box/Comment Box : Click here to Open Session in YouTube
OR

For Facebook Event of above Session : Register here (Click on 'Going')

Python Programs:
#logical operator and with if

a = 200
b = 33
c = 500
if a > b and c > a:
  print("Both conditions are True")
Output:
Both conditions are True

#logical or
#Test if a is greater than b, OR if a is greater than c:

a = 200
b = 33
c = 500
if a > b or a > c:
  print("At least one of the conditions is True")
Output:
At least one of the conditions is True

# Nested If
# You can have if statements inside if statements,
# this is called nested if statements.

#x=41

x = 15

if x > 10:
  print("Above ten,")
  if x > 20:
    print("and also above 20!")
  else:
    print("but not above 20.")
Output:
Above ten,
but not above 20.

# The pass Statement
# if statements cannot be empty,
# but if you for some reason have an if statement with no content,
# put in the pass statement to avoid getting an error.

a = 33
b = 200

if b > a:
    pass

print("Welcome")

Output:
Welcome

# Python Loops
# Python has two primitive loop commands:
#
# while loops
# for loops

# The while Loop
# With the while loop we can execute a set of statements as long as a condition is true.


i = 1
while i < 6:
  print(i)
  i += 1

#Note: remember to increment i, or else the loop will continue forever.
Output:
1
2
3
4
5

# The break Statement
# With the break statement we can stop the loop even if the while condition is true:

i = 1
while i < 6:
  print(i)
  if i == 3:
    break
  i += 1
Output:
1
2
3

# The continue Statement
# With the continue statement we can stop the current iteration, and continue with the next:
i = 0
while i < 6:
  i+=1 #i++ not allowed
  if i == 3:
    continue
  # if i == 3:
  #   continue
  print(i)
Output:
1
2
4
5
6

# The else Statement
# With the else statement
# we can run a block of code once when the condition no longer is true:

i = 1
while i < 6:
  print(i)
  i += 1
else:
  print("i is no longer less than 6")
Output:
1
2
3
4
5
i is no longer less than 6

# Python For Loops
# A for loop is used for iterating over a sequence
# (that is either a list, a tuple, a dictionary, a set, or a string).
#
# This is less like the for keyword in other programming languages,
# and works more like an iterator method
# as found in other object-orientated programming languages.
#
# With the for loop we can execute a set of statements,
# once for each item in a list, tuple, set etc.

fruits = ["apple", "banana", "cherry"]

# print("apple" in fruits)
# in is membership operator

for x in fruits:
  print(x)

#The for loop does not require an indexing variable to set beforehand.
Output:
apple
banana
cherry

# Looping Through a String
# Even strings are iterable objects,
# they contain a sequence of characters:
name="SVERI's COE Pandharpur"

for p in name:
  print(p)
Output:
S
V
E
R
I
'
s
 
C
O
E
 
P
a
n
d
h
a
r
p
u
r

# The break Statement
# With the break statement we can stop the loop
# before it has looped through all the items:

fruits = ["apple", "banana", "cherry"]

for x in fruits:
  print(x)
  if x == "banana":
    break
Output:
apple
banana

# Exit the loop when x is "banana",
# but this time the break comes before the print:

fruits = ["apple", "banana", "cherry"]
for x in fruits:
  if x == "banana":
    break
  print(x)
Output:
apple

# The continue Statement
# With the continue statement
# we can stop the current iteration of the loop, and continue with the next:

fruits = ["apple", "banana", "cherry"]
for x in fruits:
  if x == "banana":
    continue
  print(x)
Output:
apple
cherry

# The range() Function
# To loop through a set of code a specified number of times,
# we can use the range() function,
# The range() function returns a sequence of numbers,
# starting from 0 by default, and increments by 1 (by default),
# and ends at a specified number.

#increment by default 1
# for x in range(5):
#   print(x)

#Note that range(6) is not the values of 0 to 6, but the values 0 to 5.

#increment by default 1
for x in range(2, 6):
  print(x)
Output:
2
3
4
5

#increment will be with 3

count=0

for x in range(2, 30,3):
  print(x)
  count+=1

print("Total such numbers=",count)
Output:
2
5
8
11
14
17
20
23
26
29
Total such numbers= 10

# else in For Loop
# The else keyword in a for loop specifies a block of code
# to be executed when the loop is finished:

for x in range(6):
  print(x)
else:
  print("Finally finished!")
Output:
0
1
2
3
4
5
Finally finished!

# Nested Loops
# A nested loop is a loop inside a loop.
#
# The "inner loop" will be executed one time
# for each iteration of the "outer loop":

# adj = ["healthy", "yellow", "tasty"]
# fruits = ["apple", "orange", "cherry"]
#
# for x in adj:
#   for y in fruits:
#     print(x, y)

outer= [10,20,30]
inner = [1,2,3,4]

for x in outer:
  for y in inner:
    print(x, y)
Output:
10 1
10 2
10 3
10 4
20 1
20 2
20 3
20 4
30 1
30 2
30 3
30 4

# The pass Statement
# for loops cannot be empty,
# but if you for some reason have a for loop with no content,
# put in the pass statement to avoid getting an error.

for x in [0, 1, 2]:
  pass
Output:
Welcome

#Booleans represent one of two values: True or False.

print(10 > 9)
print(10 == 9)
print(10 < 9)
Output:
True
False
False

a = 200
b = 33

if b > a:
  print("b is greater than a")
else:
  print("b is not greater than a")
Output:
b is not greater than a

# Evaluate Values and Variables
# The bool() function allows you to evaluate any value,
# and give you True or False in return,

# print(bool("Hello"))
# print(bool(15))

x = "Hello"
y = 15
#
print(bool(x))
print(bool(y))
Output:
True
True

# Most Values are True
# Almost any value is evaluated to True if it has some sort of content.
# Any string is True, except empty strings.
# Any number is True, except 0.
# Any list, tuple, set, and dictionary are True, except empty ones.

print(bool("abc"))
print(bool(123))
print(bool(["apple", "cherry", "banana"]))
Output:
True
True
True

# Some Values are False
# In fact, there are not many values that evaluates to False,
# except empty values, such as (), [], {}, "",
# the number 0, and the value None.
# And of course the value False evaluates to False.
print(bool(False))
print(bool(None))
print(bool(0))
print(bool(""))
print(bool(()))
print(bool([]))
print(bool({}))
Output:
False
False
False
False
False
False
False

Present Names and Roll Numbers:
Onkar Kale ​TYB_71
VINAYAK Gawali ​TYA_72
Saurabh Nikam ​TYB_32
TYB_73 vaibhav Jagtap ​TYB73
TYB_41 Yasar Khatik ​TYB_41
TYB_55 Saurabh Wadekar ​TYB 55
Sachin Kshirsagar ​TYA_42
TYA_18 Yogesh chavan 
Pranay Disale ​TA_50 Pranay Disale
TYA_18 Yogesh chavan ​TA_18
TYA_25 Yash Gadekar ​TYA_25
Prathmesh Kirgat ​TYA_41
deepjyoti sathe ​TYA_08
sumit Patwari ​TYB_77
CVP CVP ​TYA_35 Parchandrao Chandragupta Vinayak
SALIM SHAIKH ​TYB_45
Pratik Deshmukh ​TYB_14
Madhuri Parchandrao ​TYA_06 Madhuri Parchandrao
Milind Jagadale ​TYA_34
Dhanashree Sonawane ​TYB06
Yogesh patil ​TYB_36
Jaydev nanaware ​TYB_31
Samruddhi Deshpande ​TYB_01
OMKAR PAWAR ​TYB_37
Snehal Mane ​TYB_04
Pravin Somdale ​TYA_65
TYB_42Kashiling Sarak ​TYB_42
Shraddha gajakosh ​TYA_02
Learning is essential. Learn Free ​TYB_54
TYB_33 Ridham Parmar ​TYB_33
TYB_75 Hrushikesh Walujkar ​TYB_75
ADESH BANKAR ​TYB_09 Adesh Bankar
Aazam Shaikh ​TYA_63
TYA_64 Sohel Shikalgar ​TYA 64
PrerAna Ekatpure ​TYB02
Prajwal Musale ​TYA_55
Shreeyash Chavan ​TYA_17
Vijay Mali ​TYB_26 AMOL MALI
pruthviraj deshmukh ​TA23
Vaibhav Bhosale ​TB_13
ABHI KHOTE ​TYB_22
TYB_03 Arati Lale ​TB 03
manthan dixit ​TYB_16
Saleha Mirjkar ​TYA-05
Nilesh Kadam ​TYB-21
Shubham Deokar ​TYB 72
Santosh Patil ​TYB_35
Akshay Pansare ​TYA_43
Harshvardhan Ubale ​TYB_50
TYB_05 Vaishali More ​TYB_05
Samarth Mane-Deshmukh ​TA_51
Its_Pranav_ Show ​TYB 59
TYB_20 Dhondiram Waghmode ​TB20
Sachin Waghmare ​TA49
TYB_41 Yasar Khatik ​TYB_41
Nikhil Mundhe -TYA47
CVP CVP TYA_35
TYA_73 Ashley Thomas TYA_73
ABHI KHOTE TYB_22
Rupesh Dhere TB 61

Sunday, October 25, 2020

How do I download facebook video to my mobile Gallery ? | Facebook Video Downloading

 Step 1: Open the video which you want to download then click on three horizontal dots.



Step 2: Click on Copy link option, Copied the URL of video and can be pasted it in Google Chrome browser of mobile device.


Step 3: Click on the video.

Step 4: Edit the URL from https://m.facebook.com to https://mbasic.facebook.com


Step5: You will get Download option as shown in following image:



Video will be downloaded in your mobile Gallery.









Saturday, October 24, 2020

YouTube Premiered Lecture - October 24, 2020, 5:00 PM - ADVANCED PROGRAMMING CONCEPTS - Python (TY A and B)

 ADVANCED PROGRAMMING CONCEPTS - Python

Saturday, 24 October17:00 – 18:00
Weekly on Saturday, until 30 Nov 2020
Description: Subject : ADVANCED PROGRAMMING CONCEPTS - Python To solve assignments Please join Google Classroom. Invitation of Google Classroom has been sent to your official email id. Please accept the google classroom invitation through official email id. Or directly by entering Class code of Google Classroom also you can join Google Class room to solve assignments. Class code of Google Classroom : 3ojdsjm
Organiser: Sachin Bhosale

Due to internet/network connectivity issue, We will be conducting lecture on YouTube today. 
Lecture will start at sharp 05:00 pm today. Please attend it. And if you have any questions then
please ask in Comment box below the video. Please co-operate and give your feedback to video.


YouTube Video Lecture: This video is premiered it will start at sharp 05:00 pm today.


Python Programs:
# Python Conditions and If statements
#
# Equals: a == b
# Not Equals: a != b
# Less than: a < b
# Less than or equal to: a <= b
# Greater than: a > b
# Greater than or equal to: a >= b

a = 33
b = 200
# if b < a:
#   print("b is greater than a")
#
# print("Welcome")

if (b > a):
  print("b is greater than a")
Output:
b is greater than a

#Indentation Issue
a = 33
b = 200
if b > a:
print("b is greater than a") # you will get an error
Output:

  File "C:/Users/Hp/PycharmProjects/Python_if_statements/2.py", line 5
    print("b is greater than a") # you will get an error
    ^
IndentationError: expected an indented block

# elif
# The elif keyword is pythons way of saying
# "if the previous conditions were not true, then try this condition".

a = 33
b = 33
if b > a:
  print("b is greater than a")
elif a == b:
  print("a and b are equal")
Output:
a and b are equal

# else
# The else keyword catches anything which isn't caught by the preceding conditions.

a = 33
b = 33
if b > a:
  print("b is greater than a")
elif a == b:
  print("a and b are equal")
else:
  print("a is greater than b")
Output:
a and b are equal

#You can also have an else without the elif:
a = 333
b = 333
if b > a:
  print("b is greater than a")
elif b<a:
  print("b is not greater than a")
else:
  print("Both a and b are equal")
Output:
Both a and b are equal

# Short Hand If
# If you have only one statement to execute,
# you can put it on the same line as the if statement.

a=10
b=1

if a > b: print("a is greater than b")
Output:
a is greater than b

#Short Hand If ... Else

a = 2
b = 330
print("A") if a < b else print("B")

#This technique is known as Ternary Operators, or Conditional Expressions.
Output:
A

#One line if else statement, with 3 conditions:

# a = 331
# b = 330
# print("A") if a > b else print("=") if a == b else print("B")

# a = 330
# b = 330
# print("A") if a > b else print("=") if a == b else print("B")


a = 330
b = 333
print("A") if a > b else print("=") if a == b else print("B")

Output:
B


What is mean by Kanban | JIT ?

Kanban is a popular framework used to implement agile software development. 

It requires real-time communication of capacity and full transparency of work. 

Work items are represented visually on a kanban board, allowing team members to see the state of every piece of work at any time[1].

Ref.1: https://www.atlassian.com/agile/kanban


Kanban is a lean method to manage and improve work across human systems. 

This approach aims to manage work by balancing demands with available capacity, and by improving the handling of system-level bottlenecks[2].

Ref.2: https://en.wikipedia.org/wiki/Kanban_(development)


It all started in the early 1940s (In Japan). The first Kanban system was developed by Taiichi Ohno(Industrial Engineer and Businessman) for Toyota automotive in Japan. It was created as a simple planning system, the aim of which was to control and manage work and inventory at every stage of production optimally[3].

Ref. 3: https://www.digite.com.


Just in Time inventory management methodology

JIT was originally formed in Japan as a response to the country’s limited natural resources, leaving little room for wastage. Today, Just in Time systems are used by many businesses, and it has influenced related lean inventory management techniques like IBM’s Continuous Flow Manufacturing (CFM). The rise of dropshipping has made JIT inventory management more appealing for retailers, as it allows them to sell a product before buying it, then purchase the item from a third party and have it shipped directly to the customer[4].

Ref. 4: https://www.tradegecko.com


Jump to Toyota's Six Rules — Kanban (看板) (signboard or billboard in Japanese) is a scheduling system for lean manufacturing and just-in-time manufacturing (JIT). Taiichi Ohno, an industrial engineer at Toyota, developed kanban to improve manufacturing efficiency[5].

Ref.5: https://en.wikipedia.org/wiki/Kanban


What Is Just-in-Time (JIT)?

The just-in-time (JIT) inventory system is a management strategy that aligns raw-material orders from suppliers directly with production schedules. Companies employ this inventory strategy to increase efficiency and decrease waste by receiving goods only as they need them for the production process, which reduces inventory costs. This method requires producers to forecast demand accurately[6].

Ref.6: https://www.investopedia.com/terms/j/jit.asp



Thursday, October 22, 2020

Google Meet Session - 22th Oct. 2020 ADVANCED PROGRAMMING CONCEPTS - Python (TY A and B)

 ADVANCED PROGRAMMING CONCEPTS - Python

Thursday, 22 October13:30 – 15:30
Weekly on Thursday, until 30 Nov 2020
Join with Google Meet
https://meet.google.com/hid-dmnv-qxw
Join by phone
Description:Subject : ADVANCED PROGRAMMING CONCEPTS - Python To solve assignments Please join Google Classroom. Invitation of Google Classroom has been sent to your official email id. Please accept the google classroom invitation through official email id. Or directly by entering Class code of Google Classroom also you can join Google Class room to solve assignments. Class code of Google Classroom : 3ojdsjm With kind regards, SD Bhosale
  1. 10 minutes before
Organiser: Sachin Bhosale

Note: Due to network issue: Attendance and Recording of Video could not get captured. Python Programs are shared here:

# Python Operators
# Operators are used to perform operations on variables and values.
#
# Python divides the operators in the following groups:
#
# Arithmetic operators
# Assignment operators
# Comparison operators
# Logical operators
# Identity operators
# Membership operators
# Bitwise operators

# Python Arithmetic Operators
# Arithmetic operators are used with numeric values
# to perform common mathematical operations:

# + Addition x + y

x = 5
y = 3

print("Addtion of two number=",x + y)
Output:
Addtion of two number= 8

# - Subtraction x - y

x = 5
y = 3

print(x - y)
Output:
2

# * Multiplication x * y

x = 5
y = 3

print(x * y)
Output:
15

# / Division x / y
x = 1
y = 2

print(x / y)
Output:
0.5

# % Modulus x % y

x = 11
y = 7

print(x % y)
Output:
4

# ** Exponentiation x ** y

x = 2
y = 5

print(x ** y) #same as 2*2*2*2*2
print(y**x)

Output:
32
25

# // Floor division x // y
x = 15
y = 2
# /
print(x // y)

#the floor division // rounds the result down to the nearest whole number

#end of arithmetic operators
Output:
7

# Python Assignment Operators
# Assignment operators are used to assign values to variables:

# = x = 5 x = 5

x = 5

print(x)

Output:
5

# += x += 3 x = x + 3

x = 5

x += 3

print(x)
Output:
8


# -= x -= 3 x = x - 3

x = 5

x -= 3

print(x)
Output:
2

# *= x *= 3 x = x * 3
x = 5

x *= 3

print(x)
Output:
15

# /= x /= 3 x = x / 3
x = 5

x /= 3

print(x)
Output:
1.6666666666666667 

# %= x %= 3 x = x % 3
x = 5

x%=3

print(x)

Output:
2

# //= x //= 3 x = x // 3
x = 5

x//=3

print(x)
Output:
1

# **= x **= 3 x = x ** 3
x = 5

x **= 3

print(x)


# end of python assignment operators

Output:
125

# Python Comparison Operators/Relational operators
# Comparison operators are used to compare two values:

# == Equal x == y

x = 5
y = 3

print(x == y)

# returns False because 5 is not equal to 3
Output:
False

# != Not equal x != y
x = 5
y = 3

print(x != y)

Output:
True

# > Greater than x > y

x = 5
y = 3

print(x > y)
Output:
True

# < Less than x < y

x = 5
y = 3

print(x < y)

# returns False because 5 is not less than 3

Output:
False

# >= Greater than or equal to x >= y

x = 5
y = 3

print(x >= y)

Output:
True

# <= Less than or equal to x <= y

x = 5
y = 3

print(x <= y)

Output:
False

# Python Logical Operators
#Logical operators are used to combine conditional statements:

# and Returns True if both statements are true x < 5 and  x < 10

x = 5



print(x > 3 and x < 10)
        #1 && 1  = 1

Output:
True

# or Returns True if one of the statements is true x < 5 or x < 4
x = 5


print(x < 3 or x < 4)
       # 0||0 -> 0

Output:
False

# not Reverse the result, returns False if the result is true
# not(x < 5 and x < 10)


x = 0

#print(not(x > 3 and x < 10))
    #!(1&&1) ->0

print(not (x>5) )

# ! Logical NOT
# not
Output:
True

# Python Identity Operators
# Identity operators are used to compare the objects,
# not if they are equal, but if they are actually the same object,
# with the same memory location:

# is Returns True if both variables are the same object x is y

x = ["apple", "banana"]
y = ["apple", "banana"]
z = x

# p=1;

# print(x is z)
# print(x!=z)

print(z is x)


#print(x == y)

Output:
True

#is not Returns True if both variables are not the same object


x = ["apple", "banana"]
y = ["apple", "banana"]
#z = x
z=1
x=y

print(x is not z)


#print(z is y)
#
#
# print(x != y)


#end of Identity operator

Output:
True

# Python Membership Operators
# Membership operators are used to test if a sequence is presented in an object:

#in Returns True if a sequence with the specified value is present in the object

# x = ["apple", "banana"]
# #
# print("Apple" in x)

# y=(1,2,3)
#
# print(4 in y)

s={3,2,1}

# print(type(s))
print(4 not in s)
Output:
True


x = ["apple", "banana"]

print("pineapple" not in x)
Output:
True

# Python Bitwise Operators
# Bitwise operators are used to compare (binary) numbers:

& AND Sets each bit to 1 if both bits are 1

| OR Sets each bit to 1 if one of two bits is 1

^ XOR Sets each bit to 1 if only one of two bits is 1

~ NOT Inverts all the bits

<< Zero fill left shift Shift left by pushing zeros in from the right and let the leftmost bits fall off

>> Signed right shift Shift right by pushing copies of the leftmost bit in from the left, and let the rightmost bits fall off