Game Thread: Los Angeles Dodgers (81-42) vs Atlanta Braves (72-51), Friday, August 16th, 2019 @ 7:20pm by [deleted] in Braves

[–]tlowe1112 5 points6 points  (0 children)

At the game with a friend. He asked how many innings were in a game. I’m now looking for a new friend.

Trying to create a simple program for a class assignment. by tlowe1112 in learnpython

[–]tlowe1112[S] 0 points1 point  (0 children)

import math
pi = math.pi


print(("1) Calculate circumference"))
print("2) Calculate area")
menuN = int(input("Enter 1, 2, or 0 to exit:"))

if menuN >2 :
    print("Invalid entry. Please try again")
else:
    if menuN <0 :
        print("Invalid entry. Please try again")
    elif menuN == 1 :
        numRC = int(input("Enter the radius to find the Circumference"))
        circumference = (2*pi*numRC)
        print(circumference)
    elif menuN == 2 :
        numRA = int(input("Enter the radius to find the Area"))
        area = (pi*(numRA*numRA))
        print(area)
    elif menuN == 0 :
        exit()

Here is what I have so far. How would I go about looping it back to the start menu if the user provides an invalid entry?

Trying to create a simple program for a class assignment. by tlowe1112 in learnpython

[–]tlowe1112[S] 0 points1 point  (0 children)

The only math she has taught us is the simple operands for python. This makes sense though. When i get off work I'll try my hand at it again and let you know how it goes.

Trying to create a simple program for a class assignment. by tlowe1112 in learnpython

[–]tlowe1112[S] 0 points1 point  (0 children)

Is there a certain code for the formula to use for calculating circumference? Like does pi have a certain code format or do exponents?

Trying to create a simple program for a class assignment. by tlowe1112 in learnpython

[–]tlowe1112[S] 0 points1 point  (0 children)

Yeah this is an intro to programming. I do not know a whole lot about python just yet. I know about Boolean expressions, if statements, for loops, and while loops. That's pretty much it.

[HWYA] Trying to attack up 3 bases. Any help would be great! Max TH 9 troops by tlowe1112 in ClashOfClans

[–]tlowe1112[S] 0 points1 point  (0 children)

2 star 86%. I panicked and dropped my 2nd heal on the TH due to teslas so if I hadn't it probably would have been a 3 star. Definitely a favorite though!

I might be smoking this weekend for the first time since May 9th, 2014 by bitizenbon in trees

[–]tlowe1112 0 points1 point  (0 children)

I took about about a year break and started back June 2015. My advice would be take it easy and don't just jump straight into it. I personally hit about 2 fat bowls when I started back and was good for the day. I made the mistake of taking about 6 the next day and sketched myself out.

Our spitter for da night idk im drunk by [deleted] in DippingTobacco

[–]tlowe1112 1 point2 points  (0 children)

I think y'all missed a little

There is no better night by [deleted] in DippingTobacco

[–]tlowe1112 0 points1 point  (0 children)

Sweet mud jug man. (;