Free Online Courses, Classes and Tutorials

Python Programming - Working with Numbers, Dates and Time

Join 3,183 other students
Python Programming - Working with Numbers, Dates and Time
  • Description
  • Outcome
  • Certification
  • Python Programming - Working with Numbers, Dates and Time will introduce you to mathematical operations, converting variable types and using dates and time in your code.

    The course begins by introducing you to storing numeric variables in your code. You learn about the difference between creating a numeric variable compared to creating a string. You will learn about performing mathematical operations in your code, formatting your numbers and printing them on screen. You will also learn about getting the user to input numbers and converting that input to work with your numeric variables and mathematical operations.

    Next, you will learn about working with dates and time. You will learn about importing libraries into your project so you can use their functions and methods. You will learn about obtaining and displaying today's date. You will learn how to format your dates and the different date formats to display the dates. You will learn about the functions which are included in the Datetime library and converting user input to a date format. You will learn about working with time and how it uses many of the same functions dates would but with specific parameters for time.

    This course will be of great interest to those learners who wish to get started in programming and improve their ability to write programs using the Python programming language.

    Prerequisites: You should have completed the previous course in this series: Introduction to Programming with Python.

  • Having completed this course you will be able to: - Describe the process of storing numeric variables. - Identify the use of mathematics operators and Formatting Numbers. - Describe the process of getting user to input numeric values into your program. - Describe the process of using dates in your program. - Identify the different methods to format dates in your program. - Explain how you use the same function to format time as you did for dates.

  • All Alison courses are free to study. To successfully complete a course you must score 80% or higher in each course assessments. Upon successful completion of a course, you can choose to make your achievement formal by purchasing an official Alison Diploma, Certificate or PDF.

    Having an official Alison document is a great way to celebrate and share your success. It is:

    • Ideal to include with CVs, job applications and portfolios
    • A way to show your ability to learn and achieve high results

Modules List( 3 )

You have received a new notification

Click here to view them all