Print formatted string

Rust

#![allow(unused)]
fn main() {
let x = 5
println!("Variable x equals to {}", x)
}

Python

x = 5
print(f"Variable x equals to {x}")