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 156 views
1 answer 262 views
3 answers 228 views
228 views asked Mar 13, 2023 by avibootz
1 answer 142 views
1 answer 121 views
121 views asked Oct 21, 2022 by avibootz
1 answer 120 views
...