Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: a simple calculator
Post: RE: a simple calculator

(Dec-29-2017, 08:04 PM)Solstice Wrote: A simple calculator, for simple calculations. print("simple calculator by Solstice") print("I-----I") print("I00000I") print("I-----I") print("I1 2 3I") print(...
Ablazesphere Code sharing 17 8,803 Mar-10-2019, 09:15 AM
    Thread: How do I permanently change a list after user's input?
Post: RE: How do I permanently change a list after user'...

(Oct-31-2018, 10:15 AM)buran Wrote: To save information between separate runs you need to store information somewhere, e.g. database, simple text file, etc. Then when you run your script - read from...
Ablazesphere General Coding Help 6 4,340 Oct-31-2018, 12:47 PM
    Thread: How do I permanently change a list after user's input?
Post: RE: How do I permanently change a list after user'...

(Oct-31-2018, 07:41 AM)buran Wrote: Could you elaborate what does permanently change a list means? Also it's good to show some example code what you try to do so that we can be helpful. lst = ["Lapt...
Ablazesphere General Coding Help 6 4,340 Oct-31-2018, 10:03 AM
    Thread: How do I permanently change a list after user's input?
Post: How do I permanently change a list after user's in...

Need Help **pray** **pray**
Ablazesphere General Coding Help 6 4,340 Oct-31-2018, 06:55 AM
    Thread: A CLI based Rock,Paper or Scissor game.
Post: RE: A CLI based Rock,Paper or Scissor game.

(Oct-27-2018, 08:56 PM)ichabod801 Wrote: We don't delete accounts on this site.Awesome.
Ablazesphere Code sharing 7 4,435 Oct-28-2018, 07:25 AM
    Thread: A CLI based Rock,Paper or Scissor game.
Post: RE: A CLI based Rock,Paper or Scissor game.

Is there an option to delete my forum account?
Ablazesphere Code sharing 7 4,435 Oct-27-2018, 01:39 PM
    Thread: A CLI based Rock,Paper or Scissor game.
Post: RE: A CLI based Rock,Paper or Scissor game.

(Oct-26-2018, 04:47 PM)micseydel Wrote: I only vaguely looked at your other thread, so forgive me if this is "mean" instead of a "good comment" but: Line 6 evaluates to 'y', which is probably not wh...
Ablazesphere Code sharing 7 4,435 Oct-26-2018, 05:12 PM
    Thread: A CLI based Rock,Paper or Scissor game.
Post: A CLI based Rock,Paper or Scissor game.

Please like my post if you did. **dance** **dance** import time import random j = 0 choice = 'y' or 'n' point_pc = 0 point_user = 0 user = input("Enter your name : ") while choice.lower() in (...
Ablazesphere Code sharing 7 4,435 Oct-26-2018, 02:57 PM
    Thread: A CLI based Dice Roller.
Post: RE: A CLI based Dice Roller.

(Oct-26-2018, 11:11 AM)buran Wrote: Do whatever you want... For the benefit of the other who may look at the thread from random import choice faces = ['X X X\nX 0 X\nX X X', '0 X X\nX X X\nX X 0', '...
Ablazesphere Code sharing 10 6,563 Oct-26-2018, 11:20 AM
    Thread: A CLI based Dice Roller.
Post: RE: A CLI based Dice Roller.

(Oct-26-2018, 10:39 AM)buran Wrote: (Oct-26-2018, 10:19 AM)Ablazesphere Wrote: What I am trying to say is whether you use a while loop or an if statement your bound to get a same output. Right? Th...
Ablazesphere Code sharing 10 6,563 Oct-26-2018, 10:46 AM
    Thread: A CLI based Dice Roller.
Post: RE: A CLI based Dice Roller.

Guys it doesn't take much time to leave a like. Please like I would appreciate it (Oct-26-2018, 10:15 AM)buran Wrote: (Oct-26-2018, 10:12 AM)Ablazesphere Wrote: Good idea but I used while loop pur...
Ablazesphere Code sharing 10 6,563 Oct-26-2018, 10:19 AM
    Thread: A CLI based Dice Roller.
Post: RE: A CLI based Dice Roller.

(Oct-24-2018, 09:39 PM)nilamo Wrote: (Oct-24-2018, 03:48 PM)Ablazesphere Wrote: while choice == 'n': print("Goodbye") print() print("Coded by Muhammed©") time.sleep(10) break Why have a while loop...
Ablazesphere Code sharing 10 6,563 Oct-26-2018, 10:12 AM
    Thread: A CLI based Dice Roller.
Post: A CLI based Dice Roller.

Please like if you liked my code. **tongue** **tongue** import random import time choice = 'y' or 'n' x = 0 input_1 = input("Press 1 for rolling a dice or 2 to exit the simulator : ") while cho...
Ablazesphere Code sharing 10 6,563 Oct-24-2018, 03:48 PM
    Thread: A CLI based shopping program written in Python
Post: RE: A CLI based shopping program written in Python

(Oct-22-2018, 04:31 PM)Ablazesphere Wrote: Guys please like my post i would appreciate it very much if you did. Thank You
Ablazesphere Code sharing 5 3,821 Oct-23-2018, 03:45 PM
    Thread: A CLI based shopping program written in Python
Post: RE: A CLI based shopping program written in Python

Guys please rate this thread i would appreciate it very much if you did. Thank You
Ablazesphere Code sharing 5 3,821 Oct-22-2018, 04:31 PM
    Thread: A CLI based shopping program written in Python
Post: RE: A CLI based shopping program written in Python

(Oct-22-2018, 01:43 PM)ichabod801 Wrote: Not bad. A few tips/pointers: I would put the items in a dictionary. Have the items be keys and the costs be values (as integers). I would think the system ...
Ablazesphere Code sharing 5 3,821 Oct-22-2018, 02:52 PM
    Thread: A CLI based shopping program written in Python
Post: A CLI based shopping program written in Python

#MINI SHOPPING CLI PROGRAM import time import random item = ["Laptop","T-Shirt","Pants"] #You may add your own items cost = ["Rs 35600","Rs 2000","Rs 1200"] #You may add your own price of your items...
Ablazesphere Code sharing 5 3,821 Oct-22-2018, 01:25 PM

User Panel Messages

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