Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: list from defined function
Post: RE: list from defined function

(Jan-05-2020, 10:02 AM)Coastal Wrote: Hey I'm trying to learn how to define a function. As an example I made a "only want even number from a range" function def even_numbers_only(a, b): even_n...
Killertjuh General Coding Help 3 2,633 Jan-06-2020, 07:00 AM
    Thread: Homework on conditional execution
Post: RE: Homework on conditional execution

You cannot work with range thats does not support float numbers. You can rewrite this with something like this: score = float(input('Enter a score: ')) if (score*10) in range(0, 10, 1): if float(...
Killertjuh Homework 6 3,297 Jan-03-2020, 01:43 PM
    Thread: IndexError: index 8 is out of bounds for axis 0 with size 8
Post: RE: IndexError: index 8 is out of bounds for axis ...

(Jan-03-2020, 09:39 AM)Help_me_Please Wrote: I think I have emended as suggested and the problem is still around. thanks for this help. Do you have any other suggestions? something like this ? ...
Killertjuh General Coding Help 6 65,879 Jan-03-2020, 12:41 PM
    Thread: how do I make a number only print once but the number keeps on decreasing?
Post: RE: how do I make a number only print once but the...

import time import winsound # User Input def choose(): # With a function you have to return your multi var user = 'yes' plan = input("What Your Plan For Today? : "...
Killertjuh General Coding Help 5 2,973 Jan-03-2020, 09:31 AM
    Thread: how do I make a number only print once but the number keeps on decreasing?
Post: RE: how do I make a number only print once but the...

Do you mean this? while multi > 0 or user == 'yes': print(multi)Change to: print(multi) while multi > 0 or user == 'yes': And this: if user == 'yes': plan = input("...
Killertjuh General Coding Help 5 2,973 Jan-03-2020, 07:23 AM
    Thread: How to append one function1 results to function2 results
Post: RE: How to append one function1 results to functio...

#import difflib import os my_dir = 'D:\Backupdata\PythonCodes' post_fix1 = ['\InputFiles\InputCSV1.csv','\InputFiles\InputCSV2.csv'] post_fix2 = ['\InputFiles\InputCSV1.csv','\InputFiles\InputCSV23.cs...
Killertjuh General Coding Help 5 3,168 Jan-02-2020, 12:11 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020