Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Given #51670

Closed
Fallen mannequin opened this issue Dec 1, 2009 · 2 comments
Closed

Given #51670

Fallen mannequin opened this issue Dec 1, 2009 · 2 comments

Comments

@Fallen
Copy link
Mannequin

Fallen mannequin commented Dec 1, 2009

BPO 7421
Nosy @ericvsmith

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2009-12-01.20:47:34.311>
created_at = <Date 2009-12-01.20:38:19.137>
labels = ['invalid', 'OS-windows']
title = 'Given'
updated_at = <Date 2009-12-01.20:47:34.299>
user = 'https://bugs.python.org/Fallen'

bugs.python.org fields:

activity = <Date 2009-12-01.20:47:34.299>
actor = 'eric.smith'
assignee = 'none'
closed = True
closed_date = <Date 2009-12-01.20:47:34.311>
closer = 'eric.smith'
components = ['Windows']
creation = <Date 2009-12-01.20:38:19.137>
creator = 'Fallen'
dependencies = []
files = []
hgrepos = []
issue_num = 7421
keywords = []
message_count = 2.0
messages = ['95871', '95872']
nosy_count = 2.0
nosy_names = ['eric.smith', 'Fallen']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue7421'
versions = ['3rd party']

@Fallen
Copy link
Mannequin Author

Fallen mannequin commented Dec 1, 2009

# Area calculation program

print "Show Area"
print "----------------------"
print

# Print out the menu:
print "Please select a shape:"
print "1 Rectangle"
print "2 Circle"

# Get the user&apos;s choice:
shape = input (">  ")

# Calculate the area:
if shape  == 1:
	height  = input ("Please enter the height:  ")
	width  = input ("Please enter the width:  ")
	area = height*width
	print "The area is", area
else:
	radius = input ("Please enter the radius:  ")
	area = 3.14* (radius**2)
	print "The area is", area

@Fallen Fallen mannequin added the OS-windows label Dec 1, 2009
@ericvsmith
Copy link
Member

If you have a question to ask, this is not the proper forum. Please see
python-list http://mail.python.org/mailman/listinfo/python-list

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant