If you are running your Python code and you see the error “TypeError: ‘int’ object is not iterable”, it means you are trying to loop through an integer or other data type that loops cannot work on. In Python, iterable data are lists, tuples, sets, dictionaries, and so on. In
Category Archives: Uncategorized
FastAPI is a Web framework for developing RESTful APIs in Python. It is a great choice when you want to build an app based on microservices. We just published a course on the freeCodeCamp.org YouTube channel that will teach you how to develop microservices app using FastAPI. In this course,
A string is a collection of characters nested in double quotes. The indexOf method returns the index position of a specified character or substring in a string. In this article, we’ll see the syntax for the different indexOf methods. We’ll also look at some examples to help you understand
When creating a program, you may need to get numerical input from users and perform various mathematical operations on the value. Similarly, there are cases where you might want to perform mathematical operations on string values. In both cases, the values returned are strings so we cannot perform
WebGPU is the next-generation graphics API and future web standard for graphics and compute, aiming to provide modern 3D graphics and computation capabilities with the GPU acceleration. We just published a WebGPU course on the freeCodeCmap.org YouTube channel. Dr. Jack Xu developed this course. Dr. Xu has over 25
Searching for files is relatively easy when you are using a GUI. But in certain environments like GUI-less servers, you need to search for files using the command line. There is a powerful command in Linux that helps you search for files and folders called find. In this article,
In this article I’m going to discuss some use cases of REM (Root EM) in CSS. I will begin with some background knowledge about CSS properties and values, which I think is necessary. Then I’ll discuss the differences between absolute length values and relative ones. REM is a relative
While running a Python program, there might be times when you’d like to delay the execution of the program for some seconds. The Python time module has a built-in function called time.sleep() with which you can delay the execution of a program. With the sleep() function, you can get more
When you’re learning a programming language, you’re likely to come across a data type called a string. A string usually contains a series of characters nested in quotation marks that can be represented as a text. In this article, we will talk about string concatenation in Python. This is
This exam mostly deals with cloud-native concepts. Even if you are new to cloud-native, you should be able to prepare for this exam and earn the CNCF certification. This entire free course is now live on YouTube, and linked below. Before you dive into it, read this guide to help
