Python Program to Calculate The Length of Given List Without Using Built_in Functions

preview_player
Показать описание
In this python programs video tutorial you will learn how to find out the length of given list without using built in function len in detail.

#PythonPrograms #LengthOfList

You can Checkout:
Рекомендации по теме
Комментарии
Автор

in python (-9%4=3) and (9%4=1) can you state the reason for this

harshiniramkumar
Автор

How to type double underscore from keyboard (in class I am unable to type double underscore) . Thanks

abdullahmalik
Автор

Lol which grade is it for! And your channel is useful!

lepos
Автор

import math

x1, x2 = input("Enter the x coordinates of the points between which you need of find distance").split(', ')
y1, y2 = input("Enter the y coordinates of the points").split(', ')


def dist_btw_pts():
a = math.sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2))
print(a)


choice = input("Select operation:"
"Click d for distance")
if choice == "d":
dist_btw_pts()

Can you please tell the mistake in this program, it is not working.

alephnull
visit shbcf.ru