Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Python factorial code
Post: RE: Python factorial code

Thanks Lars, type casting to integer seems to do the trick! Regards, tim (Sep-26-2020, 09:42 PM)timebrahimy Wrote: Hi all, I am new to scientific python. While trying to follow the code below i al...
timebrahimy General Coding Help 4 77,775 Sep-27-2020, 12:23 AM
    Thread: Python factorial code
Post: RE: Python factorial code

The answer for n = 6 should be as follows: Enter a value for n:6 Execution tr else The value of 6! is 720
timebrahimy General Coding Help 4 77,775 Sep-26-2020, 09:53 PM
    Thread: Python factorial code
Post: Python factorial code

Hi all, I am new to scientific python. While trying to follow the code below i always get "Factorial does not exist" response. I am using python 3.8 but the code is written in python 2.7 and it works....
timebrahimy General Coding Help 4 77,775 Sep-26-2020, 09:42 PM

User Panel Messages

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