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 159 views
1 answer 267 views
3 answers 238 views
238 views asked Mar 13, 2023 by avibootz
1 answer 148 views
1 answer 124 views
124 views asked Oct 21, 2022 by avibootz
1 answer 125 views
...