- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Инженер комплекÑа IPTV
- Interests
- python, Ñ/c++, java, photo
Re:
Hi Friends, I had a issue with telnet conncection in python. Can you send me a working module to connect to telnet windows from a linux machine using python scripting.. Thanks in Adwance, Omkar |
|
Re:
# Purpose: Tax input amount # #----------------------------------------------------------------------- # VARIABLE DEFINITIONS salesAmount= 0.0 salesTax=0.0 total=0.0 #----------------------------------------------------------------------- # CONSTANT DEFINITIONS #----------------------------------------------------------------------- # FUNCTION DEFINITIONS #----------------------------------------------------------------------- # PROGRAM'S MAIN LOGIC salesAmount = float (raw_input("Enter the sales amount:")) salesTax = float(salesAmount*0.08) total = salesAmount + salesTax print "The sales amount is $", salesAmount print … |
|
Re:
#include <iostream> using namespace std; struct student { char name [50]; char S_code [5]; int fees; }; void display(struct student); double input(struct student&); int main() { double total; student stu; total=input(stu); display(stu); input(stu); return 0; } double input (struct student&stu ) { double total=0; char again ='y'; cin.getline (stu.name,50); while … |
|
Re:
Hi - I'm a rookie programmer. Could somebody explain how I can append a nested list of the form: List = [[Name1,[Detail-1,Counter-1],[Detail-2,Counter-2].....] [Name2,[Detail-1,Counter-2],[Detail-2,Counter-2].....] ................................................. ] My code is : def program(List, Name, Detail): for entry in List: if entry[0] == Name: entry[1].append([Detail,Counter]) return [B][I] List.append ([Name,[Detail]]) for entry in index: … |