Python 3.7.4 Shell HW3Q3.py C:/Users/kristen/Desktop/HW303.py (3.74 File Edit Shell Debug Options RēcycleL Window Help Python 3. 7.4 (tags/v3.7.4:e09359112e, Jul (Intel) ] on win32 Type "help", "copyright", "credits" or"license () File Edit Format Run Options WindowHelp 19:29:22) [MSC 8 2019 # Evan Marth 20 September Homework 3 Q 3 for more informa SUS <<< RESTART C:/Users/kristen/Desktop/HW303.py Enter the number of K terms to cOmpute: 12 ASUS Tracebapk (mo3t recent cali 1ast) : File C:/User3/kri3ten/Deaktop/HN303.py", line10 in pi (2 (-1) ** k) *3[1/2-k1/ (2 k)+4 TypeErronr:int cbject 13 not caliable k = int (input ('Enter the number of K terms to compute:) ) tor i in range (1, k+1) : pi #int (2 (-1) **k) *3 [1/2-k]/(2 k) +1 <<< RESTART: C:/Users/kristen/Desktop/HW3Q3.py Pythor HomeW Eint (pi) Enter the number of K terms to compute:12 Iraceback (most recent call 1ast): File C:/Users/kri3ten/Desktop/HW303.py", 1ine 10, in cmodule> pi. -1nt (2(-1)1* k) *3 [1/2-k)/(21k) +2 Typebrror 1t object 13 not cal1able Resumes Cover Let UAH Fa 2019 Econom Gual V DIsney W

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter17: Linked Lists
Section: Chapter Questions
Problem 12SA
icon
Related questions
Question
Python 3.7.4 Shell
HW3Q3.py C:/Users/kristen/Desktop/HW303.py (3.74
File Edit Shell Debug Options
RēcycleL
Window Help
Python 3. 7.4 (tags/v3.7.4:e09359112e, Jul
(Intel) ] on win32
Type "help", "copyright", "credits" or"license ()
File Edit Format Run Options WindowHelp
19:29:22) [MSC
8 2019
# Evan Marth
20 September
Homework 3 Q 3
for more informa
SUS
<<<
RESTART C:/Users/kristen/Desktop/HW303.py
Enter the number of K terms to cOmpute: 12
ASUS
Tracebapk (mo3t recent cali 1ast) :
File C:/User3/kri3ten/Deaktop/HN303.py", line10 in <module>
pi (2 (-1) ** k) *3[1/2-k1/ (2 k)+4
TypeErronr:int cbject 13 not caliable
k = int (input ('Enter the number of K terms to compute:) )
tor i in range (1, k+1) :
pi #int (2 (-1) **k) *3 [1/2-k]/(2 k) +1
<<<
RESTART: C:/Users/kristen/Desktop/HW3Q3.py
Pythor
HomeW Eint (pi)
Enter the number of K terms to compute:12
Iraceback (most recent call 1ast):
File C:/Users/kri3ten/Desktop/HW303.py", 1ine 10, in cmodule>
pi. -1nt (2(-1)1* k) *3 [1/2-k)/(21k) +2
Typebrror 1t object 13 not cal1able
Resumes
Cover Let
UAH Fa
2019
Econom
Gual V
DIsney W
Transcribed Image Text:Python 3.7.4 Shell HW3Q3.py C:/Users/kristen/Desktop/HW303.py (3.74 File Edit Shell Debug Options RēcycleL Window Help Python 3. 7.4 (tags/v3.7.4:e09359112e, Jul (Intel) ] on win32 Type "help", "copyright", "credits" or"license () File Edit Format Run Options WindowHelp 19:29:22) [MSC 8 2019 # Evan Marth 20 September Homework 3 Q 3 for more informa SUS <<< RESTART C:/Users/kristen/Desktop/HW303.py Enter the number of K terms to cOmpute: 12 ASUS Tracebapk (mo3t recent cali 1ast) : File C:/User3/kri3ten/Deaktop/HN303.py", line10 in <module> pi (2 (-1) ** k) *3[1/2-k1/ (2 k)+4 TypeErronr:int cbject 13 not caliable k = int (input ('Enter the number of K terms to compute:) ) tor i in range (1, k+1) : pi #int (2 (-1) **k) *3 [1/2-k]/(2 k) +1 <<< RESTART: C:/Users/kristen/Desktop/HW3Q3.py Pythor HomeW Eint (pi) Enter the number of K terms to compute:12 Iraceback (most recent call 1ast): File C:/Users/kri3ten/Desktop/HW303.py", 1ine 10, in cmodule> pi. -1nt (2(-1)1* k) *3 [1/2-k)/(21k) +2 Typebrror 1t object 13 not cal1able Resumes Cover Let UAH Fa 2019 Econom Gual V DIsney W
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning