Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

plz teach me whats wrong with this code 1 UNIPUN PPA) (ulsaved changes) File Edit View Insert Cell Kernel Widgets Help a + 9 +

plz teach me whats wrong with this code image text in transcribed
1 UNIPUN PPA) (ulsaved changes) File Edit View Insert Cell Kernel Widgets Help a + 9 + N Run IC Code Enter/Exit RISE Slideshow course-input ("how many courses do you take this semester :") if course % 2==0: print (name+" takes even numbers course this semester") else: print (name+" takes odd number courses this semester") monday=input( do you have class on Monday: yes or no) coursel=input("What course do you take on Monday) if (monday == "yes"): print (name+" has" tcoursel+" class on Monday") else: print (name" does not have class on Monday) This is a simple programm what's your name?k how many courses do you take this semester:yes TypeError Traceback (most recent call last) Kipython-input-27-4c253c6dd173> in 3 name=input( what's your name?) 4 course input ("how many courses do you take this semester: 5 if course % 2==0: 6 print (name+" takes even numbers course this semester) 7 else: TypeError: not all arguments converted during string formatting

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions

Question

=+For a different audience? In another tone of voice?

Answered: 1 week ago