Forum: Python Feb 26th, 2009 |
| Replies: 2 Views: 1,046 |
Forum: Python Feb 17th, 2009 |
| Replies: 2 Views: 1,046 i want to print string(given as input) as number(o/p) and i did it in c using switch case .i want to do the same in python...
wat if python provides switch case??n do we have equivalent of it in... |
Forum: Python Feb 16th, 2009 |
| Replies: 5 Views: 636 |
Forum: Python Feb 14th, 2009 |
| Replies: 9 Views: 1,095 hi guys i tried out wat u said but its showing error:name error
my code was like this:
first=input("Enter a sentence :\n")
second=""
vowels='aeiou'
for i in first:
if i in vowels:
... |
Forum: Python Feb 14th, 2009 |
| Replies: 8 Views: 1,867 thanks scru and ene... :D
i think i've to go through basics well..and which book do u think is best and easy to learn for beginners in python?? |
Forum: Python Feb 13th, 2009 |
| Replies: 8 Views: 1,867 hi scru,
it wud b more helpful if u can explain the above sol for this scenario
suppose if i give
>>> l1=[1,2,3,4,5]
>>> l1
[1, 2, 3, 4, 5]
i want l1 to print [1.0,2.0,3.0.....](in float) |
Forum: Python Feb 13th, 2009 |
| Replies: 8 Views: 1,867 Given a list of integers, generate the list of the corresponding floats. |
Forum: Python Feb 13th, 2009 |
| Replies: 5 Views: 636 hi guys
wat if List is equivalent 2 Arrays in c
or do we have Arrays seperately defined in python?? |