Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Understanding a piece of code
Post: RE: Understanding a piece of code

Thanks!
Michael1 General Coding Help 4 1,430 Jan-20-2022, 07:14 PM
    Thread: Understanding a piece of code
Post: RE: Understanding a piece of code

Im trying to understand why the complier gives 314.0
Michael1 General Coding Help 4 1,430 Jan-20-2022, 06:37 PM
    Thread: Understanding a piece of code
Post: Understanding a piece of code

def area(x,y = 3.14): # formal parameters a = y*x*x print (a) return a a = area(10) print("area",a)* Here is what I am doing: 3.14 * 3.14 * 3.14 = 30.56476 30.56476 is a then 30.56476...
Michael1 General Coding Help 4 1,430 Jan-20-2022, 06:25 PM
    Thread: How to Loop This Code
Post: How to Loop This Code

#Addition print ("Hello User, Eneter numbers to add ") num1 = float (input ("Eneter first numner, ")) num2 = float (input ("Eneter second numner, ")) x = num1 + num2 print (x)Hello, can you tell me ho...
Michael1 General Coding Help 2 1,290 Dec-09-2021, 06:42 PM
    Thread: How to Loop my calculator input
Post: How to Loop my calculator input

Hello guys, I created a addition and subtraction calculator and I am wondering how to get the calculator to keep looping where it keeps asking for an input and then carrying out the right operation. R...
Michael1 General Coding Help 2 3,772 Dec-13-2019, 03:30 AM
    Thread: "SynatxError" Invalid Syntax Help
Post: RE: "SynatxError" Invalid Syntax Help

Thank you!
Michael1 General Coding Help 2 2,426 Nov-27-2019, 11:24 PM
    Thread: "SynatxError" Invalid Syntax Help
Post: "SynatxError" Invalid Syntax Help

Hello, as I am writing my program, i wrote the code x = 10 if x < 100 from here python automatically gives me the following message SyntaxError: invalid Syntax I tried switching the "<" aro...
Michael1 General Coding Help 2 2,426 Nov-27-2019, 09:25 PM

User Panel Messages

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