I have pseudo code am trying to implement in python but I cant seem to remember what p ← 0 would mean in logic or calculus.
Asked
Active
Viewed 245 times
2 Answers
3
It usually means store the value 0
on the variable p
In python it would be p = 0

Davide
- 301
- 1
- 8
-
True... I was really thinking math now :) – philo Jun 03 '15 at 08:55
-
1In fact, the arrow is more precise than `=` because `=` could be confused with mathematical compare operator. Unfortunately there was not left arrow character available during development of programming languages. ;-) – dlask Jun 03 '15 at 08:55
1
It is equivalent to the assignment operator, p <- 0
in python is expressed as p = 0
.

Will Vousden
- 32,488
- 9
- 84
- 95

PetMarion
- 147
- 3
- 14