|
And the purpose of posting the question was what?
|
|
|
|
|
post = "function"
while input = 'function?':
print 'That was funny!'
else:
print 'That was Stupid'
|
|
|
|
|
My purpose was to try and find other programmers that share my enthusiasm for learning.
Have a good day.
|
|
|
|
|
This answer is partially correct.
Yes I forget the operative of : when typing this but the real problem is that it creates an infinite loop that causes Pythong to crash.
|
|
|
|
|
If you understand why it crashed, then it was a worthwhile exercise.
Clue: the infinite loop isn't why it crashed. It crashed after just 3 iterations, so there must be something else happening here. (Another clue: think powers of 2)
|
|
|
|
|
I would have to say it is neither the infinite loop, nor the multipication. The reason for the crash is quite clearly evidence of the programmers inability! 
|
|
|
|
|
This question was rhetorical, and intended as a joke.
Looks like my humor is about as good as my programming skills and grammor.
----- Just excited to be learning about Python -----
|
|
|
|
|
I for one thank you for the test.
I know c and pascal and... but just learning python. this exercise was vary useful for me and I got several loops (18) before the system bogged down for 1 min and the printout started to mess up.
|
|
|
|
|
As wampserver2 comes with php 5.3.0 but it is not compatible with Joomla 1.5, so, I need to install php 5.2.9 on wamp server2 and delete php 5.3.0
Plz help
|
|
|
|
|
I too used wampserver2 sometimes. I'm curious why you want to delete the latest version? I have no problems with it.
Sir.Dre
|
|
|
|
|
FWIW: I'm running XAMPP 1.6.6 which has PHP 5.2.5, which I downloaded and installed 17 months ago. (I had WAMP before that).
Not sure which PHP currently is part of XAMPP, you should be able to find out here[^], and maybe older versions are still available.
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
|
|
|
|
|
|
Hi...
I have create or install zoomla successfully.
But now i can't understand,from where i have to start.
How can i integrate my php project to zoomla?
suppose if i want to add my gridview page of my site in zoomla what i have to do?
what about spider and zoomla integration?
Kindly help to solve this issue.
Thanks.
PUJA FALDU
|
|
|
|
|
Hi, does ubuntu linux is the secure operating system for the end user and the server (in compare to the other operating system)?
Thank in advance!!!
|
|
|
|
|
It's Linux so yes! Ubuntu is based of Debain GNU/Linux which is one of the most stable and secure Linux distro out there! Ubunutu is a little more cutting edge, there is excellent support for it on the Ubuntu forums.
I have Kubuntu 64bit (Ubuntu + KDE desktop) running on my box at home and on my laptop.
Kind Regards,
Rajinder Yadav
web: devmentor.org
Do Good! ~ Share Freely
|
|
|
|
|
Linux is a more secure operating system. 90 percent of all viruses are written for windows boxes. It might be possible to write a virus for linux, specifically ubuntu linux, but the big problem with this is that there are so many linux distros out there. Therefore, getting a virus that affects specifically ubuntu would be very hard to do.
|
|
|
|
|
How to write a script that uses a control statement (such as FOR loops, WHILE loops, etc...) to print out 50 lines using variables as shown in Figure 1. Note that Line 3 is derived by adding Line 1 & 2. Line 4 is derived by adding Line 2 & 3 and so on…
Line 1 : 1
Line 2 : 1
Line 3 : 2
Line 4 : 3
Line 5 : 5
Line 6 : 8
Line 7 : 13
Line 8 : 21
…
…
Figure1.
Output from executed script
Smaini
|
|
|
|
|
q = [0,1]
for i in range(1,50):
sum = q[0] + q[1]
print 'Line %d : %d' % (i,sum)
if i > 1:
q = [ q[1], sum ]
MBH
|
|
|
|
|
Ok thanks for your suggestion!! 
|
|
|
|
|
In Windows hosting $ud=fopen("..\html/vol.html","w");
it is working but not working in Linux hosting what i need to change ?
|
|
|
|
|
|
and linux will be cAse seNSitiVe.
|
|
|
|
|
hi.
I am new to linux. i've started using linux by installing ubuntu on my pc. and i am looking for an c++ IDE.
waiting for your suggestions ...
thank you
|
|
|
|
|
Give Qt Creator a try, you might like it. It's available from the Ubuntu Software Center.
Note: you might also need to install the g++ package from the Synaptic Package Manager to build things.
|
|
|
|
|
han.
Qt Creator, Codelite, Anjuta or code:block. Monodevelop can be used as a editor.
Thank you.
|
|
|
|