Python membaca CSV
# pip install pandas
import pandas as pd
# Read the csv file
data = pd.read_csv('data.csv')
# Print it out if you want
print(data)
Random boi
# pip install pandas
import pandas as pd
# Read the csv file
data = pd.read_csv('data.csv')
# Print it out if you want
print(data)
import turtle
lengths = [10,20,30,40,50,60,70,80,90,100,120]
amy= turtle.Turtle()
amy.color("red")
amy.wide(5)
amy.speed(5)
for length in lengths:
amy.forward(length)
amy.right(90)