Start: Apr, 17, 2017 10:00:00
Python程序设计基础培训第二次作业
End: Apr, 23, 2017 14:00:00
Time elapsed:
Time remaining:

Problem_ID: C
Result: Accepted
Time: 124ms
Memory: 21432kB
Author: 15869667206
In contest: 1086

#!/usr/bin/python
# -*- coding: UTF-8 -*-
while True:
	try:
	 n=int(input())
	 while n!=0:
		high=100.0
		if n>=1 and n<=1000:
			high=high*(0.7**n)
		else:
			print "请重新输入n的值"
		print '%.2f' % high
		break
	 else:
		 break
	except EOFError:
		break