Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Emergency Question# Questions Points 1. What do YOU understand by variable in python? Create a variable and assign some value to it. 2 2. What

image text in transcribed

image text in transcribed

Emergency

Question# Questions Points 1. What do "YOU" understand by variable in python? Create a variable and assign some value to it. 2 2. What do "YOU" understand by data types in python? Mention 4 different data types we have covered in our class. 5 3. Declare python variables of data types String, number, and bool and assign value to them. 3 4. Display the text Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam et congue nunc. Nullam libero nibh, consectetur accumsan eleifend a, ultrices imperdiet risus. Curabitur ut nisi massa. Quisque ut elit consequat, ultricies mauris at, porta turpis. Proin porttitor erat augue, sit amet gravida justo aliquet et. Praesent euismod nunc id tincidunt elementum. Mauris ac eros magna. Donec eu mauris quis turpis finibus ultrices. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam ornare, nunc id feugiat bibendum, lectus tellus mattis lorem, sit amet vulputate mi tellus ut erat. Nullam eleifend mi quis nisi consectetur, tristique viverra urna sagittis. , on your screen using python'syntax. 2 5. Using python programming syntax define a variable named fruit and assign value apple to it &declare a variable named quantity and assign an integer value 4 to it. Display on your screen "There are 4 apples in the basket" using variables in the print function. 3 6. What do "YOU" understand by an expression in python? Create your own example of expression using variable names and operators sales, *, +, quantity. /. - & profit. 2 7. What do "YOU" understand by a literal in python? Provide an example for integer, boolean, string, and float literal in python. 2 8. Using python programming syntax, output "Netflix" & "Hulu" on the same line using end, and "are Application as Services" on a new line using in 2 9. Define variables employee Id and employee name. Assign values to the defined variables or Get values for defined variables from the user Display and concatenate the employee id and employee name in this way ....Employee ID:564789.........Employee Name: Orochimaru... 5 10. Display the pattern below using python programming syntax: II 4 000000 00000 0000 000 00 30

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

PostgreSQL Up And Running A Practical Guide To The Advanced Open Source Database

Authors: Regina Obe, Leo Hsu

3rd Edition

1491963417, 978-1491963418

More Books

Students also viewed these Databases questions

Question

What is meant by thinning the assets? Cite examples.

Answered: 1 week ago