CS229 icon indicating copy to clipboard operation
CS229 copied to clipboard

bug in just_works.py in python_turtorial folder

Open KangKanng opened this issue 5 months ago • 2 comments

when run the python code, there is an error saying "int object is not iterable" so the right code should be like as follow

def do_something(number):
    for i in range(number):
        print(f'Hello {i}')

do_something(5)

1726740051001 same error in proper_start.py, thank u if u can fix it

KangKanng avatar Sep 19 '24 09:09 KangKanng