• Member Avatar
    pyTony

    Began Watching Dealing with Negative Floating Values in Python3

    what is my best approach to deal with negative floating values in Python3? I know I can remove the negative all together with strip but I'd like to return the …
  • Member Avatar
    pyTony

    Replied To a Post in Dealing with Negative Floating Values in Python3

    You could just ignore the error data by try.. except. self is not good name for regular parameter as it is normally used in oo programs for the instance itself. …
  • Member Avatar
    pyTony

    Began Watching C program for Luhn algorithm

    guys i have this assignment about luhns algorithm and i cant seem to know where to start (i am very weak in functions and arrays) , if anyone can help …
  • Member Avatar
    pyTony

    Replied To a Post in C program for Luhn algorithm

    You have here very complete algorithm, but you should show effort of implementing it, even if you do not get everything right. After we can assist you in debugging or …
  • Member Avatar
    pyTony

    Began Watching Finding difficult

    I am very much interested in learning programing and software development skills. However i know sotware testing skills, knowledge of hardware, software applications, information security, networking. I do lot or …
  • Member Avatar
    pyTony

    Replied To a Post in Finding difficult

    You have tagged various programming languages, but I do not get really your point, can you give specific question or your problem. Anything showing were you are stuck and we …
  • Member Avatar
    pyTony

    Marked Solved Status for LISP interpreter in C++

    Hello, I have this huge problem. I'm supposed to make a LISP interpreter in C++ but I have absolutely no idea what the programm should look like. So far I …
  • Member Avatar
    pyTony

    Revoked Solved Status for 1st Python Project (Newbie)

    I am a beginner programmer and have been learning about how to use Java since February 2015 of this year. However, I just started learning how to write code in …
  • Member Avatar
    pyTony

    Marked Solved Status for 1st Python Project (Newbie)

    I am a beginner programmer and have been learning about how to use Java since February 2015 of this year. However, I just started learning how to write code in …
  • Member Avatar
    pyTony

    Began Watching remove similar numbers

    Hi, I am not using Python but I have script in python: part of script `elif line.find("CONECT") > -1: con = line.split() line_value = line_value + 1 #print line_value #print …
  • Member Avatar
    pyTony

    Replied To a Post in remove similar numbers

    Yes, you must just make the number split from file line numeric and check if that line had line_value in it if it is lower than current line_value, as you …
  • Member Avatar
    pyTony

    Began Watching Help with guessing number game

    Hi everyone, I am currently making a game in python. The objective of the game is to guess out the number within 6 guesses. I want to make a window …
  • Member Avatar
    pyTony

    Replied To a Post in Help with guessing number game

    I would not use input as a variable name, especially as you also try to use also the function input, which is hidden due to this.
  • Member Avatar
    pyTony

    Edited algorithm

    I'm struggling writing a java program that implement a queue. and another that implement a stack.
  • Member Avatar
    pyTony

    Replied To a Post in Python Acronym Program

    Did this solve your problem? If so, please mark it as solved.
  • Member Avatar
    pyTony

    Began Watching Python Acronym Program

    HI, I'm having some trouble with this program - its supposed to return an acronym based on the input of the user: It prints three of the same letter instead …
  • Member Avatar
    pyTony

    Replied To a Post in Python Acronym Program

    Here is bit more advanced version when you start to internalize the Python philosophy: # Lets make it run with Python2 from __future__ import print_function try: input = raw_input except: …
  • Member Avatar
    pyTony

    Replied To a Post in "Hello World" Fun

    Vegaseat: Bit more interesting content decorator: def print_it(func): def inner(*args): print(' '.join(func())) return func return inner @print_it def my_func(): return "Hello", "World" my_func()
  • Member Avatar
    pyTony

    Edited Need help with Python Program

    #Template for Program 6 #Complete the code in each module as discussed in #the Program 6 Instructions def main(): #initialize variables so incomplete code won't cause errors #can be deleted …
  • Member Avatar
    pyTony

    Began Watching Is Go a legacy language?

    Just wondering. Exploring Google's Go language, a modern day C with the Google in it.
  • Member Avatar
    pyTony

    Replied To a Post in Is Go a legacy language?

    Would we need New Hopefulls forum?
  • Member Avatar
    pyTony

    Edited iranian datetime package

    @Niloofar24 was looking for an Iranian datetime package and last night I found one in the internet so I wrote a simple code which counts the days and hours and …
  • Member Avatar
    pyTony

    Began Watching Rainfall Program

    #Template for Program 4 #Note: This program does not require the use modules (Ch 3) #Remember to indent code that is within the for loop (4 spaces or 1 tab) …
  • Member Avatar
    pyTony

    Replied To a Post in Rainfall Program

    You did not ask anything and this is not functional prrogram, what is your reason for posting it?
  • Member Avatar
    pyTony

    Edited Rainfall Program

    #Template for Program 4 #Note: This program does not require the use modules (Ch 3) #Remember to indent code that is within the for loop (4 spaces or 1 tab) …
  • Member Avatar
    pyTony

    Began Watching Need help with Python Program

    #Template for Program 6 #Complete the code in each module as discussed in #the Program 6 Instructions def main(): #initialize variables so incomplete code won't cause errors #can be deleted …
  • Member Avatar
    pyTony

    Replied To a Post in Need help with Python Program

    You forget to state your problem or question.
  • Member Avatar
    pyTony

    Edited Need help with Python Program

    #Template for Program 6 #Complete the code in each module as discussed in #the Program 6 Instructions def main(): #initialize variables so incomplete code won't cause errors #can be deleted …
  • Member Avatar
    pyTony

    Began Watching Old old programmer needs some personal help!

    One of my first programs was coded on paper tape. Another was via punched cards. I foresaw amazing stuff, e.g., artificial intelligence, models for weather, space travel, etc., but never …
  • Member Avatar
    pyTony

    Replied To a Post in Old old programmer needs some personal help!

    Considering your mathematical background, if you need some exercises after you got the basics and before tackling recoding your old code to Python (nice and very recommendable own project to …

The End.