Tagged articles
19 articles
Page 1 of 1
Lisa Notes
Lisa Notes
Feb 20, 2026 · Fundamentals

Master Python's input() Function: A Beginner’s Guide

This tutorial explains how Python's input() function works, covering its syntax, behavior, and return type, and provides concrete examples such as prompting for a password and age, illustrating how user input is captured and displayed in Python 3.

BeginnerPythonTutorial
0 likes · 4 min read
Master Python's input() Function: A Beginner’s Guide
Code Mala Tang
Code Mala Tang
Aug 26, 2025 · Fundamentals

7 Common Python input() Mistakes and Smarter Alternatives

This article examines why naïve use of Python's input() often leads to crashes and messy code, then presents seven typical errors with concrete examples and offers robust patterns—such as validation helpers, reusable prompts, secure password entry, and CLI libraries—to write cleaner, safer scripts.

CLIError Handlinginput
0 likes · 8 min read
7 Common Python input() Mistakes and Smarter Alternatives
Java Captain
Java Captain
Apr 29, 2025 · Fundamentals

How to Directly Output Arrays, Traverse Strings, and Read Keyboard Input in Java

This article demonstrates how to print an int array using Arrays.toString, presents two methods for iterating over a string—via toCharArray and charAt—and explains proper usage of Scanner methods to read tokens, lines, and integers from the console, including handling of newline characters.

ArraysJavaString Traversal
0 likes · 3 min read
How to Directly Output Arrays, Traverse Strings, and Read Keyboard Input in Java
Top Architecture Tech Stack
Top Architecture Tech Stack
May 17, 2024 · Fundamentals

Understanding Python's input() Function: Basics, Examples, and Type Conversion

This article introduces Python's input() function, explains its basic syntax and behavior, provides example code for reading strings and converting them to numeric types, and highlights important considerations such as type conversion, input validation, and prompt usage, while also including promotional information for development tools.

Pythoncodinginput
0 likes · 6 min read
Understanding Python's input() Function: Basics, Examples, and Type Conversion
php Courses
php Courses
May 6, 2024 · Backend Development

Using PHP fgetc() to Read Characters from Files and Standard Input

This article explains PHP's fgetc() function for reading single characters from files or standard input, demonstrates opening files with fopen(), shows example code for looping through file contents, and provides a user input example with a switch statement, helping readers master character-level file operations.

Tutorialfgetcfile-handling
0 likes · 4 min read
Using PHP fgetc() to Read Characters from Files and Standard Input
php Courses
php Courses
Jan 10, 2024 · Backend Development

Using PHP fgetc() to Read Characters from Files and Standard Input

This article explains PHP's fgetc() function for reading a single character from an opened file or standard input, demonstrates how to open files with fopen(), shows example code for character-by-character reading using a while loop, and provides a user input handling example with a switch statement.

Backendfgetcfile-handling
0 likes · 4 min read
Using PHP fgetc() to Read Characters from Files and Standard Input
Python Crawling & Data Mining
Python Crawling & Data Mining
Dec 12, 2021 · Fundamentals

Master Python Input & Output: From Basics to Practical Tricks

This tutorial explains why input and output are essential in Python, demonstrates how to use the input function with handling of empty strings, type conversion, whitespace stripping, validation, and how to leverage print for simple and formatted output, including % formatting and custom separators.

Tutorialbasicsformatting
0 likes · 9 min read
Master Python Input & Output: From Basics to Practical Tricks
Laravel Tech Community
Laravel Tech Community
Apr 5, 2021 · Backend Development

PHP readline() Function: Reading a Line from User Input

This article explains the PHP readline() function, its purpose for reading a line of user input, the optional prompt parameter, return value details, and provides a complete example demonstrating reading commands, adding them to history, and displaying history and variable information.

command-linehistoryinput
0 likes · 2 min read
PHP readline() Function: Reading a Line from User Input
AI Code to Success
AI Code to Success
Apr 25, 2020 · Mobile Development

How Android’s GestureDetector Detects Double‑Tap and Other Gestures

This article explains the inner workings of Android’s GestureDetector class, detailing how it creates listeners, processes MotionEvent actions, schedules handler messages, and determines the timing and conditions for callbacks such as onDown, onShowPress, onSingleTapUp, onScroll, onLongPress, onFling, and double‑tap events.

Mobiledouble-tapgesture
0 likes · 13 min read
How Android’s GestureDetector Detects Double‑Tap and Other Gestures