Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Python bricks
Post: Python bricks

We want to make a row of bricks that is goal inches long. We have a number of small bricks (1 inch each) and big bricks (5 inches each). Return True if it is possible to make the goal by choosing from...
ahsankhan Homework 3 3,871 Aug-09-2018, 02:39 PM
    Thread: Writing chr(128) to text file returns errors.
Post: RE: Writing chr(128) to text file returns errors.

use json file instead of txt import json filename = 'user.json' n=128 with open(filename, 'w')as file_object: json.dump(n,file_object) if you want to use txt file so do like this filename = 'pro...
ahsankhan General Coding Help 5 4,508 Aug-06-2018, 09:59 PM
    Thread: Random Math Text Based Game
Post: RE: Random Math Text Based Game

print ("Welcome to the random math question game!") print ("Level 1") print ("Possible length of Numbers: 1") print ("Possible number of Operators: 1") import random import operator num1 = random....
ahsankhan Homework 2 4,487 Aug-05-2018, 05:40 PM
    Thread: Learning Python
Post: RE: Learning Python

(Nov-27-2016, 10:25 PM)alpbetaC0der Wrote: Hello, I would like to learn Python - however i have a dilemma; i have been reading "Learn Python the Hard Way" and it suggests that i use Python 2 instead...
ahsankhan Data Science 5 5,088 Aug-05-2018, 05:20 PM

User Panel Messages

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