Difference: REPLAndStandardPythonProgramming (12 vs. 13)

Revision 132021-02-18 - TWikiAdminUser

Line: 1 to 1
 
META TOPICPARENT name="Exercises"

Course on Internet of Things

Exercises Session 1:

Line: 12 to 12
 Using REPL:
  • print “Hello World!”

  • read in a text using input() and print it

Changed:
<
<
  • Calculate

    calculations.png

>
>
  • Calculate

    calculations.png

 
  • Calculate sin(30°)
    If you see errors, how do you correct them? Are the results correct?

  • Finally make the "print Hello World!" command a script and execute it.

Exercise 2: A simple calculator

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback