Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Why isn't this code working ? (noob here)
Post: Why isn't this code working ? (noob here)

It should output the list with the dictionary with the changed values as specified in the second for loop, but it doesnt. Picture of output is included. aliens = [] for l in range (1,30): alien...
SuperSymmetry General Coding Help 1 2,370 Jan-12-2018, 08:52 PM
    Thread: Same codes show different output ?
Post: RE: Same codes show different output ?

(Jul-15-2017, 10:30 PM)tozqo Wrote: So you're saying that using PyCharm in Python 2.x version mode will try to interpret your Python 3.x code differently than using PyCharm in 3.x mode. Just because...
SuperSymmetry General Coding Help 12 8,617 Jul-22-2017, 05:51 PM
    Thread: Code isn't working in several IDE's when other people are getting desired output.
Post: Code isn't working in several IDE's when other peo...

my question here names = ["daken" , "deadpool" , "elixir" , "cypher" ] you = names.pop(0) v = str(input('Enter a question')) if v == "Who am I ? ": print("You are" , you ) else: print("Yo...
SuperSymmetry General Coding Help 1 2,527 Jul-22-2017, 05:50 PM
    Thread: Same codes show different output ?
Post: RE: Same codes show different output ?

(Jul-10-2017, 02:09 PM)DeaD_EyE Wrote: The snake bite you. You're using Python 2.x. In Python 2 input evaluates the input. + is an operator. What happens if you just enter the + in the repl? In Pyt...
SuperSymmetry General Coding Help 12 8,617 Jul-12-2017, 06:52 AM
    Thread: Same codes show different output ?
Post: RE: Same codes show different output ?

(Jul-10-2017, 08:17 AM)tozqo Wrote: 2nd one works for me too. Either you got a haunted IDLE process, or a typo in your input. Oddly, the same thing happened to me when I tried doing my first calcula...
SuperSymmetry General Coding Help 12 8,617 Jul-10-2017, 01:36 PM
    Thread: Same codes show different output ?
Post: Same codes show different output ?

Trying to write a program to perform various functions on numbers. num1, operator, num2 = input ('enter calculation').split() num1 = int(num1) num2 = int(num2) if operator == "+": print("{} + {} =...
SuperSymmetry General Coding Help 12 8,617 Jul-09-2017, 08:43 AM

User Panel Messages

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