Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: ISO Homework Help
Post: RE: ISO Homework Help

Perfect, thank you. That's all I needed. I understand concepts. I'm just trying to get down the lingo. This is literally my first couple of months coding anything ever.
Kongurinn Homework 3 3,759 Nov-10-2017, 05:25 AM
    Thread: ISO Homework Help
Post: ISO Homework Help

Hey, everyone. I, like many of you, are drowning in school work right now and I have been so focused on my Accounting class that I've lost hold of a lot of my Python-Know-How. With that said I migh...
Kongurinn Homework 3 3,759 Nov-10-2017, 04:39 AM
    Thread: NEED HELP Pseudo-Random Numbers
Post: RE: NEED HELP Pseudo-Random Numbers

Can someone give me a short example of how to do this properly? That's, honestly, how I learn best.
Kongurinn Homework 9 5,482 Oct-22-2017, 05:11 AM
    Thread: How to print the names of assignments if they are randomly selected
Post: How to print the names of assignments if they are ...

Here is what I have (just playing around making a black jack game for a bit of Python practice): from random import * def main(): aceHearts, aceSpades, aceDiamonds, aceClubs = 11, 11, 11, 11 ...
Kongurinn General Coding Help 2 3,339 Oct-22-2017, 04:27 AM
    Thread: NEED HELP Pseudo-Random Numbers
Post: RE: NEED HELP Pseudo-Random Numbers

I thought I passed the variables on when I coded these lines: def shutout(scoreA, scoreB): shutoutsA = 0 shutoutsB = 0 while simNGames(probA, probB): if scoreA == 0: s...
Kongurinn Homework 9 5,482 Oct-20-2017, 01:25 AM
    Thread: NEED HELP Pseudo-Random Numbers
Post: RE: NEED HELP Pseudo-Random Numbers

It either wont print at all or says 'shutoutsA' or 'shutoutsB' is not defined. It all depends where I go to try and print the 'shutouts'. This is what I get: Error:"Traceback (most recent call last):...
Kongurinn Homework 9 5,482 Oct-20-2017, 01:10 AM
    Thread: NEED HELP Pseudo-Random Numbers
Post: NEED HELP Pseudo-Random Numbers

Hey everyone. I've been coding for about a month now. Trying to figure out the assignment I got this week. THe assignment asked me to find if there were any shutouts in a simulation of games and repor...
Kongurinn Homework 9 5,482 Oct-20-2017, 01:01 AM
    Thread: Python shell not functioning
Post: RE: Python shell not functioning

Sorry, I'm new to Python (and coding as a matter of fact). Just realized that it became a seed and the real return for a random number would be random()
Kongurinn General Coding Help 2 3,415 Oct-19-2017, 10:03 PM
    Thread: Python shell not functioning
Post: Python shell not functioning

I'm having issues with the python shell itself and running some functions. I've tried importing the random library and whenever I use seed nothing happens. Any ideas? from random import * seed(123)At...
Kongurinn General Coding Help 2 3,415 Oct-19-2017, 09:38 PM
    Thread: IF statement Issues
Post: RE: IF statement Issues

I should probably change my ELSE output but it should say I will not be able to be a senator. How would I add an else tag for just that so it still says I can be in the house of representatives.
Kongurinn Homework 7 4,379 Oct-04-2017, 02:05 PM
    Thread: IF statement Issues
Post: RE: IF statement Issues

It is indented when I paste it in but when I post it the indentations aren't there. def main(): age = eval(input("Enter your age: ")) citizen = eval(input("Enter the amount of years you have ...
Kongurinn Homework 7 4,379 Oct-04-2017, 02:13 AM
    Thread: IF statement Issues
Post: IF statement Issues

#hey everyone I am a new student in Python. Below is some code working on IF statements. Please #refer to the comment question in the middle of the page. def main(): age = eval(input("Enter your ...
Kongurinn Homework 7 4,379 Oct-04-2017, 02:02 AM
    Thread: Return options
Post: Return options

Hey every just starting my first class in Python this semester. What is the difference between a print() and a return function, when defining a user created function? They both return the answer so I...
Kongurinn General Coding Help 1 3,303 Sep-28-2017, 02:28 PM

User Panel Messages

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