Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 12 CLO 2: Identify what type of comments are included in Line numbers: 1 to 3 and Line number: 6 in the following Python

image text in transcribed
Question 12 CLO 2: Identify what type of comments are included in Line numbers: 1 to 3 and Line number: 6 in the following Python program and will never get executed. 1. This program will print "PASS" or "FAIL" based on the marks given by the user 2. If the user entered marks more than or equal to 60, then display "PASS" 3. Otherwise, display "FAIL 4. marks = input["Enter your Marks:) 5. marks float(marks) 6.imarks-60): # Check the entered marks is greater than or equal to 60 7. print("Hurray. You PASSED the Exami") 8. else: 9. print("Sorry. You FAILED in the exam. Appear againdi") Lines 1 to 3: Block Comments Line 6: Inline comments Lines 1 to 3: Internal Comments Line 6: Block comments Lines 1 to 3: Inline Comments Line 6: External comments Lines 1 to 3: Inline Comments Line 6: Block comments

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_2

Step: 3

blur-text-image_3

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

SQL Server Query Performance Tuning

Authors: Sajal Dam, Grant Fritchey

4th Edition

1430267429, 9781430267423

More Books

Students also viewed these Databases questions

Question

What is the basis for Security Concerns in Cloud Computing?

Answered: 1 week ago

Question

Describe the three main Cloud Computing Environments.

Answered: 1 week ago