1 Simple Program. 2 Languages. Different Results???
84 views · Published 6 September 2018 · 3:34 · Indexed 10 November 2026
Channel: tsbrownie · 2018 · Science & Technology
Surprisingly computer languages do not always produce the same result for the same program. It's easy to make wrong assumptions when going from one language to another. The demonstration pits Python vs. Basic. I've been converting some old BASIC programs to python just for fun. This is one of those things you can't just convert with your brain on automatic, programming languages have their own quirks and differences. This is one of them (that's most annoying.) BASIC For loops are "inclusive", python for loops are "exclusive".
More from this channel
-
1:51
Thai National Park - Part 1
-
2:26
Temple Wat Paniparam Part 1 - Chachoengsao, Thailand
-
1:30
Temple Wat Paniparam Part 2 - Chachoengsao, Thailand
-
1:32
Temple Wat Paniparam Part 3 - Chachoengsao, Thailand
-
1:22
River View Of Temple Wat Paniparam - Thailand
-
2:03
20111028 Bangkok Flood Report - Home Protection
-
0:37
20111030 Bangkok Flood Report - Egg Shortage
-
2:52
20111105 - Bangkok Flood Report - Jutujak & Central Lat Prao Update