4 ms·
Got my 6 year old to write a python program. He was so excited the computer did the homework for him. This is a fun way to introduce programming. Example sessi
by nutanc 6y ago
Got my 6 year old to write a python program.
He was so excited the computer did the homework for him.
This is a fun way to introduce programming.
Example session:
>>>number_of_passengers_travelling=672
>>>number_of_passengers_got_down=21
>>>total_remaining=number_of_passengers_travelling-number_of_passengers_got_down
>>>print(total)
His only question was, do I have to type so much and I said yes. There is no way I am letting my kid name variables v1 and v2 :)
- ramtatatam 6y agoHomework at the age of 6? Wow, I'm glad I did not have real homework until I was 8ish