-
-
Save chamakits/0ef13ede515319801bbb to your computer and use it in GitHub Desktop.
Shared via Rust Playground
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// open.rs | |
use std::error::Error; | |
use std::fs::File; | |
use std::io::prelude::*; | |
use std::path::Path; | |
use std::char; | |
fn main() { | |
let a = 'a' as u32; | |
let outer = 25; | |
let inner = 25; | |
for i in 0..outer { | |
for j in 0..inner { | |
print!("AAA{}{}BBB", char::from_u32(i+a).unwrap(), char::from_u32(j+a).unwrap()); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment