I want to thank MIT for providing these lectures and the lecturers for them allowing it to be done. Given the chance I would have attended MIT specializing in software engineering, but since I could not, this is almost like being in the classroom.
Can any one tell me what program he is using to write the codes? I downloaded python and it doesn't seem to have the "run" function as in this video. Is it so because python is an interpreter and not compiler? thanks
@scorpionismification Not sure if it will be similar in Windows or Linux but, if you're using a mac, just load the python shell, then go to "File" and choose "New Window". "Run" will appear on the menubar when you're editing inside the new window.
@xejerk and @SandroidHD: Thank you for replying! I have Windows and I use Python IDLE (GUI) but it doesn't have the "run" function. The problem is, unlike in eclipse (in java), I can not go back and make changes in the code in Python IDLE.
@scorpionismification Any time! You do essentially the same thing on Windows. Go to File > New Window. The window that pops up should have the 'Run' function in the menubar. You can write your code in this new window, save it, then choose Run > Run module.
Note that the output of your code (as well as any errors) will still appear in the IDLE window.
Too much fluff and not enough coding. I hope they have other classes there that are more substantive. The mathematics lectures seemed to have a higher percentage of pertinent content.
@agxphoto knowing what work your tools do < knowing how your tools work < knowing why your tools work. this is an intro course, the profs are rightly putting fundamentals first.
Programming in an intro class! lol, at my university they teach you the difference between opt-in and opt-out website spam - seriously. I wish I went to MIT instead : /
@dohcturbo2 Really? This is pretty basic stuff. Maybe you should read "Learning Python the Hard Way" by Zed Shaw. Don't let the name fool you. It's free online. Just Google it. Then you should be ready to move on to more advanced stuff.
@thehobbidhobbin yea programming concepts can be hard to grasp. Ive been learning them slowly over the year. Its really starting to click though to the point were I am beginning to understand the linux kernel.
This is a great lecture, but why use a totally unrelated video to express your negative opinion about someone? 18:28 If we wanted to hear political opinions we'd be watching a different channel.
@calebd87 He's not doing that lecture in order to make a video, he's just teaching his class, and they happen to be filming it. If he wants to do political jokes in his classes, well, that's up to him.
@bluemukaki Maybe in your mind. In the age of misinformation needless debates naturally flare up. Compare the definitions of both and then make an educated decision about the "controversy."
what is that second window he has open? it doent have the >>> that my python shell does, it makes it hard to follow allong without knowing what that window is. If anyone knows please let me know.
@EKBadass hey EK, this is just any old text editor. Say for instance you type many lines of code into your shell. But instead of typing that in every time you can save all the code in a text file. Then when you run the text file in python, you will get back the interpreter with some output (if you specified some output in the code). So he has a text editor open (in this case IDLE) where he is saving lines of code you would of had to type over and over again.
I was glad someone corrected him about the list and tuple syntax. I bet he would have figured it out a bit later though, or John would have corrected him.
why my teacher did not be impressed?because he expect a tiny short program.ye if you did it in finite way it is simple,just call sub which turbo c provided then it is short.but i did infinite and a lots of subs.of course it will be very difficult and become long.any way this clip is very good.i have to watch it three times since my English is poor.to prove that i guess in the last 1+9+5+2=17 !! am i right?
k.i am from TAIWAN too,not a programmer,knowing little language.But I highly recommended flow chart.because with it,you can generated any code you want.i did x86 assembly for digital oscilloscope which i made for project of my last semester.i did turbo C for a little program which do convert in between decimal & binary & octal & hexadecimal,in a infinite digit way by turning them into strings ,and it turn out to be a big one 600 lines .but it did not impressed my teacher.
It looks like whoever is operating the cameras are doing it totally half-assed. They focus on the text of the source code and never pan to IDLE when he executes the code, like they don't know/care about what he's talking about.
@broomballerBJS thanx, yo. That caught me up for a few minutes. The shell kept spitting 'can't concatenate int.s with tuples'. You saved me hours of scouring the internetz
I'm so glad that error was deliberate, I was reading it again and again thinking "am I thick? or does his code make no sense?" even typed it in to python and ran it to prove the point to myself.
What is interesting - His Lecture Lec 1 gets 113,265 views, Lec 2 - 31,844 views, Lec 3 - 15,452 views, Lec 8 - 5,640 views,
Lec 14 - 3482 ..... It looks like exponetial decay ..... And how many of the viewers have listen to the entire lecture ? Perhaps MIT will have the courage to tell us.
I would like to know how these concepts help programmers in the real world. Everybody isn't looking to find square roots. I wish the prof would clue me in to some concrete applications. Or help me to see the usefullness of what he is teaching.
@CHOOK36 Your right but still maybe its best to stop looking at those useless videos. Unless its gameplay of a video game and something else special... Its not really worth it
if you look at their website, and go to the problem sets for homework, it tells you to solve for prime numbers. can you help me create a formula to find the 10000th prime?
@danedaworld use a counter and create an accumulating list. Starting from 0 (alternately, try writing this more efficiently by finding a lower bound (a good lower bound that is) for your prime number and start your counter there), increment by 1 and apply a prime number condition. Every time a number satisfies the prime condition, append it to your list and increase your counter. when your counter makes 1000, take l[len(l)-1] to be your 1000th prime
@danedaworld well, the lower bound is not "necessary", an answer without the use of the bound will be sufficient - but perhaps not as efficient. Here is the idea: A prime, as you probably know, is only divisible by 1 and itself. Let's look at natural numbers: If b divides a, then a/b = k where k is in |N - thus kb = a. What can be said about b? (hint: could it be larger than a?). Could you not now form a FINITE set (note: this is important) for an iterative condition check pattern?
SO after making corrections for parenthesis, what was the last problem that must be fixed in order to avoid typeError: can only concatenate tuple (not "int") to tuple. [Time 44 minute]
The flowchart is a good idea. It really helps to visualize your program. In koffice (ubuntu), there's a decent flowchart program called Kivio if anyone is trying to find one.
well done thank you !!!
JohnPopovsky 3 weeks ago in playlist MIT 6.00 Intro to Computer Science & Programming, Fall 2008
Thanks you :D
NewKeepSharing31 1 month ago
I must have dozed, what is "foo" ?????
mjconley 1 month ago
@mjconley "foo" is a conventional name for a variable whose purpose is only to demonstrate a concept.
Levercode in reply to mjconley (Show the comment) 3 weeks ago
I was so confused why he did a list. He should know better :S
Nikotiini69 1 month ago in playlist MIT 6.00 Intro to Computer Science & Programming, Fall 2008
I am very happy to see the vidoe after you give this Common code patterns: iterative programs
bebeheuy 2 months ago
I Really Like The Video From Your Lecture 3: Common code patterns: iterative programs
AntoMelta 2 months ago
Your Video Is Very Useful Sharing Common code patterns: iterative programs
willamricard 2 months ago
after i watched this video Common code patterns: iterative programs, my insight is very open because the video is very good to give information
imegatrone 2 months ago
naja einzige deutsche hier
PaigeLanaab30 3 months ago
LAME
1MegaPpp 3 months ago
WE NEED MORE TEACHERS LIKE THIS
KEEP UP THE GOOD WORK
vivauruguay 3 months ago
I want to thank MIT for providing these lectures and the lecturers for them allowing it to be done. Given the chance I would have attended MIT specializing in software engineering, but since I could not, this is almost like being in the classroom.
theonetrueac 3 months ago 12
im so grateful for MIT uploading such valuable lectures! Thank you so much
SsikG 4 months ago
Can any one tell me what program he is using to write the codes? I downloaded python and it doesn't seem to have the "run" function as in this video. Is it so because python is an interpreter and not compiler? thanks
scorpionismification 4 months ago
@scorpionismification Not sure if it will be similar in Windows or Linux but, if you're using a mac, just load the python shell, then go to "File" and choose "New Window". "Run" will appear on the menubar when you're editing inside the new window.
xejerk in reply to scorpionismification (Show the comment) 3 months ago
@xejerk and @SandroidHD: Thank you for replying! I have Windows and I use Python IDLE (GUI) but it doesn't have the "run" function. The problem is, unlike in eclipse (in java), I can not go back and make changes in the code in Python IDLE.
scorpionismification in reply to xejerk (Show the comment) 3 months ago
@scorpionismification Any time! You do essentially the same thing on Windows. Go to File > New Window. The window that pops up should have the 'Run' function in the menubar. You can write your code in this new window, save it, then choose Run > Run module.
Note that the output of your code (as well as any errors) will still appear in the IDLE window.
xejerk in reply to scorpionismification (Show the comment) 3 months ago
@xejerk thanks again! this is exactly what i was looking for. cheers!
scorpionismification in reply to xejerk (Show the comment) 3 months ago
@scorpionismification Awesome :) Happy coding!
xejerk in reply to scorpionismification (Show the comment) 3 months ago
@scorpionismification he uses IDLE to run the code
SandroidHD in reply to scorpionismification (Show the comment) 3 months ago
@Christmas800
Assignments and code files are available at the MIT opencourseware website see link below:
ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00-introduction-to-computer-science-and-programming-fall-2008/assignments/.
You can also access hundreds of other courses on this site in case you need more enlightening in other fields.
RujekoCommunity 4 months ago 2
@Christmas800
Assignments and code files are available at the MIT opencourseware website see link below:
RujekoCommunity 4 months ago
Lecture attendance - students in auditorium plus additional 85,105 people.
tomasjaka 4 months ago
i wish there were assignments to go along with each video...
Christmas800 4 months ago
Too much fluff and not enough coding. I hope they have other classes there that are more substantive. The mathematics lectures seemed to have a higher percentage of pertinent content.
agxphoto 5 months ago
@agxphoto well as it says, it's an intro course... it assumes absolutely no prior knowledge of programming at all...
irock9114 in reply to agxphoto (Show the comment) 4 months ago
@agxphoto knowing what work your tools do < knowing how your tools work < knowing why your tools work. this is an intro course, the profs are rightly putting fundamentals first.
Tarkvinius in reply to agxphoto (Show the comment) 2 months ago
Programming in an intro class! lol, at my university they teach you the difference between opt-in and opt-out website spam - seriously. I wish I went to MIT instead : /
PoliticalHell 5 months ago
I really hope someone laughs at one of his jokes
canman1878 5 months ago 4
I wish the camera man was more ON BALL with switching between him speaking and him using code on the screen.
AtomicBl453 5 months ago
15:35 oh god that coding style.
numba1netsfan 6 months ago
Lec 3, ten minutes in, I Quit.
dohcturbo2 6 months ago
Im still watching this and iv no idea what hes on about.
dohcturbo2 6 months ago
@dohcturbo2 Really? This is pretty basic stuff. Maybe you should read "Learning Python the Hard Way" by Zed Shaw. Don't let the name fool you. It's free online. Just Google it. Then you should be ready to move on to more advanced stuff.
anzwertree in reply to dohcturbo2 (Show the comment) 5 months ago
the camera guy is just plain awful...what did he correct??? can't hear the sound can't see the correction...great lecture though
Shpira 6 months ago in playlist MIT 6.00 Intro to Computer Science & Programming, Fall 2008
@Shpira He added a comma after i. So, the tuple (i) in the line divisors = divisors + (i) became (i,)
choonghuh in reply to Shpira (Show the comment) 5 months ago
@choonghuh Thanks!
CarlosDutra2 in reply to choonghuh (Show the comment) 5 months ago
I sadly found out today that Python does not have a GOTO function. Poooorrrquueeee?
calculusisamazing 6 months ago
@calculusisamazing Don't Tell Dijkstra you want the GOTO function in Python. I think doing so would be considered harmful.
ekcellSC in reply to calculusisamazing (Show the comment) 6 months ago
I am getting an MIT education for free. I'm thankful for this opportunity.
jmannii 6 months ago 2
Anyone notice how the number of views is dropping as you get further in this series
thehobbidhobbin 6 months ago 4
@thehobbidhobbin yea programming concepts can be hard to grasp. Ive been learning them slowly over the year. Its really starting to click though to the point were I am beginning to understand the linux kernel.
numba1netsfan in reply to thehobbidhobbin (Show the comment) 6 months ago
what does he throws to whom answer the questions he makes?
epicnidhogg 7 months ago
@epicnidhogg
candies
felixcantournet in reply to epicnidhogg (Show the comment) 7 months ago
@felixcantournet ahhh, thx
epicnidhogg in reply to felixcantournet (Show the comment) 7 months ago
@epicnidhogg candy in lecture 2 its explained
MrBodeci in reply to epicnidhogg (Show the comment) 6 months ago
i wanna hear him say cool whip
khyunwoo1 8 months ago 6
Comment removed
layzergun 8 months ago
hi
emuuye 8 months ago
How do you get IDLE for the Mac OS X 10.6 software?
danjonila 8 months ago
@danjonila Just download Python from python.org, it should be ok.
LunaVorax in reply to danjonila (Show the comment) 8 months ago
Thumbs up for his terminator joke :)
6littleMERMAIDS 9 months ago 46
Comment removed
ashokms 10 months ago
This is a great lecture, but why use a totally unrelated video to express your negative opinion about someone? 18:28 If we wanted to hear political opinions we'd be watching a different channel.
calebd87 10 months ago
@calebd87 He's not doing that lecture in order to make a video, he's just teaching his class, and they happen to be filming it. If he wants to do political jokes in his classes, well, that's up to him.
Mejse10 in reply to calebd87 (Show the comment) 10 months ago 32
at 43:12 you also need to write at the end of the script ** print divisor **
TheElfdreaming 10 months ago
bookmark 24:23
nowaythen 10 months ago
code @ 43:12 does not work for me. even after I added (i,). why?
oladitan 10 months ago 3
@oladitan I am in the same boat..did you figure it out yet?
jrprince21 in reply to oladitan (Show the comment) 10 months ago
@jrprince21 no.
oladitan in reply to jrprince21 (Show the comment) 10 months ago
@oladitan @jrprince21 You have to add a space after the comma, like this (i, ), and not (i,).
kclau99 in reply to oladitan (Show the comment) 9 months ago
Comment removed
oladitan in reply to kclau99 (Show the comment) 9 months ago
This has been flagged as spam show
@kclau99 oops i typed divisor instead of divisors some where
oladitan in reply to kclau99 (Show the comment) 9 months ago
how do you create a loop in a programming, what cammands go along with it?
junior1984able 10 months ago
AWWW THIS IS AWEsOME!!!
phatsk8r420 11 months ago
33:22
GAoctavio 11 months ago
43:59
anidude98 11 months ago
@anidude98
what about it
loko95ftp in reply to anidude98 (Show the comment) 11 months ago
i want a handout..... i cant always follow him or see the code
anidude98 11 months ago
@anidude98 for handouts go to MIT's site (search google for this course). the handouts are under "videos", then "related resources"
alternapop in reply to anidude98 (Show the comment) 10 months ago
This has been flagged as spam show
THANKS FOR THE GREAT JOB OCW doing,please can you also provide lab Videos?
gittikhun 1 year ago
i wonder why is the lecturer obsessed of prof. John
girocraz 1 year ago
I`m currently taking Intro Programming Logic and we are doing flowchart strucuture and I find it quite easy and Interesting!! LOVE MIT!
26873547 1 year ago
@ 10:01 it turns into a horror movie lol for a sec
brucinski94 1 year ago
AT 02:34 the close caption says "We saw wow"
The professor is obviously saying "while".
Huququ 1 year ago
@bluemukaki Maybe in your mind. In the age of misinformation needless debates naturally flare up. Compare the definitions of both and then make an educated decision about the "controversy."
kangac81 in reply to bluemukaki (Show the comment) 1 year ago
gonna watch them all. Thanks MIT
cmdargument 1 year ago
he is so cute
adzoss 1 year ago
That's a parallelogram, not a trapezoid. I love correcting MIT professors.
kangac81 1 year ago
@kangac81 wow good job answering a math related question, you should become a mathematician
althais in reply to kangac81 (Show the comment) 1 year ago
@kangac81 then maybe you should work there.... oh your probably not that smart you fucking tard!!!!
andreww308 in reply to kangac81 (Show the comment) 1 year ago
That's a parallelogram, not a trapezoid. I love correcting MIT professors.
kangac81 1 year ago
he is the best ;)
mahmoudkishtaa 1 year ago
where's mike sandy?
EltBerserker 1 year ago
These people there are cold as ice!! They should at least laugh with his jokes out of politeness.
kopilatis10 1 year ago
the divisors example should look like this:
x = 100
divisors = ()
for i in range(1,x): if x%i == 0: divisors = divisors + (i,)
print (divisors)
Anorrea 1 year ago
@Anorrea thank you!!! ^^
felixozium in reply to Anorrea (Show the comment) 1 year ago
@Anorrea Thank you for this one :)
radilim in reply to Anorrea (Show the comment) 9 months ago
A world of privilege. see how far one must go just to get a decent lecture. if only opportunity were universal.
disc2wo 1 year ago 2
This has been flagged as spam show
The big bad Oil corporations r trying their best to stop free energy technology from spreading to common ppl.
We need to put an end to this corruption ,start generating ur own electricity now.
Visit LT-MAGNET-MOTORdotCOM and get the blueprints . Join the Revolution!!
slipshodcoqbgg 1 year ago
This has been flagged as spam show
Free Energy is real and it's here! The Big Oil companies r doing everything they can to stop this
information. If you want a Free energy magnet motor , get the blueprints at LT-MAGNET-MOTORdotCOM , Join the energy revolution!
breeannaqktjbl 1 year ago
what is that second window he has open? it doent have the >>> that my python shell does, it makes it hard to follow allong without knowing what that window is. If anyone knows please let me know.
EKBadass 1 year ago
@EKBadass hey EK, this is just any old text editor. Say for instance you type many lines of code into your shell. But instead of typing that in every time you can save all the code in a text file. Then when you run the text file in python, you will get back the interpreter with some output (if you specified some output in the code). So he has a text editor open (in this case IDLE) where he is saving lines of code you would of had to type over and over again.
jrwkc in reply to EKBadass (Show the comment) 1 year ago
Comment removed
zhkaz 1 year ago
@zhkaz your message shows how well you know English
maxbublis in reply to zhkaz (Show the comment) 1 year ago
@maxbublis But i know Python )
zhkaz in reply to maxbublis (Show the comment) 1 year ago
Comment removed
maxbublis in reply to zhkaz (Show the comment) 1 year ago
@zhkaz But 'list' is not keyword at all. You could define function named 'list'. It shows how you know Python.
maxbublis in reply to zhkaz (Show the comment) 1 year ago
@maxbublis i know list is not keyword it is a datatype )
zhkaz in reply to maxbublis (Show the comment) 1 year ago
@maxbublis what you are talking about ? I just to say that lecturer will can't teach if it don't know Python is well
zhkaz in reply to maxbublis (Show the comment) 1 year ago
@zhkaz He is not teaching Python.
maxbublis in reply to zhkaz (Show the comment) 1 year ago
@maxbublis But He is explaining with using Python )
zhkaz in reply to maxbublis (Show the comment) 1 year ago
@zhkaz omg, you are dumb
maxbublis in reply to zhkaz (Show the comment) 1 year ago
This has been flagged as spam show
@maxbublis it is a compliment from dumb ? I think yes, because only stupid moves on insult )
zhkaz in reply to maxbublis (Show the comment) 1 year ago
@maxbublis only stupid moves on insult
zhkaz in reply to maxbublis (Show the comment) 1 year ago
@maxbublis you showed who you are )
zhkaz in reply to maxbublis (Show the comment) 1 year ago
I was glad someone corrected him about the list and tuple syntax. I bet he would have figured it out a bit later though, or John would have corrected him.
codygman91 1 year ago
why my teacher did not be impressed?because he expect a tiny short program.ye if you did it in finite way it is simple,just call sub which turbo c provided then it is short.but i did infinite and a lots of subs.of course it will be very difficult and become long.any way this clip is very good.i have to watch it three times since my English is poor.to prove that i guess in the last 1+9+5+2=17 !! am i right?
RussellTuan 1 year ago
k.i am from TAIWAN too,not a programmer,knowing little language.But I highly recommended flow chart.because with it,you can generated any code you want.i did x86 assembly for digital oscilloscope which i made for project of my last semester.i did turbo C for a little program which do convert in between decimal & binary & octal & hexadecimal,in a infinite digit way by turning them into strings ,and it turn out to be a big one 600 lines .but it did not impressed my teacher.
RussellTuan 1 year ago
Professors in MIT really know how to teach people.
Even a non-english programmer like me in Taiwan still understand what they are teaching and enjoy the online courses so much~
MIT OpenCourse rocks~
monsta0927 1 year ago 5
good stuff
Marshallarmy 1 year ago
each lecture theres less views
computerscienceftw 1 year ago
Comment removed
dudiatias 1 year ago
I have no chance to study in MIT now.
but I would like to study graduate education in the future.
The reason is that I am
MADE IN TAIWAN
kkkk888896 1 year ago
It looks like whoever is operating the cameras are doing it totally half-assed. They focus on the text of the source code and never pan to IDLE when he executes the code, like they don't know/care about what he's talking about.
Winkler099 1 year ago
Man i wish i m in MIT. University of Toronto sucks
luckyycharrm 1 year ago
@luckyycharrm Why?
joebobjoesayshi in reply to luckyycharrm (Show the comment) 1 year ago
It's python.
n167m4r3 1 year ago
What changes does the prof make at 43:20? I can't see what he did.
mrzipdisk 1 year ago
@mrzipdisk he added a comma after the i e.g. divisors = divisors + (i,)
broomballerBJS in reply to mrzipdisk (Show the comment) 1 year ago 2
@broomballerBJS thanx, yo. That caught me up for a few minutes. The shell kept spitting 'can't concatenate int.s with tuples'. You saved me hours of scouring the internetz
snaxlepaxle in reply to broomballerBJS (Show the comment) 1 year ago
I'm so glad that error was deliberate, I was reading it again and again thinking "am I thick? or does his code make no sense?" even typed it in to python and ran it to prove the point to myself.
bigbellybob 1 year ago
What is interesting - His Lecture Lec 1 gets 113,265 views, Lec 2 - 31,844 views, Lec 3 - 15,452 views, Lec 8 - 5,640 views,
Lec 14 - 3482 ..... It looks like exponetial decay ..... And how many of the viewers have listen to the entire lecture ? Perhaps MIT will have the courage to tell us.
KeliMutiso 2 years ago
Ok,
I plan to follow the course through and will look int c++ after. Thanks for responding.
svieczorek in reply to 0121ryanh117 (Show the comment) 2 years ago
@0121ryanh117
OK thanks
svieczorek in reply to 0121ryanh117 (Show the comment) 2 years ago
@ravigehlot
Agree, this is basic, but really useful.
andreasft 2 years ago 2
I would like to know how these concepts help programmers in the real world. Everybody isn't looking to find square roots. I wish the prof would clue me in to some concrete applications. Or help me to see the usefullness of what he is teaching.
svieczorek 2 years ago
Finally, there is a good use to youtube
perepiscka 2 years ago 133
@perepiscka pls, dont depreciatte youtube ... there is much more to see
CHOOK36 in reply to perepiscka (Show the comment) 1 year ago
@CHOOK36 Your right but still maybe its best to stop looking at those useless videos. Unless its gameplay of a video game and something else special... Its not really worth it
Gamsterjeff600 in reply to CHOOK36 (Show the comment) 1 year ago
@perepiscka Yes i agree!!! At least something useful!!!
Gamsterjeff600 in reply to perepiscka (Show the comment) 1 year ago
somebody write a python program that computes and prints the 1000th prime number.
PCnerdcore 2 years ago
if you look at their website, and go to the problem sets for homework, it tells you to solve for prime numbers. can you help me create a formula to find the 10000th prime?
danedaworld in reply to 0121ryanh117 (Show the comment) 2 years ago
@danedaworld use a counter and create an accumulating list. Starting from 0 (alternately, try writing this more efficiently by finding a lower bound (a good lower bound that is) for your prime number and start your counter there), increment by 1 and apply a prime number condition. Every time a number satisfies the prime condition, append it to your list and increase your counter. when your counter makes 1000, take l[len(l)-1] to be your 1000th prime
TheElMarsh in reply to danedaworld (Show the comment) 2 years ago
OhOh Oh OH OH OHHH!!
....Cant find the bound though. I have a hard time making a good condition for the prime. It always leaves out some numbers
danedaworld in reply to TheElMarsh (Show the comment) 2 years ago
@danedaworld well, the lower bound is not "necessary", an answer without the use of the bound will be sufficient - but perhaps not as efficient. Here is the idea: A prime, as you probably know, is only divisible by 1 and itself. Let's look at natural numbers: If b divides a, then a/b = k where k is in |N - thus kb = a. What can be said about b? (hint: could it be larger than a?). Could you not now form a FINITE set (note: this is important) for an iterative condition check pattern?
TheElMarsh in reply to danedaworld (Show the comment) 2 years ago
Comment removed
TheElMarsh in reply to danedaworld (Show the comment) 2 years ago
can someone help me with problem set number 2?
danedaworld 2 years ago
theese videos are realy good they realy give you a feel for what the class is like
im 14 and im going to college next year and im definatley doing a computer science course now :D
jamieomalley1 2 years ago
@jamieomalley1
what college
cogexman in reply to jamieomalley1 (Show the comment) 2 years ago
@cogexman
national university of ireland maynooth im working on a project for simulated reality and artificial intelligence
jamieomalley1 in reply to cogexman (Show the comment) 2 years ago
@jamieomalley1
well, never heard of it, but I guess it is real. but somehow i dont think ur 14...
cogexman in reply to jamieomalley1 (Show the comment) 2 years ago
@cogexman
no i am im nearly 15 i got skipped up 3 years i didnt do 1st 2nd or 5th year i only did the exam years
jamieomalley1 in reply to cogexman (Show the comment) 2 years ago
o ok
cogexman in reply to jamieomalley1 (Show the comment) 2 years ago
i dont get the odd even flow chart,,,, lets say x=5, (x/2) x 2 = 5 but its not an evn number....
skkk90 2 years ago
because 5 and 2 are integers, the result will also be an integer, so it will round the result.
thejasper110 in reply to skkk90 (Show the comment) 2 years ago
SO after making corrections for parenthesis, what was the last problem that must be fixed in order to avoid typeError: can only concatenate tuple (not "int") to tuple. [Time 44 minute]
surfpub2001 2 years ago
...divisors = divisors + (i,)
(Extra comma to show single item tuple)
micrypt in reply to surfpub2001 (Show the comment) 2 years ago
The flowchart is a good idea. It really helps to visualize your program. In koffice (ubuntu), there's a decent flowchart program called Kivio if anyone is trying to find one.
sapping1 2 years ago