Stock up with our Shop Small Sale! Shop the sale
Coding with Python by Alexander Cane
  Send as gift   Add to Wish List

Almost ready!

In order to save audiobooks to your Wish List you must be signed in to your account.

      Log in       Create account
Collage of audiobooks

Shop Small Sale

Shop our limited-time sale on bestselling audiobooks. Donโ€™t miss outโ€”purchases support local bookstores.

Shop the sale
Phone showing make the switch message

Limited-time offer

Get two free audiobooks!

Nowโ€™s a great time to shop indie. When you start a new one credit per month membership supporting local bookstores with promo code SWITCH, weโ€™ll give you two bonus audiobook credits at sign-up.

Sign up today

Coding with Python

Advanced Methods and Strategies to Learn Coding with Python

$18.39

Get for $14.99 with membership
Narrator Alexander Cane

This audiobook uses AI narration.

Weโ€™re taking steps to make sure AI narration is transparent.

Learn more
Length 4 hours 46 minutes
Language English
  Send as gift   Add to Wish List

Almost ready!

In order to save audiobooks to your Wish List you must be signed in to your account.

      Log in       Create account

Summary

This book will help you learn advanced level coding in Python. The first thing is to install Python. I have used Python IDLE that also is called Python shell for coding. I have also used Python text editor to write and run full programs. You can open an editor. Open the shell first and then open a new file from the file menu on the top bar. The newly opened file will appear different because it is not a shell but a text editor. Once you write a program in the editor, you can run it by clicking f5. The editor will ask you to save the file. Save it and run accordingly to get the results.ย 

Python programming, just like all other types of coding, is meant to solve the problems that end-users face. To do that, you need to get additional information from the end-user. For example, if someone needs to check whether he is eligible to qualify for playing in the basketball team or whether he is qualified to vote in the election, you can create a program that can give him the right answer he needs.

In this kind of program, we must know the age of the user before we provide an answer, which means that we must build an interface that demands an answer from the user with respect to his or age. The user will enter his or her age in the program with the help of the input() method. Once he or she enters the age, they can know the answer. You can design your program, such as to ask them their names so that you can store their information for future reference.

Collage of audiobooks

Shop Small Sale

Shop our limited-time sale on bestselling audiobooks. Donโ€™t miss outโ€”purchases support local bookstores.

Shop the sale
Phone showing make the switch message

Limited-time offer

Get two free audiobooks!

Nowโ€™s a great time to shop indie. When you start a new one credit per month membership supporting local bookstores with promo code SWITCH, weโ€™ll give you two bonus audiobook credits at sign-up.

Sign up today
Stock up with our Shop Small Sale! Shop the sale