Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
1.Online Billing System 4-2022.pdf
1. MIET MiET SCHOOL
of Engineering
Engineers are driving the future
Python Programming
Tutorial 1
Learn & Lead
Eng. Ruwan Dissanayake
B.Sc.Eng(Hons) Electrical & Electronic Engineer , AMIESL
Former Engineer Corporate Strategy Sri lanka Telecom PLC
Dip.in. Counselling Psychology, Dip.in. Stress Management
Dip.in Buddhist Counselling Psychology(SIBA),
Dip.in Interior Designing, Design in Electrical Installation(IESL)
Certified Motivation Personality & Leadership Trainer
Certified Energy Healing Therapist & Counselor
077 593 10 68 / 071 241 70 27
PRE -ENGINEERING COURSE 2021
2. MIET MiET SCHOOL
of Engineering
Engineers are driving the future
Tutorial 1-Individual
Simple food ordering system in Python programming
1. Write a program to print "Python is fun". Note that the sentence starts with a capital
letter.
Hint .Use print()function.
2. WriteaPythonprogramtoprintthefollowingstringinaspecificformat(seetheoutput).
Sample String : "Twinkle, twinkle, little star, How I wonder what you are! Up above the
world so high, Like a diamond in the sky. Twinkle, twinkle, little star, How I wonder
whatyouare"
Output :
Twinkle,twinkle,littlestar,
How Iwonderwhatyouare!
Up abovetheworldso high,
Likeadiamondinthesky.
Twinkle,twinkle,littlestar,
WriteaPythonprogramtoconstructthefollowingpattern,
Hint .Use print()function.
03 04 05
* * * * *
* * * * *
* * * * *
* * * * *
* * * * *
* * * * *
* * * *
* * *
* *
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
3. MIET MiET SCHOOL
of Engineering
Engineers are driving the future
06 07 08
* * * * *
* * * *
* * *
* *
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
4. Tutorial 1-Individual
Special notes
Ÿ Send your code & screenshots of the output as a single
pdf file and do not forget to save your document using
your registrationnumber.
Ÿ (your Reg.Nois 96 => )
96. ME_96_YourName
Ÿ Please submit your assignment to
mietschoolofengineering@gmail.com
Simple food ordering system in Python programming
Simple Food Ordering System is based on the
concept of ordering and serving food in a café. Here, a user
can order available food items, serve them and check total
records.
Talking about the Simple Food Ordering System,
the user can easily order available foods. For this, the user
has to enter his/her name, the total number of the item,
itemcodenumber,andquantity.
Each of the items has its size and the user also has
to select the size before ordering any item. After ordering
an item, the system displays the total amount.The selected
food items also need to get served. The user can easily
serve food after an order is made. The user can also check
total records of the cafe which displays the total number of
order taken, and served. 1. Write a python code to display
thegivenmenu
1.Writea python codeto display thegivenmenu
MIET MiET SCHOOL
of Engineering
Engineers are driving the future