Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: could you please help how to run this file on command prompt
Post: RE: could you please help how to run this file on ...

64 bit ,Windows , intel core TM ,i7-6500UCPU 2.5GHz , 8GB RAM i also installed sypder python(3.6)
m123 General Coding Help 6 7,281 Mar-24-2018, 06:55 PM
    Thread: need help what is the error here
Post: RE: need help what is the error here

it worked fine got 201 as answer,dont know what is the error but got output ,maybe like you said indentation cube = 8120601 for guess in range(abs(cube)+1): # passed all potential cube roots ...
m123 General Coding Help 2 2,517 Mar-24-2018, 04:52 PM
    Thread: could you please help how to run this file on command prompt
Post: RE: could you please help how to run this file on ...

yes that didnot produce any result. sorry maybe wrong question
m123 General Coding Help 6 7,281 Mar-24-2018, 04:41 PM
    Thread: could you please help how to run this file on command prompt
Post: could you please help how to run this file on comm...

code is as shown below, saved as ynb.py def get_cube_root(num): return num ** (1. / 3)i tried to run in command prompt Error:C:\Users\s\Documents>python -c get_cube_root(27) ImportError: No modu...
m123 General Coding Help 6 7,281 Mar-24-2018, 12:30 AM
    Thread: need help what is the error here
Post: need help what is the error here

i am trying to find the cube root and print cube=-64 for i in range(abs(cube)+1): if i**3 >=abs(cube): break if i**3 !=abs(cube): print(cube," is not a perfect cube") else: if cube<0: ...
m123 General Coding Help 2 2,517 Mar-22-2018, 02:22 AM
    Thread: name is not defined error
Post: RE: name is not defined error

thankyou
m123 General Coding Help 2 5,617 Mar-18-2018, 03:36 PM
    Thread: name is not defined error
Post: name is not defined error

hi just started learning python. i am trying to execute this code but unable to see the ouptut receiving error an_letters = "aefhilmnorsxAEFHILMNORSX" word = input("I will cheer for you! Enter a wo...
m123 General Coding Help 2 5,617 Mar-17-2018, 09:03 PM

User Panel Messages

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