Search Results

Showing results 1 to 4 of 4
Search took 0.01 seconds.
Search: Posts Made By: snippsat
Forum: Python 14 Days Ago
Replies: 10
Views: 504
Posted By snippsat
Kind off help whit some clear messages.
>>> we_dot_do_homework_if_no_effort_is_shown = 2
>>> 1 % we_dot_do_homework_if_no_effort_is_shown
1
>>> 2 % we_dot_do_homework_if_no_effort_is_shown
0...
Forum: Python Oct 25th, 2009
Replies: 12
Views: 448
Posted By snippsat
This code had been better without a class,and this is not the OOP way of thinking.
One function for Addition/Division....... can be shorten by eval()

>>> a = eval('5+8886/45*4554545')
>>> a...
Forum: Python Oct 5th, 2009
Replies: 6
Views: 267
Posted By snippsat
There are several problem here.
Python 3.x only use input(raw_input only work for 2.x)

=assign variable(can not use in = in a if statement.
== Compares if the objects are equal

To get a...
Forum: Python Oct 4th, 2009
Replies: 12
Views: 391
Posted By snippsat
input is a method that is build in to python.
And you can not do this input.find

>>> input.find

Traceback (most recent call last):
File "<pyshell#53>", line 1, in <module>
input.find...
Showing results 1 to 4 of 4

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC