ttrobotics@taylantarhan· 502 viewsin General Discussion
Count Python code?
count = 0 # başlangıç değeri 0 olarak ayarlanır
while True: # sonsuz döngüye girer
# robotun yapması gereken işlemler burada yer alır
# örneğin, bir nesneyi taşıması gerekiyorsa:
# move_object()
count += 1 # her işlem yapıldığında sayacı bir artırır
print("Yapılan işlem sayısı:", count) # sayacı ekrana yazdırır.
Hello Chris, @chrisannin
Where should I paste the code written above so that the robot counts the operation. Is it difficult for the robot to count the repetitive operation?

Chris Annin
Hello, here is the tutorial on programing - counting registers: