You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ziglings/patches/patches/015_for.patch

12 lines
417 B
Diff

--- exercises/015_for.zig 2023-10-03 22:15:22.122241138 +0200
+++ answers/015_for.zig 2023-10-05 20:04:06.909430803 +0200
@@ -15,7 +15,7 @@
std.debug.print("A Dramatic Story: ", .{});
- for (???) |???| {
+ for (story) |scene| {
if (scene == 'h') std.debug.print(":-) ", .{});
if (scene == 's') std.debug.print(":-( ", .{});
if (scene == 'n') std.debug.print(":-| ", .{});