How do I do simple user input in python? - Stack Overflow

PHOTO EMBED

Wed Oct 06 2021 18:09:00 GMT+0000 (Coordinated Universal Time)

Saved by @Adam101 #python

x1 = float(input("x1: "))
y1 = float(input("y1: "))
x2 = float(input("x2: "))
y2 = float(input("y2: "))
content_copyCOPY

casting float in python

https://stackoverflow.com/questions/4730949/how-do-i-do-simple-user-input-in-python