1

.docx

School

Southeast Community College Area *

*We aren’t endorsed by this school

Course

CYBER SECU

Subject

Computer Science

Date

Dec 6, 2023

Type

docx

Pages

2

Uploaded by nemo191

Report
Part 1: For some, Python is considered a programming language, while others view it as a scripting language. Post a short paragraph explaining your position on this topic and why you believe it is a programming language or a scripting language. Python is a popular scripting language and a very flexible programming language. The Python interpreter interprets and runs scripts line by line rather than converting them into bytecode or machine language. I believe it is a scripting language because Python is an interpreted language, therefore it doesn't require compilation, allowing for instant code execution. Compared to languages like C++ or Java, it allows for the succinct articulation of concepts and is hence perfect for scripting due to its readability and simplicity. Part 2: Python does require knowledge of syntax basics, such as data types, variables, comments, and more. In this second part of your discussion, please choose one of these syntax types and provide a coding example of this syntax. In addition to the code, please provide an explanation of the structure – how it works, what it is used for, why it is important, etc. In Python, variables are used to store data values. Here an example of variable name = "John" age = 30 name is a variable of string data type storing the value "John". age is a variable of integer data type storing the value 30. Variables are essential because they allow us to store and manipulate data in programs. For example, you can use the name variable throughout your program instead of writing "John" every time you need to refer to the name. Additionally, variables can hold different types of data, providing flexibility in programming.
Referances Coursera. (2021, September 22). What is Python used for? A beginner’s guide. Coursera. https://www.coursera.org/articles/what-is-python-used-for-a- beginners-guide-to-using-python Gaddis, T. (2020). Starting Out with Python (5th ed.). Pearson Education (US). https://ecpi.vitalsource.com/books/9780136719199
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help