import random
import time
while True:
turbidity = random.uniform(0.0, 100.0) # Simulated turbidity data (0 to 100)
gas = random.uniform(0.0, 100.0) # Simulated gas data (0 to 100)
ph = random.uniform(0.0, 14.0) # Simulated pH data (0 to 14)
# Print the simulated sensor readings
print(f"Turbidity: {turbidity} NTU, Gas: {gas} ppm, pH: {ph}")
time.sleep(1)