Results for “info”

7 results

  1. Article Mini projects

    Managing Astronaut Medical Data with Python

    …to create two tables: astronauts : To store personal information medical_records : To keep track of medical check-ups Let's write some Python code to set up our database and main class, and then…

  2. Article Mini projects

    Python Random Module

    …# Get planet details planet_info = planets[destination] return destination, planet_info # Let's try our space lottery! planet, details = select_random_destination() Making It More Interesting What if…

  3. Article Python Fundamentals

    Python print() Function

    …print() function helps you display this basic yet crucial information on your computer's console. Your first message to Mission Control Let's start with the basics. Here's how to send your first…

  4. Article Mini projects

    Converting Temperatures in Python

    …Before we start writing code, we need to determine what information we'll need from the program user: Which temperature they want to convert: Celsius or Fahrenheit to Kelvin. What is the value of this…

  5. Article Python Fundamentals

    Python Functions for Beginners

    …its uses, but most of the time you want to hand it some information and let it work with that. def greet_astronaut(name): print(f"Welcome aboard, {name}.") greet_astronaut("Ada")…

  6. Article Python Fundamentals

    A Practical Guide to Getting Started with Programming

    …begginers ! What are variables really? Variables store information you want to use later. Here's what you need to know: # Numbers speed = 28000 # Whole number temperature = -45.2 # Decimal number #…

  7. Article Mini projects

    Calculate your weight on different planets in Python

    …very useful when you want to associate pieces of related information. They're written with curly braces {} and each key-value pair is separated by a comma. The key and value in each pair are separated…