How to print the dollar sign in Dart

1 Answer

0 votes
main() {
    var s = "dart \$ java c \$ python";

    print(s);
}




/*
run:

dart $ java c $ python

*/

 



answered Oct 22, 2022 by avibootz

Related questions

1 answer 256 views
1 answer 350 views
3 answers 399 views
399 views asked Mar 13, 2023 by avibootz
1 answer 232 views
1 answer 209 views
209 views asked Oct 21, 2022 by avibootz
1 answer 213 views
...