Quiz: How to Use sorted() and .sort() in Python

Interactive Quiz ⋅ 7 QuestionsBy Philipp Acsany Share In this quiz, you’ll test your understanding of sorting in Python. By working through this quiz, you’ll revisit how to sort various types of data in different data structures, customize the order, and work with two different ways of sorting in Python. The quiz contains 7 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. […]

Read more

Exploring the structural changes driving protein function with BioEmu-1

From forming muscle fibers to protecting us from disease, proteins play an essential role in almost all biological processes in humans and other life forms alike. There has been extraordinary progress in recent years toward better understanding protein structures using deep learning, enabling the accurate prediction of protein structures from their amino acid sequences. However, predicting a single protein structure from its amino acid  

Read more

How to Manage Python Projects With pyproject.toml

The pyproject.toml file simplifies Python project configuration by unifying package setup, managing dependencies, and streamlining builds. In this tutorial, you’ll learn how it can improve your day-to-day Python setup by exploring its key use cases, like configuring your build system, installing packages locally, handling dependencies, and publishing to PyPI. By the end of this tutorial, you’ll understand that: pyproject.toml is a key component for defining a Python project’s build system, specifying requirements and the build backend. Dependencies and optional dependencies […]

Read more

Introducing Muse: Our first generative AI model designed for gameplay ideation

Today, the journal Nature (opens in new tab) is publishing our latest research, which introduces the first World and Human Action Model (WHAM). The WHAM, which we’ve named “Muse,” is a generative AI model of a video game that can generate game visuals, controller actions, or both. The paper in Nature offers a detailed look at Muse, which was developed by the Microsoft Research Game Intelligence (opens  

Read more

Ideas: Quantum computing redefined with Chetan Nayak

CHETAN NAYAK: Thank you. Thanks for having me. And I’m excited to tell you about this stuff. HUIZINGA: Well, you have a huge list of accomplishments, accolades, and awards—little alliteration there. But I want to start by getting to know a bit more about you and what got you there. So specifically, what’s your “research origin story,” as it were? What big idea inspired you to study the smallest parts of the universe? NAYAK: It’s a great question. I think […]

Read more

Concatenating Strings in Python Efficiently

Python string concatenation is a fundamental operation that combines multiple strings into a single string. In Python, you can concatenate strings using the + operator or append them with +=. For more efficient concatenation, especially when working with lists of strings, the .join() method is recommended. Other techniques include using StringIO for large datasets and the print() function for quick screen output. By the end of this video course, you’ll understand that you can: Concatenate strings in Python using the […]

Read more

Python News Roundup: February 2025

The new year has brought a flurry of activity to the Python community. New bugfix releases of Python 3.12 and 3.13 show that the developers seemingly never sleep. A new type of interpreter is slated for the upcoming Python 3.14 as part of ongoing efforts to improve Python’s performance. Poetry takes a giant leap toward compatibilty with other project management tools with the release of version 2. If you’re interested in challenging yourself with some programming puzzles, check out the […]

Read more

Microsoft Research and Physics Wallah team up to enhance AI-based tutoring

In India, limited resources, geographical constraints, and economic factors present barriers to quality education for some students. A shortage of teachers, particularly in remote or low-income areas, makes it harder for students to receive the guidance they need to prepare for highly competitive professional and academic programs. Microsoft Research is developing new algorithms and techniques that are enabling Physics Wallah (opens in new tab), a growing educational company, to make its AI-based tutoring services more accurate and reliable, to better  

Read more

Quiz: Python Keywords: An Introduction

Interactive Quiz ⋅ 6 QuestionsBy Philipp Acsany Share In this quiz, you’ll test your understanding of Python Keywords. Python keywords are reserved words with specific functions and restrictions in the language. These keywords are always available in Python, which means you don’t need to import them. Understanding how to use them correctly is fundamental for building Python programs. The quiz contains 6 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end […]

Read more

Python Keywords: An Introduction

Watch Now This tutorial has a related video course created by the Real Python team. Watch it together with the written tutorial to deepen your understanding: Exploring Keywords in Python Python keywords are reserved words with specific functions and restrictions in the language. Currently, Python has thirty-five keywords and four soft keywords. These keywords are always available in Python, which means you don’t need to import them. Understanding how to use them correctly is fundamental for building Python programs. By […]

Read more
1 2 3 4 5 916