Search 85,389 tutors

Computer Science Resources

Write a function which is given the day number, and it returns the day name (a string). Assume the days of the week are numbered 0,1,2,3,4,5,6 from Sunday to Saturday in Python with if statements...


''' Did you know?   A few hack, cracks and obfuscated examples, which may actually lead to less confusion and a greater knowledge of why things work and how. However, these examples have a purpose, and should not be taken, in any way as correct or just another way to achieve a common goal. They are purposely, in some cases, convoluted.   I. String, things, hacking, and... read more


Well done folks! We have finally arrived. This the third part of the three-part computer programming post. We will learn how to write a program that will accept data by user input through the keyboard and also print out a result to the computer monitor after performing a simple task of checking if the number is positive of negative. For simplicity, I have chosen the object-oriented, higher... read more


This is the second part of the Computer Programming three part blog post. Here is a synopsis of the background knowledge and the necessary terminology needed before writing a computer program. Those students who are curious about writing computer programs, those who are being home-schooled, or those who are in special education programs will find this post especially useful. I intend to prepare... read more

1 2 3 4 5