← Back to archive

Stdle #97 · strings · 2026-09-11

What does this Zig snippet output?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

const std = @import("std");
pub fn main() void {
std.debug.print("{}\n", .{std.ascii.isAlphabetic('A')});
std.debug.print("{}\n", .{std.ascii.isAlphabetic('5')});
std.debug.print("{}\n", .{std.ascii.isDigit('5')});
}
Strings
3 lines
4 attempts left

Answer & explanation