πŸ‘©β€πŸ’» Learn PROGRAMMING πŸ‘¨β€πŸ’»
6.53K subscribers
108 photos
10 videos
30 files
106 links
πŸ–₯Everything About Computer Science and CodingπŸ“²
πŸ“°News, Infographics, Quotes, Memes & Facts
πŸ’ΈYou can join us just for 0β‚Ή/0Β£/0€/0$
Admin: @Augustus_Caesar_Emperor_of_Rome
Download Telegram
If you are accessing Telegram on an Android device, you can use Pydroid 3 for practicing Python coding on that device itself. If you are using an IOS device, you can use Carnets - Jupyter. If you can access Telegram on your PC or Mac you can you any IDE of your choice like PyCharm or Jupyter.
Python Tricks And Tips Magazine: Gain Insider Skills : Advanced Guides & Tips

Author: Mehedi Hzn Press Publications
Pub year: 2021

#python #english
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ‘1
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
So today we start our Python Exercises.😍
This media is not supported in your browser
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
🐍 Lets start with some easy coding examples.🐍
πŸ˜ƒ Now lets do some light coding. All the following questions are very basic so we are going to do more than one these first few days. Though all of you will be able to solve all the questions still I shall be posting the answers tomorrow Indian standard time.
1️⃣ Welcome users to this channel 'Python Exercises'

The provided code stub asks the user for his / her name.
print("Please enter your name - \n")

Write a code to store the name in a variable and then print the following to STDOUT:
Hello [name]. Welcome to Python Exercises.

[ Just to keep it simple we assume that the user enters a
string only as his / her first name and not anything else.
2️⃣ Adding two numbers.

Ask the user to enter two numbers. Add them together and display the answer as 'The total is [answer] '
3️⃣ Mathematical operations I.

Ask the user to enter three numbers. Add together the first two numbers and then multiply this total by the third. Display the answer as 'The answer is [answer] '
4️⃣ Restaurant I.

Assume you are writing a code for a restaurant. Ask for the total price of the bill, then ask how many diners there are. Divide the total bill by the number of diners and show how much each person must pay.
5️⃣ Restaurant II.

Assuming you are writing a code for the restaurant write a code asking the bill amount from the user. Then add 12% tax and display the grand total. Also display 5% of that amount as Tip rounded off to the nearest integer.